# default settings
PACKAGE="vlc"
ARCH=${ARCH:=i486}
-VERSION=${VERSION:=0.8.6}
+VERSION=${VERSION:=0.8.6a}
BUILD=${BUILD:=1rd}
SRC_DIR=${SRC:=$CWD}
TMP=${TMP:=/tmp}
patch -p1 < $CWD/$PACKAGE-$VERSION.diff
fi
-# h264 free implementation is unstable and changing a lot...
-./configure --prefix=/usr --enable-theora --libdir=$LIBDIR
+./configure --prefix=/usr --enable-theora --enable-dv --enable-v4l --enable-faad --enable-real --enable-dc1394 --enable-realrtsp --enable-flac --enable-snapshot --enable-aa --enable-jack --libdir=$LIBDIR
make || exit 32
make DESTDIR=$TMP/package-$PACKAGE install
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-# do we really need that??
+# do we really need that?? -- hummm, no.
+# BIGVERSION=`echo $VERSION | cut -d . -f 1,2`
# ( cd usr/bin && rm wx-config )
-# ( cd usr/bin && ln -sf $LIBDIR/wx/config/gtk2-unicode-release-2.6 wx-config )
+# ( cd usr/bin && ln -sf $LIBDIR/wx/config/gtk2-unicode-release-$BIGVERSION wx-config )
mkdir install
cat << EOF > install/slack-desc
wxWidgets:
EOF
+
# docs
mkdir -p usr/doc/$PACKAGE-$VERSION