aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2020-05-09 22:39:50 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-05-10 02:04:40 +0000
commit686283c246936ebea184fd5c9b82d35b373bc6a8 (patch)
tree1469ec816902483c36354e11e21be61b3784d2ee
parent9a5a89d28dbc086802cc5d52262d68cd18ed2602 (diff)
downloadaports-686283c246936ebea184fd5c9b82d35b373bc6a8.tar.gz
aports-686283c246936ebea184fd5c9b82d35b373bc6a8.tar.bz2
aports-686283c246936ebea184fd5c9b82d35b373bc6a8.tar.xz
main/freetype: upgrade to 2.10.2
-rw-r--r--main/freetype/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/main/freetype/APKBUILD b/main/freetype/APKBUILD
index 37747e64d1..04886b67f7 100644
--- a/main/freetype/APKBUILD
+++ b/main/freetype/APKBUILD
@@ -1,14 +1,14 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=freetype
-pkgver=2.10.1
+pkgver=2.10.2
pkgrel=0
pkgdesc="TrueType font rendering library"
url="https://www.freetype.org/"
arch="all"
license="FTL GPL-2.0-or-later"
options="!check"
-makedepends="$depends_dev zlib-dev libpng-dev bzip2-dev"
+makedepends="$depends_dev brotli-dev zlib-dev libpng-dev bzip2-dev"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://download.savannah.gnu.org/releases/freetype/freetype-$pkgver.tar.xz
0001-Enable-table-validation-modules.patch
@@ -22,10 +22,7 @@ source="https://download.savannah.gnu.org/releases/freetype/freetype-$pkgver.tar
# - CVE-2017-8105
# - CVE-2017-8287
-builddir="$srcdir/$pkgname-$pkgver"
-
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -34,6 +31,7 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-static \
+ --with-brotli \
--with-bzip2 \
--with-png \
--enable-freetype-config
@@ -48,10 +46,9 @@ static() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="c7a565b0ab3dce81927008a6965d5c7540f0dc973fcefdc1677c2e65add8668b4701c2958d25593cb41f706f4488765365d40b93da71dbfa72907394f28b2650 freetype-2.10.1.tar.xz
+sha512sums="cf45089bd8893d7de2cdcb59d91bbb300e13dd0f0a9ef80ed697464ba7aeaf46a5a81b82b59638e6b21691754d8f300f23e1f0d11683604541d77f0f581affaa freetype-2.10.2.tar.xz
580fe59acddfd41966e387bdb6a88336b8bc119cc3d60d8689be20c96fb0dd07c5138ea31f6cb9c854f497ecb41c3adc49eb3ec16a34b2e010e8294851770763 0001-Enable-table-validation-modules.patch
72883fa203fd2552a7b1b8c39b4aaa68d407c62c289236031cd0fa1c8cdc6ad38e90d3b53f8ee682064986d09c9455961f4941c80566b150d15d5539a716c190 subpixel.patch"