diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-02-06 21:01:21 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-02-06 21:01:21 +0100 |
commit | 8421c49a7c575709accad58df3dd735cbb6361ba (patch) | |
tree | eef5f9e350f603d26f20d57d575ef7bcf04d01ac /extra/vlc-plugin/Pkgfile | |
parent | 9179397f5447873a672bd20ba079ca03fec23681 (diff) | |
download | nutyx-pakxe-8421c49a7c575709accad58df3dd735cbb6361ba.tar.gz nutyx-pakxe-8421c49a7c575709accad58df3dd735cbb6361ba.tar.bz2 nutyx-pakxe-8421c49a7c575709accad58df3dd735cbb6361ba.tar.xz nutyx-pakxe-8421c49a7c575709accad58df3dd735cbb6361ba.zip |
Maj de vlc-plugin#1.0.5-1
Diffstat (limited to 'extra/vlc-plugin/Pkgfile')
-rw-r--r-- | extra/vlc-plugin/Pkgfile | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/extra/vlc-plugin/Pkgfile b/extra/vlc-plugin/Pkgfile new file mode 100644 index 000000000..c6b4ffaad --- /dev/null +++ b/extra/vlc-plugin/Pkgfile @@ -0,0 +1,58 @@ +# Description: Plugin vlc pour firefox +# URL: http://www.videolan.org/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: xulrunner, ffmpeg, flac, freetype, fribidi, goom, lame, libcdio, libdvbpsi, libdvdcss, libdvdread, libdvdnav, libebml, libiconv, libid3tag, libmad, libmatroska, libogg, libpng, speex, libtheora, libvorbis, libxml2, libmpeg2, openslp, portaudio, lame, vcdimager, x264, aalib, libcaca, libmpeg2, libopendaap, libmp4v2, live, libdca, sdl_image, qt, libnotify, libmpcdec + +name=vlc-plugin +version=1.0.5 +release=1 +source=(http://download.videolan.org/pub/videolan/vlc/$version/vlc-$version.tar.bz2 \ + vlc-1.0.4-new-xulrunner.patch) +build() { + cd vlc-$version + patch -Np1 -i ../vlc-1.0.4-new-xulrunner.patch + sed -i -e 's:/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf:/usr/share/fonts/TTF/DejaVuSerif-Bold.ttf:' modules/misc/freetype.c + [ "${CARCH}" = "i686" ] && EXTRAFEATURES="--enable-loader --enable-live555 --with-live555-tree=/usr/lib/live-media" + [ "${CARCH}" = "x86_64" ] && EXTRAFEATURES="--enable-fast-install --enable-live555 --with-live555-tree=/usr/lib/live-media" + +#export LDFLAGS_ffmpeg="-lfaad -la52 -lxvidcore -lmp3lame -lx264" + + ./configure --prefix=/usr \ + --enable-libass \ + --enable-dvdread \ + --enable-dvdnav \ + --disable-rpath \ + --disable-zvbi \ + --enable-qt4 \ + --enable-faad \ + --enable-alsa \ + --enable-skins2 \ + --enable-dvb \ + --enable-v4l \ + --enable-theora \ + --enable-flac \ + --enable-snapshot \ + --enable-hal \ + --enable-dbus \ + --enable-ogg \ + --enable-dbus-control \ + --enable-shared \ + --enable-nls \ + --enable-lirc \ + --enable-shout \ + --enable-pvr \ + --enable-release \ + --enable-mozilla \ + --enable-vlc \ + --program-suffix= \ + --enable-realrtsp ${EXTRAFEATURES} + CFLAGS="-fPIC" + + make -j3 + make -j3 DESTDIR=$PKG install + rm -r $PKG/usr + mkdir -p $PKG/usr/lib/firefox/plugins/ + install -m755 projects/mozilla/.libs/libvlcplugin.so $PKG/usr/lib/firefox/plugins/libvlcplugin.so +} + |