aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-07-22 07:10:47 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-07-22 07:11:00 +0000
commit1ceb7bafb9369187104d8e348d2f82cc07dd302c (patch)
tree5ebc4b2d045b3cc529a7ac72e7c134c8bcbc0a11
parentcc232ca842315e9c5bc108a48d0e7be0de0044e6 (diff)
downloadaports-1ceb7bafb9369187104d8e348d2f82cc07dd302c.tar.bz2
aports-1ceb7bafb9369187104d8e348d2f82cc07dd302c.tar.xz
testing/linphone: fix cmake path
-rw-r--r--testing/linphone/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/testing/linphone/APKBUILD b/testing/linphone/APKBUILD
index bfff2c1d2e..4995747b6f 100644
--- a/testing/linphone/APKBUILD
+++ b/testing/linphone/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname="linphone"
pkgver="3.12.0"
-pkgrel=2
+pkgrel=3
pkgdesc="An opensource SIP phone for voice/video calls and instant messaging"
url="https://linphone.org/"
arch="all"
@@ -51,9 +51,13 @@ dev() {
mkdir -p "$subpkgdir"/usr/lib/cmake/LinphoneCxx
mv "$pkgdir"/usr/share/Linphone/cmake/* "$subpkgdir"/usr/lib/cmake/Linphone
mv "$pkgdir"/usr/share/LinphoneCxx/cmake/* "$subpkgdir"/usr/lib/cmake/LinphoneCxx
+
+ # Fix includes
+ sed -i -e 's/INTERFACE_INCLUDE_DIRECTORIES.*/INTERFACE_INCLUDE_DIRECTORIES\ \"\/usr\/include\"/g' "$subpkgdir"/usr/lib/cmake/Linphone/LinphoneTargets.cmake
+
+ # Remove empty dirs
rmdir "$pkgdir"/usr/share/Linphone/cmake
rmdir "$pkgdir"/usr/share/LinphoneCxx/cmake
-
rmdir "$pkgdir"/usr/share/Linphone
rmdir "$pkgdir"/usr/share/LinphoneCxx
}