summaryrefslogtreecommitdiff
path: root/media-fonts/urw-fonts
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-29 16:39:59 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-29 16:39:59 +0100
commit303f772eff7a30f470d9fb207d69b6a1207b8cab (patch)
treea84db02471adef284e4e5e557037794f024fb1fd /media-fonts/urw-fonts
parentaf951a33bb81b1d784c3f4ea7bb7ca472e5b8d2b (diff)
gentoo auto-resync : 29:07:2023 - 16:39:59
Diffstat (limited to 'media-fonts/urw-fonts')
-rw-r--r--media-fonts/urw-fonts/Manifest4
-rw-r--r--media-fonts/urw-fonts/metadata.xml3
-rw-r--r--media-fonts/urw-fonts/urw-fonts-20230503.ebuild50
3 files changed, 56 insertions, 1 deletions
diff --git a/media-fonts/urw-fonts/Manifest b/media-fonts/urw-fonts/Manifest
index bf6f23bcf490..e001bc95abf3 100644
--- a/media-fonts/urw-fonts/Manifest
+++ b/media-fonts/urw-fonts/Manifest
@@ -1,3 +1,5 @@
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
-MISC metadata.xml 263 BLAKE2B 0b50fbf82dc925c031f1c1fe78929960b5aa70f4ec80bdd34cec9017ac9f07f9a3960421fe5a6a7f9b728c89570aed37fc1460c3f300da751794f1e527079db3 SHA512 a1d548b6228cd790b0b5147752c5495017391cfec3065bd6ea8ee5f8e1f86905220f6b764e71531627323a29d1218b60d36b6b23e9ca585775df12c260a6b311
+EBUILD urw-fonts-20230503.ebuild 1636 BLAKE2B 328544607090bf7dc8e5345f452f0713a73ac3c493e6a37052a7c1445dc91d804f85b50461bf30968d6804167bc1e4c651b1868338a2926e10c81667fc5e8e95 SHA512 c137bf0e55e6c5061b8c42ce6e47636054eea710ff7765a251b8e73bf70c54c62d98bed19c2e93d399eb5c1a0d1708af909473a49d61881d711c55de67cdd9dc
+MISC metadata.xml 360 BLAKE2B ab0ff3f79c83d0d1ba4533d1db99b24a6ed7789ce0dcf524341fb9338c68add919deec77d62ed3ac314f82cc89e1736bbe967a37a7e5859c841759b0152058b4 SHA512 7d1cddee8b4d79ef827626fccb967ff4d140cd0062be9d94017529cfb39b3b3cdbbe59f75415405e0af499d99589bb9b23a03c42cc705a7ce59d849298343682
diff --git a/media-fonts/urw-fonts/metadata.xml b/media-fonts/urw-fonts/metadata.xml
index 9448af9c5670..76b46ebbbc1d 100644
--- a/media-fonts/urw-fonts/metadata.xml
+++ b/media-fonts/urw-fonts/metadata.xml
@@ -5,5 +5,8 @@
<email>fonts@gentoo.org</email>
<name>Fonts</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">ArtifexSoftware/urw-base35-fonts</remote-id>
+ </upstream>
<stabilize-allarches/>
</pkgmetadata>
diff --git a/media-fonts/urw-fonts/urw-fonts-20230503.ebuild b/media-fonts/urw-fonts/urw-fonts-20230503.ebuild
new file mode 100644
index 000000000000..3def35683df5
--- /dev/null
+++ b/media-fonts/urw-fonts/urw-fonts-20230503.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 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
+}