aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-08-30 15:03:48 +0200
committerLeo <thinkabit.ukim@gmail.com>2021-08-30 13:45:40 +0000
commite02701a0a4684d0e454544d47ebd938ab58311e9 (patch)
tree30ae83c887225d07dceeb1063fec331fd80a74d0
parent4c9e1404f6281aebbb37632f82ca4372750a0d25 (diff)
downloadaports-e02701a0a4684d0e454544d47ebd938ab58311e9.tar.gz
aports-e02701a0a4684d0e454544d47ebd938ab58311e9.tar.bz2
aports-e02701a0a4684d0e454544d47ebd938ab58311e9.tar.xz
community/libfreeaptx: move away from git version
This package was shipping 1 newer commit than the last release, but the commit itself did nothing useful for us. So, let's switch back to the release version. Besides the pkgver was using a weird date notation anyways, this prevents confusion. Also ship a single patch which fixes the version provided in the Makefile
-rw-r--r--community/libfreeaptx/0001-Fixed-libfreeaptx-reporting-wrong-version-number.patch24
-rw-r--r--community/libfreeaptx/APKBUILD17
2 files changed, 33 insertions, 8 deletions
diff --git a/community/libfreeaptx/0001-Fixed-libfreeaptx-reporting-wrong-version-number.patch b/community/libfreeaptx/0001-Fixed-libfreeaptx-reporting-wrong-version-number.patch
new file mode 100644
index 0000000000..379d4d320c
--- /dev/null
+++ b/community/libfreeaptx/0001-Fixed-libfreeaptx-reporting-wrong-version-number.patch
@@ -0,0 +1,24 @@
+From c176b7de9c2017d0fc1877659cea3bb6c330aafa Mon Sep 17 00:00:00 2001
+From: Hunter <wardlawhunter@gmail.com>
+Date: Mon, 9 Aug 2021 23:51:49 -0400
+Subject: [PATCH] Fixed libfreeaptx reporting wrong version number
+
+---
+ freeaptx.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/freeaptx.h b/freeaptx.h
+index c022919..23440c8 100644
+--- a/freeaptx.h
++++ b/freeaptx.h
+@@ -22,8 +22,8 @@
+ #define freeaptx_H
+
+ #define freeaptx_MAJOR 0
+-#define freeaptx_MINOR 2
+-#define freeaptx_PATCH 0
++#define freeaptx_MINOR 1
++#define freeaptx_PATCH 1
+
+ #include <stddef.h>
+
diff --git a/community/libfreeaptx/APKBUILD b/community/libfreeaptx/APKBUILD
index a8ff539f16..3ec2fc3a30 100644
--- a/community/libfreeaptx/APKBUILD
+++ b/community/libfreeaptx/APKBUILD
@@ -1,17 +1,17 @@
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=libfreeaptx
-pkgver=0.1.1_git08072021
-_commit=3f8488d0d03095d45d846ca58b828917fa0799f1
+pkgver=0.1.1
pkgrel=0
-pkgdesc="open source aptx codec library"
-options="!check" # No testsuite
+pkgdesc="Free implementation of Audio Processing Technology codec (aptX)"
url="https://github.com/iamthehorker/libfreeaptx"
arch="all"
license="LGPL-2.1-or-later"
subpackages="$pkgname-dev $pkgname-tools"
-source="$pkgname-$_commit.tar.gz::https://github.com/iamthehorker/libfreeaptx/archive/$_commit.tar.gz"
-builddir="$srcdir/$pkgname-$_commit"
+source="https://github.com/iamthehorker/libfreeaptx/archive/$pkgver/libfreeaptx-$pkgver.tar.gz
+ 0001-Fixed-libfreeaptx-reporting-wrong-version-number.patch
+ "
+options="!check" # No testsuite
build() {
make CPPFLAGS="$CPPFLAGS" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
@@ -22,11 +22,12 @@ package() {
}
tools() {
+ pkgdesc="$pkgdesc (commandline utils)"
depends=""
- pkgdesc="open source aptx codec library (commandline utils)"
amove usr/bin
}
sha512sums="
-85ab67b4e03a42745f94d111892d3eecc633c1bf15194552f7a9464d7cc455d7dad077654e0a2a5fbbfa129cdc34fe23aeaea548bbd7aa29fbe22f841d2f5f58 libfreeaptx-3f8488d0d03095d45d846ca58b828917fa0799f1.tar.gz
+53dd7f348120fea0425b365f26668925dd435a8a3a0c5e98476764a452c7d729f2a3556e953c557d0ccaaa65391265c8c3c61fc29377cf60079fa0bed2cc20b1 libfreeaptx-0.1.1.tar.gz
+372a1e9dd837ac4b74ab95e002b44ed1141db55b1bf47285f6a8adda57072700646d6d1dd4ccea52be7bc2c49906a9e517b59087f13c512fb0b03a20206535c6 0001-Fixed-libfreeaptx-reporting-wrong-version-number.patch
"