diff options
Diffstat (limited to 'media-fonts/urw-fonts')
-rw-r--r-- | media-fonts/urw-fonts/Manifest | 1 | ||||
-rw-r--r-- | media-fonts/urw-fonts/urw-fonts-20230503-r1.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/media-fonts/urw-fonts/Manifest b/media-fonts/urw-fonts/Manifest index 5ead3b60f8e3..a740d4e92b2e 100644 --- a/media-fonts/urw-fonts/Manifest +++ b/media-fonts/urw-fonts/Manifest @@ -1,5 +1,6 @@ DIST urw-fonts-2.4-9.fc13.src.rpm 3198315 BLAKE2B 9f4c026af2ee6b472454be43b4e1d11616770cb63841fe022762f18a7c71abc37e442102a3d54b880a6a34117442cf45b2d65133ef9cca564e55a26ac1179824 SHA512 cd8c9eb9e56480e70129c14cc744b944fe51fc616b8b5da46b7251520c84486c6c4354afdd7517569ba7874255c00b755aace076dc2cf1a1d8bdd30e41322d4b DIST urw-fonts-20230503.tar.gz 11194541 BLAKE2B 552de1079ef2dbce3e7fe352ef9f81a5f55fb34d71a11bc25895174804e0ef5b4424981204d46753cf83e014d786c27625ef3389745126e55b7ca1df9d01bc46 SHA512 0d192664a2371a0746b10d639a9140d8620cc99058ff7930b94a8b9bd22a5c858e5315d40dd310de07d1c5eb5015f8132b772682b544ac3cadee56c7de2e7386 EBUILD urw-fonts-2.4.9.ebuild 1888 BLAKE2B 82ee73a1701d792c325b45f93dfec63a05ee1c0d524fafa267917d4830a9c94757a18b54722b7b05437e7cd57ed3783723cf4805d49c610a6aac70ec946fe464 SHA512 da2d97c4d1642c41e011dc452058e5fd43d04a07cae6d4c76d3c46737840387245de67e504772c1da76a03c5599e1fb1a4b11717d49810c4e85d2ad8c7b19eee +EBUILD urw-fonts-20230503-r1.ebuild 1639 BLAKE2B 3a300bc3d94cdad58bbc4da84ad1736ac019cd3d3af891fbb37f25ac2785dcd40f297aa9357966899fccf201a43f05199eab96b20ef9e8fe7df21afdf10e5b0e SHA512 f73e867756c2494ec5651e9448eb8ebfee5653e466cdacd96e808523ae2bc61bdb6e852440aebc0c34cc819b8d351af1f72cdd2ff75fae43aa6f47fe25141638 EBUILD urw-fonts-20230503.ebuild 1628 BLAKE2B 0c38c97e24e1fc011c97a814256a169e575ae562b83d9971d96c2df9d1374fc96f86a7ec0f999048f2677c9fe5a700d3ea09f0926de2b992c8a378a2c69b7ccc SHA512 ab23c93a3f2cca1fce79d26a553770ba55b1fcf30d4dff29c546053e10f5ce841f49ff7f583b85d4f3b74f82924f98b1a618c658f300f2f2c18f6806dcd95b2b MISC metadata.xml 360 BLAKE2B ab0ff3f79c83d0d1ba4533d1db99b24a6ed7789ce0dcf524341fb9338c68add919deec77d62ed3ac314f82cc89e1736bbe967a37a7e5859c841759b0152058b4 SHA512 7d1cddee8b4d79ef827626fccb967ff4d140cd0062be9d94017529cfb39b3b3cdbbe59f75415405e0af499d99589bb9b23a03c42cc705a7ce59d849298343682 diff --git a/media-fonts/urw-fonts/urw-fonts-20230503-r1.ebuild b/media-fonts/urw-fonts/urw-fonts-20230503-r1.ebuild new file mode 100644 index 000000000000..ed5dfbc60cec --- /dev/null +++ b/media-fonts/urw-fonts/urw-fonts-20230503-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit font + +DESCRIPTION="(URW)++ base 35 font set" +HOMEPAGE="https://github.com/ArtifexSoftware/urw-base35-fonts" +COMMIT="3c0ba3b5687632dfc66526544a4e811fe0ec0cd9" +SRC_URI="https://github.com/ArtifexSoftware/urw-base35-fonts/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +S="${WORKDIR}/urw-base35-fonts-${COMMIT}" + +FONT_S="${S}/fonts" +FONT_SUFFIX="afm otf t1 ttf" +FONT_PRIORITY="61" # Same as in Fedora +FONT_CONF=( + fontconfig/${FONT_PRIORITY}-urw-bookman.conf + fontconfig/${FONT_PRIORITY}-urw-c059.conf + fontconfig/${FONT_PRIORITY}-urw-d050000l.conf + fontconfig/${FONT_PRIORITY}-urw-fallback-backwards.conf + fontconfig/${FONT_PRIORITY}-urw-fallback-generics.conf + fontconfig/${FONT_PRIORITY}-urw-fallback-specifics.conf + fontconfig/${FONT_PRIORITY}-urw-gothic.conf + fontconfig/${FONT_PRIORITY}-urw-nimbus-mono-ps.conf + fontconfig/${FONT_PRIORITY}-urw-nimbus-roman.conf + fontconfig/${FONT_PRIORITY}-urw-nimbus-sans-narrow.conf + fontconfig/${FONT_PRIORITY}-urw-nimbus-sans.conf + fontconfig/${FONT_PRIORITY}-urw-p052.conf + fontconfig/${FONT_PRIORITY}-urw-standard-symbols-ps.conf + fontconfig/${FONT_PRIORITY}-urw-z003.conf +) + +src_prepare() { + default + cd "${S}"/fontconfig + for f in *.conf ; do + mv "${f}" "${FONT_PRIORITY}-${f}" + done +} + +src_install() { + font_src_install + insinto /usr/share/metainfo + doins appstream/*.xml +} |