git: 865ef671bbdd - main - x11-toolkits/sdl2_pango: Add new port

From: Wen Heping <wen_at_FreeBSD.org>
Date: Wed, 05 Jun 2024 01:39:01 UTC
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=865ef671bbdd73db3af9b887faac30011bceaca1

commit 865ef671bbdd73db3af9b887faac30011bceaca1
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-06-05 01:37:57 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-06-05 01:37:57 +0000

    x11-toolkits/sdl2_pango: Add new port
    
    SDL2_Pango is a library for graphically rendering internationalized and
    tagged text in SDL2 using TrueType fonts.
---
 x11-toolkits/Makefile             |  1 +
 x11-toolkits/sdl2_pango/Makefile  | 25 +++++++++++++++++++++++++
 x11-toolkits/sdl2_pango/distinfo  |  3 +++
 x11-toolkits/sdl2_pango/pkg-descr |  2 ++
 x11-toolkits/sdl2_pango/pkg-plist |  6 ++++++
 5 files changed, 37 insertions(+)

diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index ae0f006659b5..33a0fd485c81 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -223,6 +223,7 @@
     SUBDIR += scenefx
     SUBDIR += scintilla
     SUBDIR += sdl_pango
+    SUBDIR += sdl2_pango
     SUBDIR += shared-desktop-ontologies
     SUBDIR += skinlf
     SUBDIR += soqt
diff --git a/x11-toolkits/sdl2_pango/Makefile b/x11-toolkits/sdl2_pango/Makefile
new file mode 100644
index 000000000000..42712770d7eb
--- /dev/null
+++ b/x11-toolkits/sdl2_pango/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	sdl2_pango
+PORTVERSION=	2.1.5
+DISTVERSIONPREFIX=	v
+CATEGORIES=	x11-toolkits
+
+MAINTAINER=	wen@FreeBSD.org
+COMMENT=	Graphically rendering internationalized and tagged text in SDL2
+WWW=		https://github.com/markuskimius/SDL2_Pango
+
+LICENSE=	LGPL21+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		gnome libtool pathfix pkgconfig sdl
+USE_SDL=	sdl2
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	markuskimius
+GH_PROJECT=	SDL2_Pango
+
+GNU_CONFIGURE=	yes
+USE_GNOME=	pango
+USE_LDCONFIG=	yes
+INSTALL_TARGET=	install-strip
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/sdl2_pango/distinfo b/x11-toolkits/sdl2_pango/distinfo
new file mode 100644
index 000000000000..20b45723a00f
--- /dev/null
+++ b/x11-toolkits/sdl2_pango/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1717400660
+SHA256 (markuskimius-SDL2_Pango-v2.1.5_GH0.tar.gz) = 3b3fe6008445feb1fca61b17b9d950d688e49dcca60dbbf8667c0f980ddfc563
+SIZE (markuskimius-SDL2_Pango-v2.1.5_GH0.tar.gz) = 643659
diff --git a/x11-toolkits/sdl2_pango/pkg-descr b/x11-toolkits/sdl2_pango/pkg-descr
new file mode 100644
index 000000000000..5d37f66d4832
--- /dev/null
+++ b/x11-toolkits/sdl2_pango/pkg-descr
@@ -0,0 +1,2 @@
+SDL2_Pango is a library for graphically rendering internationalized and
+tagged text in SDL2 using TrueType fonts.
diff --git a/x11-toolkits/sdl2_pango/pkg-plist b/x11-toolkits/sdl2_pango/pkg-plist
new file mode 100644
index 000000000000..ccc027a468a8
--- /dev/null
+++ b/x11-toolkits/sdl2_pango/pkg-plist
@@ -0,0 +1,6 @@
+include/SDL2_Pango.h
+lib/libSDL2_Pango.a
+lib/libSDL2_Pango.so
+lib/libSDL2_Pango.so.4
+lib/libSDL2_Pango.so.4.1.0
+libdata/pkgconfig/SDL2_Pango.pc