From 231673abffa0f3e34516034278560864e6586373 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sun, 22 Aug 2021 21:10:12 +0100 Subject: [PATCH] pango: add GNOME pango graphics library pango is a text and graphics drawing library. Signed-off-by: Daniel Golle --- libs/pango/Makefile | 59 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 libs/pango/Makefile diff --git a/libs/pango/Makefile b/libs/pango/Makefile new file mode 100644 index 0000000..25c74f8 --- /dev/null +++ b/libs/pango/Makefile @@ -0,0 +1,59 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=pango +PKG_VERSION:=1.48.9 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/1.48 +PKG_HASH:=a913657d3fe5aa04c03958a3b5d3fc859e891b75cd81b873a819330f6c0872aa + +PKG_MAINTAINER:=Daniel Golle +PKG_LICENSE:=LGPL-2.0-or-later +PKG_LICENSE_FILES:=COPYING +PKG_CPE_ID:=cpe:/a:gnome:pango + +PKG_BUILD_DEPENDS:=glib2/host +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk +include $(INCLUDE_DIR)/meson.mk + +define Package/libpango + SECTION:=libs + CATEGORY:=Libraries + SUBMENU:=Video + TITLE:=libpango + URL:=https://www.pango.org/ + DEPENDS:=+glib2 +fribidi +harfbuzz +libcairo $(ICONV_DEPENDS) $(INTL_DEPENDS) +endef + +MESON_ARGS += \ + -Dgnome=false \ + -Dintrospection=disabled \ + -Dvapi=disabled \ + -Dgtk_doc=false \ + -Dtests=false \ + -Dinstalled_tests=false \ + -Dsysprof=disabled + +define package/libpango/decription +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/include/pango-1.0/pango + $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/pango-1.0/pango/*.h $(1)/usr/include/pango-1.0/pango/ + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig/ + +endef + +define Package/libpango/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,libpango)) -- 2.30.2