From 84ca2bfd4ebf49aa5dcd2337f305718e62c8f85a Mon Sep 17 00:00:00 2001 From: Thierry N Date: Fri, 4 Sep 2009 10:53:08 +0200 Subject: Ajout de vlc-plugin#1.0.1-1 --- extra/vlc-plugin/Pkgfile | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 extra/vlc-plugin/Pkgfile (limited to 'extra/vlc-plugin/Pkgfile') diff --git a/extra/vlc-plugin/Pkgfile b/extra/vlc-plugin/Pkgfile new file mode 100644 index 000000000..a818620b6 --- /dev/null +++ b/extra/vlc-plugin/Pkgfile @@ -0,0 +1,57 @@ +# Description: Lecteur multimedia +# URL: http://www.videolan.org/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: 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, zlib, aalib, libcaca, libmpeg2, libopendaap, libmp4v2, live, libdca, sdl_image, qt, libnotify + +name=vlc-plugin +version=1.0.1 +release=1 +source=(http://download.videolan.org/pub/videolan/vlc/$version/vlc-$version.tar.bz2 ) + +build() { + cd vlc-$version + 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 + + mkdir -p $PKG/usr/lib/firefox/plugins/ + install -m755 projects/mozilla/.libs/libvlcplugin.so $PKG/usr/lib/firefox/plugins/ +} + -- cgit v1.2.3-70-g09d2