From 989d6cc574d632e22d9ddb89d8a8a1c2ae6cbd98 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sun, 22 Aug 2021 21:09:47 +0100 Subject: [PATCH] fribidi: add package fribidi is bi-directional text library needed by pango. Signed-off-by: Daniel Golle --- libs/fribidi/Makefile | 48 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 libs/fribidi/Makefile diff --git a/libs/fribidi/Makefile b/libs/fribidi/Makefile new file mode 100644 index 0000000..755ac33 --- /dev/null +++ b/libs/fribidi/Makefile @@ -0,0 +1,48 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=fribidi +PKG_VERSION:=1.0.10 +PKG_RELEASE:=$(AUTORELEASE) + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=https://github.com/fribidi/fribidi/releases/download/v1.0.10/ +PKG_HASH:=7f1c687c7831499bcacae5e8675945a39bacbad16ecaa945e9454a32df653c01 + +PKG_MAINTAINER:=Daniel Golle +PKG_LICENSE:=LGPL-2.1 +PKG_LICENSE_FILES:=COPYING + +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/meson.mk + +MESON_ARGS += \ + -Dtests=false + +define Package/fribidi + SECTION:=libs + CATEGORY:=Libraries + SUBMENU:=Video + TITLE:=fribidi + URL:=https://github.com/fribidi/fribidi +endef + +define Package/fribidi/description +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig/ +endef + +define Package/fribidi/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,fribidi)) -- 2.30.2