diff options
-rw-r--r-- | media-libs/sdl2-pango/Manifest | 1 | ||||
-rw-r--r-- | media-libs/sdl2-pango/metadata.xml | 26 | ||||
-rw-r--r-- | media-libs/sdl2-pango/sdl2-pango-2.1.5.ebuild | 29 |
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" +} |