From cbf48787a267a3f544a15fbdf5bd5e7ce2b8d043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Sat, 16 Sep 2023 23:02:02 +0200 Subject: [PATCH] New package: SDL2_Pango-2.1.5 --- common/shlibs | 1 + srcpkgs/SDL2_Pango-devel | 1 + srcpkgs/SDL2_Pango/template | 29 +++++++++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 120000 srcpkgs/SDL2_Pango-devel create mode 100644 srcpkgs/SDL2_Pango/template diff --git a/common/shlibs b/common/shlibs index c9d59ef3b97..7d9715d79be 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/SDL2_Pango-devel b/srcpkgs/SDL2_Pango-devel new file mode 120000 index 00000000000..082032afb44 --- /dev/null +++ b/srcpkgs/SDL2_Pango-devel @@ -0,0 +1 @@ +SDL2_Pango \ No newline at end of file diff --git a/srcpkgs/SDL2_Pango/template b/srcpkgs/SDL2_Pango/template new file mode 100644 index 00000000000..70123822825 --- /dev/null +++ b/srcpkgs/SDL2_Pango/template @@ -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 " +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" + } +}