summaryrefslogtreecommitdiffstats
path: root/extra/vlc/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/vlc/Pkgfile')
-rw-r--r--extra/vlc/Pkgfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/vlc/Pkgfile b/extra/vlc/Pkgfile
new file mode 100644
index 000000000..5263122c9
--- /dev/null
+++ b/extra/vlc/Pkgfile
@@ -0,0 +1,33 @@
+# Description: Lecteur multimedia
+# URL: http://www.videolan.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libmad, ffmpeg, qt, libdvdnav, liba52, libgcrypt, lua
+# Run on:
+
+name=vlc
+version=1.1.9
+release=1
+source=(http://download.videolan.org/pub/videolan/$name/$version/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --enable-nls \
+ --disable-fribidi \
+ --disable-httpd \
+ --enable-dbus \
+ --enable-alsa \
+ --disable-remoteosd \
+ --enable-lua \
+ --enable-realrtsp
+ 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
+}
+
+