[arch-commits] Commit in xawtv/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 16 20:51:45 UTC 2020
Date: Saturday, May 16, 2020 @ 20:51:44
Author: felixonmars
Revision: 384834
archrelease: copy trunk to staging-x86_64
Added:
xawtv/repos/staging-x86_64/
xawtv/repos/staging-x86_64/PKGBUILD
(from rev 384833, xawtv/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: xawtv/repos/staging-x86_64/PKGBUILD (from rev 384833, xawtv/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-16 20:51:44 UTC (rev 384834)
@@ -0,0 +1,38 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Sarah Hay <sarahhay at mb.sympatico.ca>
+# Contributor: Jason Chu <jason at archlinux.org>
+
+pkgname=xawtv
+pkgver=3.106
+pkgrel=3
+pkgdesc="A simple Xaw-based TV program which uses the bttv driver or video4linux"
+arch=('x86_64')
+url="https://git.linuxtv.org/xawtv3.git"
+license=('GPL')
+depends=('aalib' 'v4l-utils' 'libxv' 'libxrandr' 'libgl' 'libdv' 'zvbi' 'libxinerama' 'lirc' 'libxft' 'libxaw' 'xorg-fonts-misc' 'libxxf86vm')
+makedepends=('mesa' 'git' 'xorgproto')
+_commit=ba4af2bde7af8de383070598be28b5500694d14c # tags/xawtv-3.106^0
+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}/xawtv3"
+ CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+ ./configure --prefix=/usr --disable-motif --disable-quicktime
+ make
+}
+
+package() {
+ cd "${srcdir}/xawtv3"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list