summaryrefslogtreecommitdiffstats
path: root/vlc/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /vlc/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'vlc/Pkgfile')
-rw-r--r--vlc/Pkgfile67
1 files changed, 67 insertions, 0 deletions
diff --git a/vlc/Pkgfile b/vlc/Pkgfile
new file mode 100644
index 000000000..1bbaccd71
--- /dev/null
+++ b/vlc/Pkgfile
@@ -0,0 +1,67 @@
+# Description: Lecteur multimédia VLC
+# URL: http://www.videolan.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libshout, lua, ffmpeg, flac, freetype, fribidi, lame, libcdio, libdvbpsi, libdvdcss, libdvdread, libdvdnav, libebml, libiconv, libid3tag, libmad, libmatroska, libogg, libpng, speex, libtheora, libvorbis, libxml2, libmpeg2, openslp, portaudio, vcdimager, x264, aalib, libcaca, libmpeg2, libopendaap, libmp4v2, live, libdca, qt, libnotify, libmpcdec, librsvg, libraw1394, libavc1394, samba3, taglib, gnutls, pulseaudio, gnome-vfs, vdpau-video, sdl_image
+# Run on: libshout,lua,ffmpeg,flac,freetype,fribidi,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,librsvg,libraw1394,libavc1394,samba3,taglib,gnutls,pulseaudio,gnome-vfs,vdpau-video,sdl_image
+
+name=vlc
+version=1.1.13
+release=1
+source=(http://download.videolan.org/pub/videolan/vlc/$version/vlc-$version.tar.bz2)
+
+build() {
+ cd vlc-$version
+
+ sed -i -e 's|truetype/freefont/FreeSerifBold.ttf|TTF/DejaVuSerif-Bold.ttf|' modules/misc/freetype.c
+
+ if [ "${CARCH}" = "i686" ]; then EXTRAFEATURES="--enable-loader"; fi
+ if [ "${CARCH}" = "x86_64" ]; then EXTRAFEATURES="--enable-fast-install"; fi
+
+ ./configure --prefix=/usr \
+ --disable-rpath \
+ --disable-zvbi \
+ --disable-mozilla \
+ --enable-gnomevfs \
+ --enable-libass \
+ --enable-dvdread \
+ --enable-dvdnav \
+ --enable-qt4 \
+ --enable-faad \
+ --enable-alsa \
+ --enable-skins2 \
+ --enable-dvb \
+ --enable-v4l \
+ --enable-theora \
+ --enable-flac \
+ --enable-snapshot \
+ --enable-dbus \
+ --enable-ogg \
+ --enable-dbus-control \
+ --enable-shared \
+ --enable-nls \
+ --enable-lirc \
+ --enable-shout \
+ --enable-pvr \
+ --enable-vlc \
+ --enable-x264 \
+ --enable-libva \
+ --enable-gnutls \
+ --enable-pulse \
+ --enable-bonjour \
+ --enable-realrtsp \
+ --enable-live555 \
+ --with-live555-tree=/usr/lib/live \
+ --with-kde-solid=/usr/share/kde4/apps/solid/actions/ \
+ --program-suffix= \
+ ${EXTRAFEATURES}
+
+ export CFLAGS="${CFLAGS} -fPIC"
+
+ make
+ make DESTDIR=$PKG install
+
+ for res in 16 32 48 128; do
+ install -D -m644 $SRC/vlc-$version/share/icons/${res}x${res}/vlc.png $PKG/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png
+ done
+}