summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsekret2016-08-25 20:25:01 +0200
committersekret2016-08-25 20:25:01 +0200
commitf2db33e5028836d0c710e7a971c1dc1882b5c365 (patch)
treee14dc25ef83741aad465cc0cfd726f39f75040db
downloadaur-f2db33e5028836d0c710e7a971c1dc1882b5c365.tar.gz
initial release
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD39
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3413771cfd0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Thu Aug 25 18:25:00 UTC 2016
+pkgbase = openh264-git
+ pkgdesc = Open Source H.264 Codec
+ pkgver = 1.1.r2131.g30328b8
+ pkgrel = 1
+ url = http://www.openh264.org
+ arch = i686
+ arch = x86_64
+ arch = armv6h
+ arch = armv7h
+ license = BSD
+ makedepends = git
+ makedepends = nasm
+ provides = openh264
+ conflicts = openh264
+ source = openh264::git+https://github.com/cisco/openh264.git
+ md5sums = SKIP
+
+pkgname = openh264-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9643568ca8a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: sekret, mail=$(echo c2VrcmV0QHBvc3Rlby5zZQo= | base64 -d)
+_pkgname=openh264
+pkgname=$_pkgname-git
+pkgver=1.1.r2131.g30328b8
+pkgrel=1
+pkgdesc="Open Source H.264 Codec"
+arch=('i686' 'x86_64' 'armv6h' 'armv7h')
+url="http://www.openh264.org"
+license=('BSD')
+makedepends=('git' 'nasm')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+source=("$_pkgname::git+https://github.com/cisco/openh264.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+ git describe --long | sed -r 's/v//;s/([^-]*-g)/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd "$_pkgname"
+ sed -i 's/PREFIX=\/usr\/local/PREFIX=\/usr/g' Makefile
+}
+
+build() {
+ cd "$_pkgname"
+ make
+}
+
+package() {
+ cd "$_pkgname"
+ make DESTDIR="$pkgdir/" install
+ install -Dm755 h264dec "$pkgdir/usr/bin/h264dec"
+ install -Dm755 h264enc "$pkgdir/usr/bin/h264enc"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: