aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptrcnull <git@ptrcnull.me>2022-06-27 02:17:12 +0200
committeralice <alice@ayaya.dev>2022-06-27 17:45:43 +0000
commit4e32dceee2c5c7cc8cbe2454ea857bd67283648f (patch)
tree44d267f7a6911787c16f18e3cd74e465b659d569
parentfbbd92d5e37f6ec6c082857edaa9410d51caefc9 (diff)
downloadaports-4e32dceee2c5c7cc8cbe2454ea857bd67283648f.tar.gz
aports-4e32dceee2c5c7cc8cbe2454ea857bd67283648f.tar.bz2
aports-4e32dceee2c5c7cc8cbe2454ea857bd67283648f.tar.xz
testing/twinkle: build with speex support
-rw-r--r--testing/twinkle/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/twinkle/APKBUILD b/testing/twinkle/APKBUILD
index 0cc2d6a4b5..77190eec26 100644
--- a/testing/twinkle/APKBUILD
+++ b/testing/twinkle/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=twinkle
pkgver=1.10.3
-pkgrel=0
+pkgrel=1
pkgdesc="SIP softphone"
url="https://github.com/LubosD/twinkle"
arch="all"
@@ -22,6 +22,8 @@ makedepends="
qt5-qttools-dev
readline-dev
samurai
+ speex-dev
+ speexdsp-dev
"
subpackages="$pkgname-doc"
source="https://github.com/LubosD/twinkle/archive/refs/tags/v$pkgver/twinkle-$pkgver.tar.gz
@@ -34,7 +36,8 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
- -DCMAKE_BUILD_TYPE=MinSizeRel
+ -DCMAKE_BUILD_TYPE=MinSizeRel \
+ -DWITH_SPEEX=ON
cmake --build build
}