2016-08-29 20:15:32 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2008-2016 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=fontconfig
|
2021-09-19 09:29:00 +02:00
|
|
|
PKG_VERSION:=2.13.94
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 18:32:27 +02:00
|
|
|
PKG_RELEASE:=3
|
2016-08-29 20:15:32 +02:00
|
|
|
|
2021-01-02 02:09:41 +01:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
|
|
PKG_SOURCE_URL:=https://fontconfig.org/release/
|
2021-09-19 09:29:00 +02:00
|
|
|
PKG_HASH:=a5f052cb73fd479ffb7b697980510903b563bbb55b8f7a2b001fcfb94026003c
|
2016-08-29 20:15:32 +02:00
|
|
|
|
2021-03-28 03:12:55 +02:00
|
|
|
PKG_MAINTAINER:=
|
|
|
|
PKG_LICENSE:=
|
|
|
|
PKG_LICENSE_FILES:=
|
2019-09-12 14:13:21 +02:00
|
|
|
PKG_CPE_ID:=cpe:/a:fontconfig_project:fontconfig
|
|
|
|
|
2021-01-02 02:09:41 +01:00
|
|
|
PKG_BUILD_DEPENDS:=gperf/host
|
2016-08-29 20:15:32 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2021-09-08 00:24:45 +02:00
|
|
|
include $(INCLUDE_DIR)/meson.mk
|
2016-08-29 20:15:32 +02:00
|
|
|
|
|
|
|
define Package/fontconfig
|
|
|
|
SECTION:=xorg-util
|
|
|
|
CATEGORY:=Xorg
|
2019-07-23 15:35:03 +02:00
|
|
|
SUBMENU:=Font-Utils
|
2016-08-29 20:15:32 +02:00
|
|
|
TITLE:=fontconfig
|
|
|
|
DEPENDS:=+libpthread +libexpat +libfreetype
|
|
|
|
URL:=http://fontconfig.org/
|
|
|
|
endef
|
|
|
|
|
2021-03-28 03:12:55 +02:00
|
|
|
MESON_ARGS += \
|
|
|
|
-Ddoc=disabled \
|
|
|
|
-Ddoc-txt=disabled \
|
|
|
|
-Dnls=disabled \
|
|
|
|
-Dtests=disabled \
|
|
|
|
-Dtools=enabled
|
2016-08-29 20:15:32 +02:00
|
|
|
|
|
|
|
define Build/InstallDev
|
|
|
|
$(INSTALL_DIR) $(1)/usr/include
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/fontconfig $(1)/usr/include/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfontconfig.* $(1)/usr/lib/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/fontconfig.pc $(1)/usr/lib/pkgconfig/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/fontconfig/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib $(1)/usr/share/fontconfig/conf.avail
|
|
|
|
$(INSTALL_DIR) $(1)/etc/fonts/conf.d
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/etc/fonts/fonts.conf $(1)/etc/fonts
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/etc/fonts/conf.d/* $(1)/etc/fonts/conf.d
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/fontconfig/conf.avail/* $(1)/usr/share/fontconfig/conf.avail
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
# $(INSTALL_BIN) ./files/fontconfig.init $(1)/etc/init.d/fontconfig
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,fontconfig))
|