summaryrefslogtreecommitdiff
path: root/app-text/libspectre
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-05-14 11:09:11 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-05-14 11:09:11 +0100
commitdeba8115d2c2af26df42966b91ef04ff4dd79cde (patch)
tree9a48f42594e1a9e6b2020d5535a784314434d7a7 /app-text/libspectre
parent38423c67c8a23f6a1bc42038193182e2da3116eb (diff)
gentoo resync : 14.05.2020
Diffstat (limited to 'app-text/libspectre')
-rw-r--r--app-text/libspectre/Manifest4
-rw-r--r--app-text/libspectre/files/libspectre-0.2.0-interix.patch6
-rw-r--r--app-text/libspectre/libspectre-0.2.9.ebuild54
3 files changed, 60 insertions, 4 deletions
diff --git a/app-text/libspectre/Manifest b/app-text/libspectre/Manifest
index 2943e88ee33e..b99f64247180 100644
--- a/app-text/libspectre/Manifest
+++ b/app-text/libspectre/Manifest
@@ -1,4 +1,6 @@
-AUX libspectre-0.2.0-interix.patch 728 BLAKE2B 5954fa18e92c33f086e3cd45b1d837aa1dcebdef21f595ddaa7f3485bd02f563eafdfd8c0e541cf782875de2818aa91d07e2c1d377457197760095da0e69a7c2 SHA512 d5b35ea095175a3f51553e3bed6e0e02bf7396b036923660d2ea6cd73241ef6d84a8dac977c9ce38078d41b99aadc203e13853d7087624a43f2a3eae35fedb8c
+AUX libspectre-0.2.0-interix.patch 654 BLAKE2B 5be37013c202c2191c8169ebd5b769737a361ab8adde830ffc4bf8487faaf5b1875e1eeb1baae0af0150001a784dad2449e4c6d2259e570dfcd9578e1dae0f00 SHA512 9ccb697cc2cce7798bfff799f7e041d02967af49832a692a3dc7292b52a31f1ebe37fe3b2f02b4908f7e38aaee11028b9e949512fbf02bfb4c8886fd5a7a3bba
DIST libspectre-0.2.8.tar.gz 421791 BLAKE2B bbefa06cf80ecb91f0f780493e1829eadc34061b6f2b3004f9ae01e06fc4609edd440df290be9ff1c9f43e580b53791aae033feb4115743a0f03f703bc18e0c7 SHA512 ebbe7f6adcbc7f7d6af61f24e23b114116c878755dbe90f1163546c1284a005b4d539be01986c1f940611e84141ca19768b8effc2abf1013606da7c93547da86
+DIST libspectre-0.2.9.tar.gz 433384 BLAKE2B ed75a7013763a86c0f0702e0e47dcfb8401db6c957ed4851ecc85e27db6a49c8d4dae6443b302bcce5b0ae0da18dce3294a010eee5531a253020a650c19388c5 SHA512 7c24b5c83c6d356c89417d09dc76566afbe886ec189fe80d030a239c23ad25b061db071768117fa06805aa3d86f749fb232b7491bd7d467f26a40e348e74d5d2
EBUILD libspectre-0.2.8.ebuild 1089 BLAKE2B ee022b1c6cb7ca03c227c14a230e2275c07ef04c68fa58e140d250a2280d344949f8f2d1afed6ac78a12e9fa622ab34878dc017a647ef2bc89e8bdb8b97461f0 SHA512 c610aaca45b156d883188f1fc661cf0972d9fbba3bbac5c2535ed41c9692713d49a6691410d4d0e4ca44c6fe987a2d04d81d459ecf7b1d90e9e06f92acc4f9c1
+EBUILD libspectre-0.2.9.ebuild 1123 BLAKE2B 2c951e895fa4f570ab69be8ec050ab190718e5905231fca43691abb0593ca2d5978140c5217b132da3a5b4e488527d9669c61bfd3887a4b52084182b28ac9f97 SHA512 a89e6088859d8fd9349df40e9102a37d882eb47ad8071ef54552c65d98a5e9a983559dfa8ae202a1c5ba915c763e865639ba612456ed75a5d6912833b1d752b6
MISC metadata.xml 232 BLAKE2B b8ca675b002ba96d45a3afe7b6dd9f0e74d21db87eb002f72bae4e23fd49602115a18b372084596fdc09c3dccef80ae95ab540dad93fdf5dab0c9fb34f5d28db SHA512 21ba416ac701f1c9deb55d07f8afbf9da930fb04d274d84c5cf0df5e549554059959228ee6a4b8523d985fe0762af1a7c36aaefcb0e5b3c7baa5866e2841cfb4
diff --git a/app-text/libspectre/files/libspectre-0.2.0-interix.patch b/app-text/libspectre/files/libspectre-0.2.0-interix.patch
index 7b607542dfad..8f2956331852 100644
--- a/app-text/libspectre/files/libspectre-0.2.0-interix.patch
+++ b/app-text/libspectre/files/libspectre-0.2.0-interix.patch
@@ -1,6 +1,6 @@
-diff -ru libspectre-0.2.0.orig/libspectre/spectre-utils.c libspectre-0.2.0/libspectre/spectre-utils.c
---- libspectre-0.2.0.orig/libspectre/spectre-utils.c 2008-05-06 08:35:07 +0200
-+++ libspectre-0.2.0/libspectre/spectre-utils.c 2008-05-06 08:49:51 +0200
+diff -ru libspectre/spectre-utils.c libspectre/spectre-utils.c
+--- a/libspectre/spectre-utils.c 2008-05-06 08:35:07 +0200
++++ b/libspectre/spectre-utils.c 2008-05-06 08:49:51 +0200
@@ -148,6 +148,17 @@
spectre_strdup_vprintf (const char *format,
va_list args)
diff --git a/app-text/libspectre/libspectre-0.2.9.ebuild b/app-text/libspectre/libspectre-0.2.9.ebuild
new file mode 100644
index 000000000000..0053bce742ac
--- /dev/null
+++ b/app-text/libspectre/libspectre-0.2.9.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Library for rendering Postscript documents"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/libspectre"
+SRC_URI="https://libspectre.freedesktop.org/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+IUSE="debug doc"
+
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+"
+RDEPEND=">=app-text/ghostscript-gpl-9.24"
+DEPEND="${RDEPEND}"
+
+# does not actually test anything, see bug 362557
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.2.0-interix.patch )
+
+src_prepare() {
+ default
+ eautoreconf # need new libtool for interix
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable debug asserts)
+ $(use_enable debug checks)
+ --disable-test
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ emake
+ if use doc; then
+ doxygen || die
+ fi
+}
+
+src_install() {
+ use doc && local HTML_DOCS=( doc/html/. )
+ default
+ find "${D}" -name '*.la' -type f -delete || die
+}