tslib: add support for static plugins and use them
[qi-bootmenu-system.git] / sources / sections / tslib.sh
blobe056951092e9cb87552bd4c15d4f3275a82a6ecc
1 setupfor tslib
3 [ ! -e ./configure ] && ./autogen.sh
5 [ -z "$STATIC" ] && ENABLE="yes" || ENABLE="static"
7 LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS" ./configure $CROSS_CONFIGURE_FLAGS --prefix=/usr \
8 --enable-static \
9 --enable-pthres=$ENABLE \
10 --enable-variance=$ENABLE \
11 --enable-dejitter=$ENABLE \
12 --enable-linear=$ENABLE \
13 --enable-input=$ENABLE \
14 --disable-h3600 \
15 --disable-corgi \
16 --disable-collie \
17 --disable-mk712 \
18 --disable-arctic2 \
19 --disable-tatung \
20 --disable-ucb1x00 \
21 --disable-linear-h2200 &&
22 make &&
23 make DESTDIR="$STAGING_DIR" install || dienow
25 [ -z "$STATIC" ] && install_shared_library ts
27 pkgconfig_fixup_prefix ts
28 libtool_fixup_libdir ts
30 cleanup tslib