git » sdl2_ttf.git » commit 8d17c13

upgpkg: 2.20.2-2: Use system deps for freetype and harfbuzz

author Sven-Hendrik Haase
2024-01-12 01:50:10 UTC
committer Sven-Hendrik Haase
2024-01-12 01:50:10 UTC
parent 6edb88241de58d09584418c12d7fdc4e849bd78e

upgpkg: 2.20.2-2: Use system deps for freetype and harfbuzz

.SRCINFO +16 -0
PKGBUILD +2 -2

diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..d42aef5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = sdl2_ttf
+	pkgdesc = A library that allows you to use TrueType fonts in your SDL applications (Version 2)
+	pkgver = 2.20.2
+	pkgrel = 2
+	url = https://github.com/libsdl-org/SDL_ttf
+	arch = x86_64
+	license = MIT
+	depends = sdl2
+	depends = freetype2
+	source = https://github.com/libsdl-org/SDL_ttf/releases/download/release-2.20.2/SDL2_ttf-2.20.2.tar.gz
+	source = https://github.com/libsdl-org/SDL_ttf/releases/download/release-2.20.2/SDL2_ttf-2.20.2.tar.gz.sig
+	validpgpkeys = 1528635D8053A57F77D1E08630A59377A7763BE6
+	sha512sums = b54e93b100712e3764cd80d4e4b16cd4c2a6853620f675941a4214320b0ee29a583d57ad56cd5fdb5c7a32d7615cbf43bc3fa55337b01623cee7219ebb43667c
+	sha512sums = SKIP
+
+pkgname = sdl2_ttf
diff --git a/PKGBUILD b/PKGBUILD
index 7036018..173f6fd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 
 pkgname=sdl2_ttf
 pkgver=2.20.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A library that allows you to use TrueType fonts in your SDL applications (Version 2)"
 arch=('x86_64')
 url="https://github.com/libsdl-org/SDL_ttf"
@@ -22,7 +22,7 @@ prepare() {
 build() {
   cd "${srcdir}/SDL2_ttf-${pkgver}/"
 
-  ./configure --disable-static --prefix=/usr
+  ./configure --disable-static --disable-freetype-builtin --disable-harfbuzz-builtin --prefix=/usr
   make
 }