From: Angelo Compagnucci <angelo@amarulasolutions.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/6] package/dejavu: Install dejavu fonts in staging dir
Date: Wed, 17 Jun 2020 19:28:43 +0200 [thread overview]
Message-ID: <20200617172848.2601-2-angelo@amarulasolutions.com> (raw)
In-Reply-To: <20200617172848.2601-1-angelo@amarulasolutions.com>
From: Michael Trimarchi <michael@amarulasolutions.com>
The dejavu fonts is used by cups-filters and needs to be
installed in staging directory.
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
---
package/dejavu/dejavu.mk | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/package/dejavu/dejavu.mk b/package/dejavu/dejavu.mk
index 9b57f0992e..be3d91f179 100644
--- a/package/dejavu/dejavu.mk
+++ b/package/dejavu/dejavu.mk
@@ -11,6 +11,7 @@ DEJAVU_LICENSE_FILES = LICENSE
DEJAVU_FONTS_INSTALL =
DEJAVU_FONTCONFIG_CONF_INSTALL =
+DEJAVU_INSTALL_STAGING = YES
ifeq ($(BR2_PACKAGE_DEJAVU_MONO),y)
DEJAVU_FONTS_INSTALL += DejaVuSansMono*.ttf
@@ -50,6 +51,14 @@ define DEJAVU_FONTCONFIG_CONF_INSTALL_CMDS
endef
endif
+define DEJAVU_INSTALL_STAGING_CMDS
+ mkdir -p $(STAGING_DIR)/usr/share/fonts/dejavu/
+ for i in $(DEJAVU_FONTS_INSTALL) ; do \
+ $(INSTALL) -m 0644 $(@D)/ttf/$$i \
+ $(STAGING_DIR)/usr/share/fonts/dejavu/ || exit 1 ; \
+ done
+endef
+
define DEJAVU_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/usr/share/fonts/dejavu/
for i in $(DEJAVU_FONTS_INSTALL) ; do \
--
2.25.1
next prev parent reply other threads:[~2020-06-17 17:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-17 17:28 [Buildroot] [PATCH 0/6] Cups revamp Angelo Compagnucci
2020-06-17 17:28 ` Angelo Compagnucci [this message]
2020-06-17 17:28 ` [Buildroot] [PATCH 2/6] package/cups-filters: bump to version 1.27.5 Angelo Compagnucci
2020-06-17 17:28 ` [Buildroot] [PATCH 3/6] package/cups: bump to version 2.3.3 Angelo Compagnucci
2020-06-17 17:28 ` [Buildroot] [PATCH 4/6] package/cups: Add udev rules to assign usb printers group to lp Angelo Compagnucci
2020-06-17 17:28 ` [Buildroot] [PATCH 5/6] package/cups: adding python support Angelo Compagnucci
2020-06-17 17:28 ` [Buildroot] [PATCH 6/6] package/qt5: Enable cups support when BR2_PACKAGE_CUPS Angelo Compagnucci
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200617172848.2601-2-angelo@amarulasolutions.com \
--to=angelo@amarulasolutions.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox