aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-03 05:40:07 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-09-06 12:25:45 +0000
commit3ce7bb1495ef14955eeedcc78529ee8357a196fa (patch)
treefa63847458cef9fda6a402e0add7b16bab9f11f4 /main
parent5bac706640e4889a304fa972865bb412e4498cbb (diff)
downloadaports-3ce7bb1495ef14955eeedcc78529ee8357a196fa.tar.bz2
aports-3ce7bb1495ef14955eeedcc78529ee8357a196fa.tar.xz
main/fontconfig: add static libraries
fixes #10769
Diffstat (limited to 'main')
-rw-r--r--main/fontconfig/APKBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/main/fontconfig/APKBUILD b/main/fontconfig/APKBUILD
index 7bf0409f7f..22cafba9a3 100644
--- a/main/fontconfig/APKBUILD
+++ b/main/fontconfig/APKBUILD
@@ -2,15 +2,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fontconfig
pkgver=2.13.1
-pkgrel=1
+pkgrel=2
pkgdesc="Library for configuring and customizing font access"
url="https://www.freedesktop.org/wiki/Software/fontconfig"
arch="all"
license="MIT"
makedepends="freetype-dev expat-dev python3-dev gperf util-linux-dev"
triggers="$pkgname.trigger=/usr/share/fonts/*"
-subpackages="$pkgname-doc $pkgname-dev"
-source="http://fontconfig.org/release/${pkgname}-${pkgver}.tar.gz"
+subpackages="$pkgname-static $pkgname-dev"
+source="http://fontconfig.org/release/fontconfig-$pkgver.tar.gz"
+
+replaces="fontconfig-doc" # Package removed as license is no longer provided
build() {
cd "$builddir"
@@ -25,8 +27,7 @@ build() {
--localstatedir=/var \
--enable-static \
--disable-nls \
- --disable-docs \
- --disable-static
+ --disable-docs
rm -f src/fcobjhash.h
make
}
@@ -39,8 +40,6 @@ check() {
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
-
- install -m644 -D COPYING "$pkgdir"/usr/share/licenses/"${pkgname}"/COPYING
}
sha512sums="830df32e944ee21ad02a9df04787b9902af36ffc13913524acef6e38799a38c5df7a6e407cc0ff9c24455520549d53b3d85d22642a229ac654dc9269926f130b fontconfig-2.13.1.tar.gz"