mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-05 09:27:19 +02:00
60 lines
1.4 KiB
Text
60 lines
1.4 KiB
Text
# Contributor: Gil Pedersen <gpdev@gpost.dk>
|
|
# Maintainer: Gil Pedersen <gpdev@gpost.dk>
|
|
pkgname=zvbi
|
|
pkgver=0.2.44
|
|
pkgrel=0
|
|
pkgdesc="VBI capture and decoding tools"
|
|
url="https://github.com/zapping-vbi/zvbi"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="automake autoconf libtool gettext-dev linux-headers libpng-dev"
|
|
checkdepends="tzdata"
|
|
subpackages="lib$pkgname-static lib$pkgname-dev $pkgname-doc lib$pkgname:libs"
|
|
source="
|
|
https://github.com/zapping-vbi/zvbi/archive/v$pkgver/zvbi-$pkgver.tar.gz
|
|
fix-strptime-input.patch
|
|
"
|
|
|
|
# secfixes:
|
|
# 0.2.44-r0:
|
|
# - CVE-2025-2173
|
|
# - CVE-2025-2174
|
|
# - CVE-2025-2175
|
|
# - CVE-2025-2176
|
|
# - CVE-2025-2177
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
CPPFLAGS="$CPPFLAGS -D__va_copy=va_copy" \
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--disable-nls \
|
|
--disable-rpath \
|
|
--disable-dependency-tracking
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING.md
|
|
}
|
|
|
|
sha512sums="
|
|
74b7d44faf42f919ebd3ccb69f8567f56909075d3acf4a3b4dfcbdf85489492f27d8a04173e0010f59706356e4078cd10911945f87e2596de2b897672d1e55cb zvbi-0.2.44.tar.gz
|
|
c7d4a79775c7ac7d402bb8b1ccdf04a10e818031d193791856542dc4ee110493f94c63c01792c87ce8119c9485db4581dac697366b48b63960a99c09117dee4c fix-strptime-input.patch
|
|
"
|