summaryrefslogtreecommitdiffstats
path: root/extra/vlc-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'extra/vlc-plugin')
-rw-r--r--extra/vlc-plugin/.footprint.i6865
-rw-r--r--extra/vlc-plugin/.footprint.x86_645
-rw-r--r--extra/vlc-plugin/.md5sum.i6861
-rw-r--r--extra/vlc-plugin/.md5sum.x86_641
-rw-r--r--extra/vlc-plugin/Pkgfile63
5 files changed, 75 insertions, 0 deletions
diff --git a/extra/vlc-plugin/.footprint.i686 b/extra/vlc-plugin/.footprint.i686
new file mode 100644
index 000000000..893904b67
--- /dev/null
+++ b/extra/vlc-plugin/.footprint.i686
@@ -0,0 +1,5 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/firefox/
+drwxr-xr-x root/root usr/lib/firefox/plugins/
+-rwxr-xr-x root/root usr/lib/firefox/plugins/libvlcplugin.so
diff --git a/extra/vlc-plugin/.footprint.x86_64 b/extra/vlc-plugin/.footprint.x86_64
new file mode 100644
index 000000000..893904b67
--- /dev/null
+++ b/extra/vlc-plugin/.footprint.x86_64
@@ -0,0 +1,5 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/firefox/
+drwxr-xr-x root/root usr/lib/firefox/plugins/
+-rwxr-xr-x root/root usr/lib/firefox/plugins/libvlcplugin.so
diff --git a/extra/vlc-plugin/.md5sum.i686 b/extra/vlc-plugin/.md5sum.i686
new file mode 100644
index 000000000..ece67c072
--- /dev/null
+++ b/extra/vlc-plugin/.md5sum.i686
@@ -0,0 +1 @@
+fdc23693351ed57af9f4c85ea885b536 vlc-1.1.5.tar.bz2
diff --git a/extra/vlc-plugin/.md5sum.x86_64 b/extra/vlc-plugin/.md5sum.x86_64
new file mode 100644
index 000000000..c5887955e
--- /dev/null
+++ b/extra/vlc-plugin/.md5sum.x86_64
@@ -0,0 +1 @@
+06adb1848e6b87fbe1ced77ec0f91e4c vlc-1.1.9.tar.bz2
diff --git a/extra/vlc-plugin/Pkgfile b/extra/vlc-plugin/Pkgfile
new file mode 100644
index 000000000..5acd74477
--- /dev/null
+++ b/extra/vlc-plugin/Pkgfile
@@ -0,0 +1,63 @@
+# Description: Plugin vlc pour firefox
+# URL: http://www.videolan.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libshout, xulrunner, 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
+
+# Run on: libshout,lua,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.1.9
+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"
+
+ ./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
+ make -C src DESTDIR=$PKG install-libLTLIBRARIES
+ make -C projects/mozilla DESTDIR=$PKG/ install
+
+# make 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
+}
+
+