diff options
author | Serge K | 2023-02-26 15:15:56 +0700 |
---|---|---|
committer | Serge K | 2023-02-26 15:15:56 +0700 |
commit | 6ce162d7d0b9c42303b43c8e2b580d9262f09004 (patch) | |
tree | 582aa7cf214d65d956350a843117f11146ea3957 | |
parent | 0fb99ea6b7493a4ac85c67f5798baeb8959fbb19 (diff) | |
download | aur-6ce162d7d0b9c42303b43c8e2b580d9262f09004.tar.gz |
feat: xawtv build form tar.bz2
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 20 insertions, 16 deletions
@@ -1,8 +1,8 @@ pkgbase = xawtv pkgdesc = A simple Xaw-based TV program which uses the bttv driver or video4linux pkgver = 3.107 - pkgrel = 2 - url = https://git.linuxtv.org/xawtv3.git + pkgrel = 3 + url = https://linuxtv.org arch = x86_64 license = GPL makedepends = mesa @@ -21,7 +21,7 @@ pkgbase = xawtv depends = libxaw depends = xorg-fonts-misc depends = libxxf86vm - source = git+https://git.linuxtv.org/xawtv3.git#commit=8e3feea862db68d3ca0886f46cd99fab45d2db7c - sha512sums = SKIP + source = xawtv-3.107.tar.bz2::https://linuxtv.org/downloads/xawtv/xawtv-3.107.tar.bz2 + sha512sums = 29935e9265a96223097e6c4ab65d06c45233238992901d63aa3008e6f35cb59d474cebabd4136e47451242ba35df9ef08f9ef762c01ad688833429bc72d61536 pkgname = xawtv @@ -1,36 +1,40 @@ -# Maintainer: Carlos Aznarán <caznaranl@uni.pe> +# Maintainer: Serge K <arch@phnx47.net> + +# Contributor: Carlos Aznarán <caznaranl@uni.pe> # Contributor: Antonio Rojas <arojas@archlinux.org> +# For Issues, Pull Requests +# https://github.com/phnx47/pkgbuilds + pkgname=xawtv pkgver=3.107 -pkgrel=2 +pkgrel=3 pkgdesc="A simple Xaw-based TV program which uses the bttv driver or video4linux" arch=(x86_64) -url="https://git.linuxtv.org/${pkgname}3.git" +url="https://linuxtv.org" license=(GPL) depends=(aalib v4l-utils libxv libxrandr libglvnd libdv zvbi libxinerama lirc libxft libxaw xorg-fonts-misc libxxf86vm) makedepends=(mesa git xorgproto) -_commit=8e3feea862db68d3ca0886f46cd99fab45d2db7c -source=("git+${url}#commit=${_commit}") -sha512sums=('SKIP') +source=("${pkgname}-${pkgver}.tar.bz2::https://linuxtv.org/downloads/xawtv/${pkgname}-${pkgver}.tar.bz2") +sha512sums=('29935e9265a96223097e6c4ab65d06c45233238992901d63aa3008e6f35cb59d474cebabd4136e47451242ba35df9ef08f9ef762c01ad688833429bc72d61536') prepare() { + cd ${pkgname}-${pkgver} # sys_siglist deprecated, see https://man.archlinux.org/man/core/man-pages/sys_siglist.3.en - sed -i 's/sys_siglist\[termsig\]/strsignal(termsig)/' ${pkgname}3/x11/rootv.c - sed -i 's/sys_siglist\[signal\]/strsignal(signal)/' ${pkgname}3/console/record.c - sed -i 's/sys_siglist\[termsig\]/strsignal(termsig)/' ${pkgname}3/console/fbtools.c - cd ${pkgname}3 + sed -i 's/sys_siglist\[termsig\]/strsignal(termsig)/' "x11/rootv.c" + sed -i 's/sys_siglist\[signal\]/strsignal(signal)/' "console/record.c" + sed -i 's/sys_siglist\[termsig\]/strsignal(termsig)/' "console/fbtools.c" NOCONFIGURE=1 ./autogen.sh } build() { - cd ${pkgname}3 + cd ${pkgname}-${pkgver} CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common ./configure --prefix=/usr --disable-motif --disable-quicktime make } package() { - cd ${pkgname}3 + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install } |