summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Rösner <rndxelement@protonmail.com>2023-04-05 15:50:00 +0200
committerJoonas Niilola <juippis@gentoo.org>2023-06-02 18:33:57 +0300
commitcbfc28c7982b0c84dd1ab37c432d651501f9df03 (patch)
tree161f7dd142bb0c614757838d2f30fc443a8fb04b /media-libs/sdl2-pango
parentsys-devel/llvm-common: Remove old snapshot (diff)
downloadgentoo-cbfc28c7982b0c84dd1ab37c432d651501f9df03.tar.gz
gentoo-cbfc28c7982b0c84dd1ab37c432d651501f9df03.tar.bz2
gentoo-cbfc28c7982b0c84dd1ab37c432d651501f9df03.zip
media-libs/sdl2-pango: new package, add 2.1.5
Signed-off-by: Philipp Rösner <rndxelement@protonmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-libs/sdl2-pango')
-rw-r--r--media-libs/sdl2-pango/Manifest1
-rw-r--r--media-libs/sdl2-pango/metadata.xml26
-rw-r--r--media-libs/sdl2-pango/sdl2-pango-2.1.5.ebuild29
3 files changed, 56 insertions, 0 deletions
diff --git a/media-libs/sdl2-pango/Manifest b/media-libs/sdl2-pango/Manifest
new file mode 100644
index 000000000000..414b7f924cfb
--- /dev/null
+++ b/media-libs/sdl2-pango/Manifest
@@ -0,0 +1 @@
+DIST sdl2-pango-2.1.5.tar.gz 643659 BLAKE2B 6ab082e4a7a8df20c2533c8513b0c222a75bc53e4565714322fedd5594276b441df55f7c5a933c326fa029e533723e36b8e4bd065a4013bf7337d1e93b9dbc61 SHA512 381fce666949211f2c25b73e8ccc97e2b96aab725dc5f74135c7e62ffb6fb93053b0323c79f1c32ceab03a4ef335cf407979d82f1ab0778610e7dcbfc42b6e9c
diff --git a/media-libs/sdl2-pango/metadata.xml b/media-libs/sdl2-pango/metadata.xml
new file mode 100644
index 000000000000..953729f5ea51
--- /dev/null
+++ b/media-libs/sdl2-pango/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>rndxelement@protonmail.com</email>
+ <name>Philipp Rösner</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ The sdl2-pango package is a software library that provides
+ a way to render text using the SDL2 library and the Pango
+ text layout and rendering engine.
+ SDL2 is a popular cross-platform library for multimedia and
+ game development, while Pango is a library for layout and
+ rendering of internationalized text. By combining these
+ two libraries, the sdl2-pango package allows developers to
+ easily add high-quality text rendering capabilities to their
+ SDL2-based applications.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">markuskimius/SDL2_Pango</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-libs/sdl2-pango/sdl2-pango-2.1.5.ebuild b/media-libs/sdl2-pango/sdl2-pango-2.1.5.ebuild
new file mode 100644
index 000000000000..5f493ccc3765
--- /dev/null
+++ b/media-libs/sdl2-pango/sdl2-pango-2.1.5.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="SDL2 port of SDL_Pango for rendering text using Pango"
+HOMEPAGE="https://github.com/markuskimius/SDL2_Pango/"
+SRC_URI="https://github.com/markuskimius/SDL2_Pango/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/glib:2
+ media-libs/freetype
+ media-libs/fontconfig
+ media-libs/harfbuzz:=
+ media-libs/libsdl2[video]
+ x11-libs/pango"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/SDL2_Pango-${PV}"
+
+src_install() {
+ default
+ find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete \
+ || die "Failed to delete .a or .la files"
+}