summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/x264/.footprint11
-rw-r--r--extra/x264/.md5sum1
-rw-r--r--extra/x264/Pkgfile28
3 files changed, 40 insertions, 0 deletions
diff --git a/extra/x264/.footprint b/extra/x264/.footprint
new file mode 100644
index 000000000..6a7e1d373
--- /dev/null
+++ b/extra/x264/.footprint
@@ -0,0 +1,11 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/x264
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/x264.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libx264.a
+lrwxrwxrwx root/root usr/lib/libx264.so -> libx264.so.65
+-rw-r--r-- root/root usr/lib/libx264.so.65
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/x264.pc
diff --git a/extra/x264/.md5sum b/extra/x264/.md5sum
new file mode 100644
index 000000000..81dbc1d74
--- /dev/null
+++ b/extra/x264/.md5sum
@@ -0,0 +1 @@
+8c3cefe9f65303ec9661db1ea3e02145 x264-20081219-5f8a149.tar.bz2
diff --git a/extra/x264/Pkgfile b/extra/x264/Pkgfile
new file mode 100644
index 000000000..9909dc2a2
--- /dev/null
+++ b/extra/x264/Pkgfile
@@ -0,0 +1,28 @@
+# Description: Librairie libre pour encoder des flux vidéos en H264/AVC
+# URL: http://www.videolan.org/developers/x264.html
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: yasm
+
+name=x264
+version=20081219
+release=1
+source=(http://www.dcaf-security.org/distfiles/x264-$version-5f8a149.tar.bz2)
+
+build() {
+ cd x264
+
+ sed -i \
+ -e 's/-O4/-O3/' \
+ -e 's|-I/usr/X11R6/include|-I/usr/X11/include|' configure
+
+ ./configure \
+ --prefix=/usr \
+ --enable-pic \
+ --enable-pthread \
+ --enable-shared
+
+ make
+ make DESTDIR=$PKG install
+ chmod a-x $PKG/usr/lib/*.so
+}