summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-22 06:34:58 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-22 06:34:58 +0100
commit09651163eaeaf54e56c4331b61fd42905008d14b (patch)
tree4a89d8a12e9a8936ea7baa23a41575189a2f8314
parent7e0f7e8b3088bc2129afeeb49fe4f695c3bf4188 (diff)
downloadabslibre-09651163eaeaf54e56c4331b61fd42905008d14b.tar.gz
abslibre-09651163eaeaf54e56c4331b61fd42905008d14b.tar.bz2
abslibre-09651163eaeaf54e56c4331b61fd42905008d14b.zip
pcr/libvdpau-sunxi-git: updated to 0.4.r10.ebdf784
-rw-r--r--pcr/libvdpau-sunxi-git/50-cedar.rules1
-rw-r--r--pcr/libvdpau-sunxi-git/50-disp.rules1
-rw-r--r--pcr/libvdpau-sunxi-git/50-g2d.rules1
-rw-r--r--pcr/libvdpau-sunxi-git/50-ion.rules1
-rw-r--r--pcr/libvdpau-sunxi-git/PKGBUILD48
-rwxr-xr-xpcr/libvdpau-sunxi-git/libvdpau.sh5
-rw-r--r--pcr/libvdpau-sunxi-git/sunxi-cedar.conf2
7 files changed, 15 insertions, 44 deletions
diff --git a/pcr/libvdpau-sunxi-git/50-cedar.rules b/pcr/libvdpau-sunxi-git/50-cedar.rules
deleted file mode 100644
index aaf4ac823..000000000
--- a/pcr/libvdpau-sunxi-git/50-cedar.rules
+++ /dev/null
@@ -1 +0,0 @@
-KERNEL=="cedar_dev", MODE="0660", GROUP="video"
diff --git a/pcr/libvdpau-sunxi-git/50-disp.rules b/pcr/libvdpau-sunxi-git/50-disp.rules
deleted file mode 100644
index 5d9d51211..000000000
--- a/pcr/libvdpau-sunxi-git/50-disp.rules
+++ /dev/null
@@ -1 +0,0 @@
-KERNEL=="disp", MODE="0660", GROUP="video"
diff --git a/pcr/libvdpau-sunxi-git/50-g2d.rules b/pcr/libvdpau-sunxi-git/50-g2d.rules
deleted file mode 100644
index c24140b95..000000000
--- a/pcr/libvdpau-sunxi-git/50-g2d.rules
+++ /dev/null
@@ -1 +0,0 @@
-KERNEL=="g2d", MODE="0660", GROUP="video"
diff --git a/pcr/libvdpau-sunxi-git/50-ion.rules b/pcr/libvdpau-sunxi-git/50-ion.rules
deleted file mode 100644
index 4218b1693..000000000
--- a/pcr/libvdpau-sunxi-git/50-ion.rules
+++ /dev/null
@@ -1 +0,0 @@
-KERNEL=="ion", MODE="0660", GROUP="video"
diff --git a/pcr/libvdpau-sunxi-git/PKGBUILD b/pcr/libvdpau-sunxi-git/PKGBUILD
index 899ee4b4c..83ff612fa 100644
--- a/pcr/libvdpau-sunxi-git/PKGBUILD
+++ b/pcr/libvdpau-sunxi-git/PKGBUILD
@@ -1,53 +1,35 @@
-# Maintainer (Arch): Jens Kuske <jenskuske@gmail.com>
-# Contributor (Arch): smotocel69 <smotocel69@gmail.com>
-# Maintainer: André Silva <emulatorman@hyperbola.info>
+# Maintainer (AUR): Jens Kuske <jenskuske@gmail.com>
+# Contributor (AUR): smotocel69 <smotocel69@gmail.com>
+# Contributor: André Silva <emulatorman@hyperbola.info>
+
+# parabola changes and rationale:
+# no changes.
+
pkgname=libvdpau-sunxi-git
-pkgver=r99.427fa6b
-pkgrel=4
+pkgver=0.4.r10.ebdf784
+pkgrel=1
pkgdesc="VDPAU driver for Allwinner sunxi SoCs"
arch=('armv7h')
url="https://github.com/linux-sunxi/libvdpau-sunxi"
license=('LGPL')
depends=('libx11' 'libcedrus-git' 'pixman')
makedepends=('git' 'libvdpau')
-backup=('etc/modules-load.d/sunxi-cedar.conf'
- 'etc/profile.d/libvdpau.sh'
- 'etc/udev/rules.d/50-cedar.rules'
- 'etc/udev/rules.d/50-disp.rules'
- 'etc/udev/rules.d/50-g2d.rules'
- 'etc/udev/rules.d/50-ion.rules')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
-source=("git+https://github.com/linux-sunxi/${pkgname%-git}"
- '50-cedar.rules'
- '50-disp.rules'
- '50-g2d.rules'
- '50-ion.rules'
- 'libvdpau.sh'
- 'sunxi-cedar.conf')
-md5sums=('SKIP'
- 'd606a1d188034616875eb82651a7abcb'
- '728532c6c8b3581c0b3e94ff8cd8a568'
- '17f989c2db2809cae9dd9bcf2b5cd2c1'
- '7b8147257ca77a4bbbcdaedffd6c431b'
- 'ed91a5c6cde4cc9a3ee93d804c71897a'
- '20c5959ffde7e1c2940703399a245b34')
+source=("git+https://github.com/linux-sunxi/${pkgname%-git}")
+md5sums=('SKIP')
pkgver() {
- cd ${pkgname%-git}
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd "$srcdir/${pkgname%-git}"
+ printf "%s" "$(git describe --tags --long | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g')"
}
build() {
- cd ${pkgname%-git}
+ cd "$srcdir/${pkgname%-git}"
make
}
package() {
- cd ${pkgname%-git}
+ cd "$srcdir/${pkgname%-git}"
make DESTDIR="$pkgdir/" install
- install -dm755 $pkgdir/etc/{{modules-load,profile}.d,udev/rules.d}
- install -Dm644 $srcdir/sunxi-cedar.conf $pkgdir/etc/modules-load.d
- install -Dm755 $srcdir/libvdpau.sh $pkgdir/etc/profile.d
- install -Dm644 $srcdir/50-{cedar,disp,g2d,ion}.rules $pkgdir/etc/udev/rules.d
}
diff --git a/pcr/libvdpau-sunxi-git/libvdpau.sh b/pcr/libvdpau-sunxi-git/libvdpau.sh
deleted file mode 100755
index 94dd306fd..000000000
--- a/pcr/libvdpau-sunxi-git/libvdpau.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-VDPAU_DRIVER=sunxi
-export VDPAU_DRIVER
-VDPAU_OSD=1
-export VDPAU_OSD
diff --git a/pcr/libvdpau-sunxi-git/sunxi-cedar.conf b/pcr/libvdpau-sunxi-git/sunxi-cedar.conf
deleted file mode 100644
index 7054cd406..000000000
--- a/pcr/libvdpau-sunxi-git/sunxi-cedar.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-# Load sunxi_cedar_mod.ko at boot
-sunxi_cedar_mod