summaryrefslogtreecommitdiff
path: root/media-libs/t1lib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-13 12:04:20 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-13 12:04:20 +0100
commitd993571e2ee444d08f4e9e90d493ee37338657e3 (patch)
tree5a49a1d4ceffe800051e363f64571c3b6735d2f7 /media-libs/t1lib
parent266d65d0cceeb55ab2cc3bf4e465d7f35502a900 (diff)
gentoo auto-resync : 13:04:2024 - 12:04:19
Diffstat (limited to 'media-libs/t1lib')
-rw-r--r--media-libs/t1lib/Manifest1
-rw-r--r--media-libs/t1lib/t1lib-5.1.2-r4.ebuild79
2 files changed, 80 insertions, 0 deletions
diff --git a/media-libs/t1lib/Manifest b/media-libs/t1lib/Manifest
index 79c8c1ccab66..0eecbfaeac71 100644
--- a/media-libs/t1lib/Manifest
+++ b/media-libs/t1lib/Manifest
@@ -6,4 +6,5 @@ AUX t1lib-5.1.2-format-security.patch 1357 BLAKE2B ba340f40284dd24b5e49ef9aca1a8
AUX t1lib-do-not-install-t1lib_doc-r1.patch 522 BLAKE2B 37989b16132d84d67b5692fc7c15654f28156fb3162ba4c545ab01e238e95c60e422aa1b86d34d2c160600f0f55728ed637094a2b8fc951b7d338594510c104a SHA512 d77beebb581739f5646137d5c1aa5cf3d9906a010f07e3822040812822782db7712d4d18d6235dc22da6e4531daf81fa891db4c1047ad95ee702da88cb01688b
DIST t1lib-5.1.2.tar.gz 1872534 BLAKE2B b6f2c17b8009feef3c0ab3a8314e89e421d90349c4465885c3478a9493b30ada9ad0a2f58e70ba863d91e305fbb52f90e6a42b492a0239e5245ff9132c2ba92d SHA512 9f424b19c6f35cc4f194ff7351a4c2352216462c7d1b1d9650ad3a05cf48c6e90c89ccbcda5ecc47a4169a39a850cf84a1fcbf88b3b15614860c27364b631ae3
EBUILD t1lib-5.1.2-r3.ebuild 1807 BLAKE2B 9fea0c6d8596e8aa51d9cbe48349f4159317436764741083a1199d993c05345e01177a3e19e7fe89e49bc840ccdbbec49ea76bc2662f0991f77d683ef9b597ab SHA512 c8fa6c8ff3b8e5b4680b66a6803c2e5611c1af526e80a69e4658da6f667477ad7a4ddf22d1cca222799b66c1726999c8e3d2b48c1cc6e31da60f5273c1d5f1b2
+EBUILD t1lib-5.1.2-r4.ebuild 1810 BLAKE2B 097f8937aabb25e025d00b5e2f42bdf492160b539dca74e46bd2377f615229706cbe076aa5a833f92e9228ae0b90943d19653f167f1340d51a8bc994e6ae74e7 SHA512 577a327d014c2e9f86a133d06c6c07f7a08d130a2c1c4f845dee054b56caeb74f24c0e47ac06fc0580e89acb02bbcb085b4bd9e91373cebb99fd39e738876f64
MISC metadata.xml 235 BLAKE2B f469fc8727ef3de05c8a1d43d640dd5bc6aee0158f82ba12c1024613b9c4c0a681f91528205ecd30d47cb9aca08ab788f7f595168bf0ceba25d8a2baf34b4cba SHA512 3229f3ecdc21ea952f5d40215f5a75129d165b9e34f80f7194842fe6362ed4f585470c7f6e9751825313345cade1f153d122d59f67016c26b5d21eeef64dfd22
diff --git a/media-libs/t1lib/t1lib-5.1.2-r4.ebuild b/media-libs/t1lib/t1lib-5.1.2-r4.ebuild
new file mode 100644
index 000000000000..c9f251b91a39
--- /dev/null
+++ b/media-libs/t1lib/t1lib-5.1.2-r4.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic libtool toolchain-funcs
+
+DESCRIPTION="Type 1 Font Rasterizer Library for UNIX/X11"
+HOMEPAGE="https://www.t1lib.org/"
+SRC_URI="https://www.ibiblio.org/pub/Linux/libs/graphics/${P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="X doc static-libs"
+
+RDEPEND="X? (
+ x11-libs/libXaw
+ x11-libs/libX11
+ x11-libs/libXt
+ )"
+DEPEND="${RDEPEND}
+ doc? ( virtual/latex-base )
+ X? ( x11-base/xorg-proto )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.1.1-parallel.patch
+ "${FILESDIR}"/${PN}-do-not-install-t1lib_doc-r1.patch
+ "${FILESDIR}"/${PN}-5.1.2-format-security.patch
+ "${FILESDIR}"/${PN}-5.1.2-CVE-2010-2642_2011-0433_2011-5244.patch
+ "${FILESDIR}"/${PN}-5.1.2-CVE-2011-0764.patch
+ "${FILESDIR}"/${PN}-5.1.2-CVE-2011-1552_1553_1554.patch
+)
+
+src_prepare() {
+ default
+
+ sed -i -e "s:dvips:#dvips:" "${S}"/doc/Makefile.in || die
+ sed -i -e "s:\./\(t1lib\.config\):/etc/t1lib/\1:" "${S}"/xglyph/xglyph.c || die
+ # Needed for sane .so versionning on fbsd. Please don't drop.
+ elibtoolize
+}
+
+src_configure() {
+ econf \
+ --datadir="${EPREFIX}/etc" \
+ $(use_enable static-libs static) \
+ $(use_with X x)
+}
+
+src_compile() {
+ local myopt=""
+ tc-export CC
+
+ use alpha && append-flags -mieee
+
+ if ! use doc; then
+ myopt="without_doc"
+ else
+ VARTEXFONTS="${T}/fonts"
+ fi
+
+ emake ${myopt}
+}
+
+src_install() {
+ default
+
+ if ! use static-libs; then
+ find "${ED}" -type f \( -name '*.la' -o -name '*.a' \) -delete || die
+ fi
+
+ dodoc Changes README*
+ if use doc; then
+ docinto pdf
+ dodoc doc/*.pdf
+ docompress -x /usr/share/doc/${PF}/pdf
+ fi
+}