aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2021-04-16 21:43:36 +0200
committerJakub Jirutka <jakub@jirutka.cz>2021-04-16 21:44:13 +0200
commit73888c6d02f8436d32a601b4196ff6107952a44c (patch)
treec690bd8f26a22efb12a5eacaab506ea0ca211462
parentb5958194407fa5f75eb0aef4246f6fbf35fe19dd (diff)
downloadaports-73888c6d02f8436d32a601b4196ff6107952a44c.tar.gz
aports-73888c6d02f8436d32a601b4196ff6107952a44c.tar.bz2
aports-73888c6d02f8436d32a601b4196ff6107952a44c.tar.xz
main/cairo: build static libs and add subpkg -static
-rw-r--r--main/cairo/APKBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/main/cairo/APKBUILD b/main/cairo/APKBUILD
index 7eca2f03b7..e4b684c330 100644
--- a/main/cairo/APKBUILD
+++ b/main/cairo/APKBUILD
@@ -25,7 +25,14 @@ makedepends="$depends_dev
libtool
zlib-dev
"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-gobject $pkgname-tools $pkgname-dbg"
+subpackages="
+ $pkgname-static
+ $pkgname-dev
+ $pkgname-doc
+ $pkgname-gobject
+ $pkgname-tools
+ $pkgname-dbg
+ "
source="https://cairographics.org/releases/cairo-$pkgver.tar.xz
musl-stacksize.patch
CVE-2018-19876.patch
@@ -61,8 +68,7 @@ build() {
--enable-xcb-shm \
--enable-xlib \
--enable-xlib-xrender \
- --disable-xlib-xcb \
- --disable-static
+ --disable-xlib-xcb
make
}