[arch-commits] Commit in xawtv/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sat Feb 18 13:00:59 UTC 2017
Date: Saturday, February 18, 2017 @ 13:00:58
Author: jgc
Revision: 289185
upgpkg: xawtv 3.104+3+gc438af7-1
Modified:
xawtv/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++++++++--------
1 file changed, 19 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-18 12:55:13 UTC (rev 289184)
+++ PKGBUILD 2017-02-18 13:00:58 UTC (rev 289185)
@@ -4,24 +4,35 @@
# Contributor: Jason Chu <jason at archlinux.org>
pkgname=xawtv
-pkgver=3.103
-pkgrel=2
+pkgver=3.104+3+gc438af7
+pkgrel=1
pkgdesc="A simple Xaw-based TV program which uses the bttv driver or video4linux"
arch=('i686' 'x86_64')
-url="http://git.linuxtv.org/xawtv3.git"
+url="https://git.linuxtv.org/xawtv3.git"
license=('GPL')
depends=('aalib' 'v4l-utils' 'libxv' 'libxxf86dga' 'libxrandr' 'libgl' 'libdv' 'zvbi' 'libxinerama' 'lirc' 'libxft' 'libxaw' 'xorg-fonts-misc' 'libxxf86vm')
-makedepends=('mesa')
-source=(http://linuxtv.org/downloads/xawtv/xawtv-${pkgver}.tar.bz2)
-md5sums=('18822bb3660540fa9ea8b643a5b30d6b')
+makedepends=('mesa' git)
+_commit=c438af7955049fe4e77385985715605e48a4fadb # master
+source=("git+https://git.linuxtv.org/cgit.cgi/xawtv3.git#commit=$_commit")
+md5sums=('SKIP')
+pkgver() {
+ cd xawtv3
+ git describe --tags | sed 's/^xawtv-//;s/-/+/g'
+}
+
+prepare() {
+ cd xawtv3
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/xawtv3"
./configure --prefix=/usr --disable-motif --disable-quicktime
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/xawtv3"
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list