summaryrefslogtreecommitdiffstats
path: root/vlc
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-04-06 21:56:19 +0000
committer Eric Hameleers <alien@slackware.com>2007-04-06 21:56:19 +0000
commitfe41a1101ac0ba551a90596dc9366122e2ecb012 (patch)
tree3f272a6f522d32b506676b832508b0483d34df18 /vlc
parentd9d25510d56338aafac15ce020288cb088de4477 (diff)
downloadasb-fe41a1101ac0ba551a90596dc9366122e2ecb012.tar.gz
asb-fe41a1101ac0ba551a90596dc9366122e2ecb012.tar.xz
Add goom visualisation plugin
Diffstat (limited to 'vlc')
-rwxr-xr-xvlc/build/vlc-1.0.SlackBuild36
1 files changed, 34 insertions, 2 deletions
diff --git a/vlc/build/vlc-1.0.SlackBuild b/vlc/build/vlc-1.0.SlackBuild
index 6c5fc9c2..3709b293 100755
--- a/vlc/build/vlc-1.0.SlackBuild
+++ b/vlc/build/vlc-1.0.SlackBuild
@@ -80,6 +80,7 @@ EBML=0.7.7
FAAC=1.25
FAAD2=2.5
FFMPEG=snapshot
+GOOM=2k4-0
LAME=3.97
LIVE=2007.02.20
MATROSKA=0.8.1
@@ -217,6 +218,10 @@ SRCURL[25]="http://downloads.us.xiph.org/releases/libshout/libshout-${SHOUT}.tar
SOURCE[26]="$SRCDIR/speex-${SPEEX}.tar.gz"
SRCURL[26]="http://downloads.us.xiph.org/releases/speex/speex-${SPEEX}.tar.gz"
+# Goom, a visualisation library for audio player
+SOURCE[27]="$SRCDIR/goom-${GOOM}-src.tar.gz"
+SRCURL[27]="http://dl.sourceforge.net/goom/goom-${GOOM}-src.tar.gz"
+
##
## --- with a little luck, you won't have to edit below this point --- ##
@@ -941,6 +946,31 @@ cd -
}
# -----------------------------------------------------------------------------
+# Compile goom
+# -----------------------------------------------------------------------------
+make_goom()
+{
+echo -e "**\n** goom ...\n**"
+cd $TMP/tmp-$PRGNAM/goom${GOOM}
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+LDFLAGS="$SLKLDFLAGS" \
+./configure --prefix=/usr \
+ --enable-static \
+ --disable-shared \
+ --program-prefix="" \
+ --program-suffix="" \
+ --build=$ARCH-slackware-linux \
+ 2>&1 | tee $OUTPUT/configure-${PRGNAM}_goom.log
+make 2>&1 | tee $OUTPUT/make-${PRGNAM}_goom.log
+# Install goom into a temp location so vlc can pickup the library
+echo -e "\n**\n**\n"
+make install DESTDIR=$TMP/tmp-$PRGNAM/vlcdeps \
+ 2>&1 | tee -a $OUTPUT/make-${PRGNAM}_goom.log
+cd -
+}
+
+# -----------------------------------------------------------------------------
# VLC
# -----------------------------------------------------------------------------
make_vlc()
@@ -973,6 +1003,7 @@ PKG_CONFIG_PATH="`pwd`/../vlcdeps/usr/lib/pkgconfig" \
--disable-hal \
--disable-qt \
--disable-kde \
+ --disable-gnomevfs \
--enable-dvdread \
--with-dvdread-tree=$TMP/tmp-$PRGNAM/libdvdread-$DVDREAD \
--enable-dvdnav \
@@ -993,13 +1024,14 @@ PKG_CONFIG_PATH="`pwd`/../vlcdeps/usr/lib/pkgconfig" \
--enable-caca \
--enable-aa \
--enable-galaktos \
+ --enable-goom \
+ --with-goom-tree==$TMP/tmp-$PRGNAM/goom$GOOM \
--enable-esd \
--enable-arts \
--enable-mad \
--enable-flac \
--enable-taglib \
--enable-freetype \
- --enable-skins \
--enable-skins2 \
--enable-mkv \
--enable-mpeg2 \
@@ -1044,7 +1076,6 @@ cd -
# --enable-cyberlink \
# --enable-pda \
# --enable-xosd \
-# --enable-goom \
}
# -----------------------------------------------------------------------------
@@ -1180,6 +1211,7 @@ make_mpcdec
make_twolame
make_daap
make_dirac
+make_goom
# Speex before shout and vlc:
make_speex