aboutsummaryrefslogtreecommitdiffstats
path: root/community/a52dec/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/a52dec/APKBUILD')
-rw-r--r--community/a52dec/APKBUILD32
1 files changed, 9 insertions, 23 deletions
diff --git a/community/a52dec/APKBUILD b/community/a52dec/APKBUILD
index 78fb877a7fb..9cb4d066b80 100644
--- a/community/a52dec/APKBUILD
+++ b/community/a52dec/APKBUILD
@@ -1,29 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=a52dec
-pkgver=0.7.4
-pkgrel=7
+pkgver=0.8.0
+pkgrel=10
pkgdesc="A free library for decoding ATSC A/52 streams."
-url="http://liba52.sourceforge.net/"
+url="https://liba52.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
-subpackages="$pkgname-dev $pkgname-doc"
-makedepends="autoconf automake libtool linux-headers"
-source="http://liba52.sourceforge.net/files/$pkgname-$pkgver.tar.gz
- automake.patch
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
+makedepends="linux-headers"
+source="https://distfiles.adelielinux.org/source/a52dec/a52dec-$pkgver.tar.gz
fix-globals-test-x86-pie.patch
- $pkgname-$pkgver-build.patch
"
-builddir="$srcdir/$pkgname-$pkgver"
-prepare() {
- default_prepare
- update_config_sub
- libtoolize --force && \
- aclocal && autoconf && automake --add-missing
-}
-
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -33,17 +22,14 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
- install -m644 liba52/a52_internal.h "$pkgdir"/usr/include/a52dec/
}
-sha512sums="4b26fe9492f218b775fb190b76ecf06edaeb656adfe6dcbd24d0a0f86871c3ba917edb88a398eb12dccedaa1605b6f0a0be06b09f9fddd9a46e457b7dd244848 a52dec-0.7.4.tar.gz
-4a832b7e13e19ba00b1fcf5ddbdcca416ee71818f2fd77f19114d7f98fb41dbd04f906eb78f403dc27324d7e8bd8ec4e0b670139a27b49a7acdb2e3cf88d8d12 automake.patch
+sha512sums="
+dbabc293ac5554b13ebbe43ca56278cb81478c5cc98b04c6805f5fc517a1484b0b7d23f5d6a64580d781f2976ff79e0646d9a1ebd48ab14005aa8d4128ecfeeb a52dec-0.8.0.tar.gz
b8dbcdc817531bc737ee689a1a8fc76ba40462397ca95286fe834795a09df04cd68010ca6105c8e56392328bec00c838372ab28324c5428421d44824109ea6ec fix-globals-test-x86-pie.patch
-eee40a2871c00fc704fa49d3192a41ceadc4cf7e80d7d7cf368aa2a3e7ebb786f39ef835bdffca5685bf054316a9bacf87556b9a0c90868dbf29e7269873806e a52dec-0.7.4-build.patch"
+"