[arch-commits] Commit in xf86-video-openchrome/trunk (PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Wed Mar 1 20:20:46 UTC 2017
Date: Wednesday, March 1, 2017 @ 20:20:45
Author: andyrtr
Revision: 289762
upgpkg: xf86-video-openchrome 0.5.0+279+g8c819ed-1
update to latest git commit = 0.6.0RC1 per request by upstream dev
Modified:
xf86-video-openchrome/trunk/PKGBUILD
----------+
PKGBUILD | 36 +++++++++++++++++++++++++++++-------
1 file changed, 29 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-01 19:40:51 UTC (rev 289761)
+++ PKGBUILD 2017-03-01 20:20:45 UTC (rev 289762)
@@ -4,8 +4,9 @@
# Contributor: Juergen Hoetzel <juergen at hoetzel.info>
pkgname=xf86-video-openchrome
-pkgver=0.5.0
-pkgrel=2
+_commit=8c819ed # 7 digits # = 0.6.0 RC1
+pkgver=0.5.0+279+g8c819ed
+pkgrel=1
pkgdesc="X.Org Openchrome drivers"
arch=(i686 x86_64)
license=('custom')
@@ -12,23 +13,44 @@
url="http://www.freedesktop.org/wiki/Openchrome/"
depends=('libdrm' 'libxvmc' 'libsystemd')
optdepends=('unichrome-dri')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=23' 'systemd')
+makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=23' 'systemd'
+ 'git')
conflicts=('xorg-server<1.19' 'X-ABI-VIDEODRV_VERSION<23' 'X-ABI-VIDEODRV_VERSION>=24'
'xf86-video-via' 'xf86-video-unichrome' 'openchrome')
replaces=('openchrome' 'xf86-video-via')
groups=('xorg-drivers')
#options=('!emptydirs' '!makeflags')
-source=(https://xorg.freedesktop.org/archive/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('49fdd613975a332a0a64720b382420354aecaf2fcbb4920efd094d5a0ac955bb')
+#source=(https://xorg.freedesktop.org/archive/individual/driver/${pkgname}-${pkgver}.tar.bz2)
+source=("git://anongit.freedesktop.org/openchrome/xf86-video-openchrome#commit=${_commit}")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+# git describe --long | sed 's/-/+/g'
+# git describe --long | sed "s/openchrome-//;s/-/./g"
+# git describe --long | sed "s/openchrome-//;s/0.5/0.5.200/;s/-/+/g"
+ git describe --long | sed "s/openchrome-//;s/0.5/0.5.0/;s/-/+/g"
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd ${pkgname}-${pkgver}
+ cd ${pkgname} #-${pkgver}
./configure --prefix=/usr
make
}
+check() {
+ cd $pkgname
+ make check
+}
+
+
package() {
- cd ${pkgname}-${pkgver}
+ cd ${pkgname} #-${pkgver}
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
More information about the arch-commits
mailing list