aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-09-29 06:09:59 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-09-29 06:10:11 -0300
commit2f7ed3513b687316e9ef458e7f1fc29cb8432268 (patch)
tree4aadd4284f0ed4833f273c93f6539c87119083ef
parentd827cb3f6c77a91a5025db575a7885039662a789 (diff)
downloadaports-2f7ed3513b687316e9ef458e7f1fc29cb8432268.tar.gz
aports-2f7ed3513b687316e9ef458e7f1fc29cb8432268.tar.bz2
aports-2f7ed3513b687316e9ef458e7f1fc29cb8432268.tar.xz
testing/libgpod: rebuild against libplist-2.0
-rw-r--r--testing/libgpod/APKBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/testing/libgpod/APKBUILD b/testing/libgpod/APKBUILD
index f780098849..66be5c4ed1 100644
--- a/testing/libgpod/APKBUILD
+++ b/testing/libgpod/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libgpod
pkgver=0.8.3
-pkgrel=3
+pkgrel=4
pkgdesc="A shared library to access the contents of an iPod"
url="http://www.gtkpod.org/libgpod"
arch="all"
@@ -15,12 +15,15 @@ source="https://downloads.sourceforge.net/project/gtkpod/libgpod/libgpod-0.8/lib
0001-323-Segmentation-fault-when-opening-ipod.patch
0002-Fix-spelling-errors-in-comments-and-strings-using-co.patch
0003-Fixed-PList-deprecation.patch
- libgpod-0.8.2-pkgconfig_overlinking.patch"
+ libgpod-0.8.2-pkgconfig_overlinking.patch
+ "
replaces="py-libgpod" # Removed in 0.8.3-r2
-check() {
- make check
+prepare() {
+ default_prepare
+ sed -e 's|libplist >= 1.0|libplist-2.0 >= 2.2|' -i configure.ac # support libplist 2.2
+ autoreconf -fi
}
build() {
@@ -32,6 +35,10 @@ build() {
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
}
+check() {
+ make check
+}
+
package() {
make PREFIX=/usr DESTDIR="$pkgdir" install
}