libass.mk (933B)
1 TARG = libass 2 DEPS = fontconfig expat freetype libpng zlib libfribidi 3 4 <$mkbuild/mk.common-noinst 5 6 libass:QV: 7 export CFLAGS="$CFLAGS $DEPS_CFLAGS" 8 export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" 9 export LIBPNG_CFLAGS="${libpng_CFLAGS}" 10 export LIBPNG_LIBS="${libpng_LDFLAGS}" 11 export FREETYPE_CFLAGS="${freetype_CFLAGS}" 12 export FREETYPE_LIBS="${freetype_LDFLAGS}" 13 export FRIBIDI_CFLAGS="${libfribidi_CFLAGS}" 14 export FRIBIDI_LIBS="${libfribidi_LDFLAGS}" 15 # 16 CC="$CC" ./configure \ 17 --build="${TOOLCHAIN_TRIPLET}" \ 18 --host="${HOST_TOOLCHAIN_TRIPLET}" \ 19 --prefix="$PREFIX" \ 20 --mandir="$ROOT/share/man" \ 21 --disable-shared \ 22 --disable-enca \ 23 --disable-test \ 24 --disable-harfbuzz \ 25 --enable-static 26 make -j$nprocs 27 # install lib for use as a dependency. 28 make -j$nprocs install DESTDIR="`pwd`/lib" 29 # remove .la files for now ? 30 find `pwd`/lib -iname "*.la" -exec rm {} \; 31 32 install:QV: 33 make -j$nprocs install DESTDIR="$ROOT"