New package: SDL2_Pango-2.1.5

This commit is contained in:
Piotr Wójcik 2023-09-16 23:02:02 +02:00 committed by Chocimier
parent 3c9403c0a7
commit cbf48787a2
3 changed files with 31 additions and 0 deletions

View File

@ -880,6 +880,7 @@ libcogl-pango.so.20 cogl-1.18.0_1
libcogl-gst.so.20 cogl-1.18.0_1
libcogl-gles2.so.20 cogl-1.18.0_1
libcogl-path.so.20 cogl-1.18.0_1
libSDL2_Pango.so.4 SDL2_Pango-2.1.5_1
libp11-kit.so.0 p11-kit-0.7_1
librest-0.7.so.0 rest0-0.8.1_1
librest-1.0.so.0 rest-0.9.1_1

1
srcpkgs/SDL2_Pango-devel Symbolic link
View File

@ -0,0 +1 @@
SDL2_Pango

View File

@ -0,0 +1,29 @@
# Template file for 'SDL2_Pango'
pkgname=SDL2_Pango
version=2.1.5
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="freetype-devel pango-devel SDL2-devel"
short_desc="Graphically rendering internationalized and tagged text in SDL2"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="LGPL-2.1-or-later"
homepage="https://github.com/markuskimius/SDL2_Pango"
changelog="https://raw.githubusercontent.com/markuskimius/SDL2_Pango/master/ChangeLog"
distfiles="https://github.com/markuskimius/SDL2_Pango/archive/refs/tags/v${version}.tar.gz"
checksum=3b3fe6008445feb1fca61b17b9d950d688e49dcca60dbbf8667c0f980ddfc563
post_patch() {
vsed -i SDL2_Pango.pc.in -e 's/Requires: pango/&, freetype2/'
}
SDL2_Pango-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}