summaryrefslogtreecommitdiff
path: root/app-text/u2ps
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /app-text/u2ps
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'app-text/u2ps')
-rw-r--r--app-text/u2ps/Manifest5
-rw-r--r--app-text/u2ps/files/u2ps-1.1-nostrip.patch14
-rw-r--r--app-text/u2ps/u2ps-0.8.4.ebuild4
-rw-r--r--app-text/u2ps/u2ps-1.1.ebuild29
4 files changed, 49 insertions, 3 deletions
diff --git a/app-text/u2ps/Manifest b/app-text/u2ps/Manifest
index 2a287c965b71..b3fb2df7dcca 100644
--- a/app-text/u2ps/Manifest
+++ b/app-text/u2ps/Manifest
@@ -1,3 +1,6 @@
+AUX u2ps-1.1-nostrip.patch 579 BLAKE2B 0b76323c430eb56730dc15540424d12ddc509b0dbb4dab2a58a2bdd92d24952d95527faa62d39d295c3eb90f90403ce9fbdac6ee0791c61b021dea8dc4e97ab5 SHA512 8b45c626f439c7f72be092a310dd105bd1348185ed4c2bea05b084360b4b5f01cbd7cc6a2b1b3b9e8510bc1f1cc4feca429b0347bbc7a9c40694cb78af4391ac
+DIST u2ps-1.1.tar.gz 110892 BLAKE2B af0dd92d47a8530e8434983132c3bf0f0e6b88ff14cc9d7e73e95c842b4c1dad1b900d91c22a34c8f94373e62382841329e5b2e6b3aa9b51f6e5d6d6d164b596 SHA512 44a470268aafe7b90c17e14a15864924d0ba78b0c8707b9bf076e13b262a9d43d71b6527c5a995f82741e52fe2d07eac6a2626921e7465127a57405d4b5babd3
DIST u2ps-full-0.8.4.tar.gz 5496922 BLAKE2B 416a206b768328cf1a268b4706578610e6bed45ee7475d52de515e112e51bbfcc777b2f21603826d52da42b9c6a3bd10dd4e95920e77c14e957ad4a6d0888984 SHA512 31e5c22163a934a3e153ec95e2e5dd94ce79f71a72278a386a6446b1dd053161c896344c51b696c37d838eb3f06fa6fe1db6b5daa55812a06467b2525266363e
-EBUILD u2ps-0.8.4.ebuild 875 BLAKE2B 5fc21b3f72b6dd9be481a7d765664e036efd4c61fb9fd22572b11f5926054fe378f10d69dff92a6775d2781180b13f63c8b6d96a7e981a88c111107e6862d26f SHA512 0206ca5f09c6a13d7c222eed5a291a2c79d8b00a1ad27256bdc4db230bae36e5e92708589e70258e7e50e0b52f429cba4e82eff8cbc2e1a7748b4b14a9761797
+EBUILD u2ps-0.8.4.ebuild 871 BLAKE2B ee76a71dbfe790942e74257ec4bba30340b4576892424c032b3b02370b83b2f77dd4f0d6552e7b38d5271bb3ef530e9a1064716f82f8de767afe185dad67dc2b SHA512 eacaf727800f1b06376980ce822a5c059633645b41609254a8134d4deabe6f82acb1027733f056515c12a8d80c8761ae5668ba6e627f761e28c56a6050255b45
+EBUILD u2ps-1.1.ebuild 684 BLAKE2B 1d0fc4e2589e66744b61242c549ef6d650fbcb8e5ddd6c7733b0b3ec4dfd18442b7c56ae8464ba825d05996bb07ba5fcd34614a06844e47cef26126ace7685a6 SHA512 f56ebd5ef238898e355e105d7498e1f78034501a6a2ecfa4adab3b45d399ddaef8a1bdd71d814f9b75119c293b8425a816a9268aad29045aa1ecbfd1acfba1ee
MISC metadata.xml 249 BLAKE2B c8d28416ba97bac363e00b75508b255979d89984b4b053fb86e63deb2070dc32a4a363e5594e4fcf4a4c33268fd59e5e4d3c962087c7cd97e2912a6d62f0cefe SHA512 23e993b72c46792c1d03d216adc82fe8392b7b695187308ad3c5b181da2dbd9d1f68b884c60429e3bcae79693112369ef84a02545aeda90460aa2504b4057d5a
diff --git a/app-text/u2ps/files/u2ps-1.1-nostrip.patch b/app-text/u2ps/files/u2ps-1.1-nostrip.patch
new file mode 100644
index 000000000000..33ac79c4909e
--- /dev/null
+++ b/app-text/u2ps/files/u2ps-1.1-nostrip.patch
@@ -0,0 +1,14 @@
+diff -ruN u2ps-1.1.orig/Makefile u2ps-1.1/Makefile
+--- u2ps-1.1.orig/Makefile 2019-02-17 20:01:48.000000000 +0100
++++ u2ps-1.1/Makefile 2019-12-22 20:43:17.667058496 +0100
+@@ -18,8 +18,8 @@
+
+ install:
+ install -dm 0755 $(DESTDIR)$(bindir)
+- install -sm 0755 u2ps $(DESTDIR)$(bindir)/u2ps
+- install -sm 0755 psfrem $(DESTDIR)$(bindir)/psfrem
++ install -m 0755 u2ps $(DESTDIR)$(bindir)/u2ps
++ install -m 0755 psfrem $(DESTDIR)$(bindir)/psfrem
+ install -dm 0755 $(DESTDIR)$(basedir)
+ install -dm 0755 $(DESTDIR)$(basedir)/ProcSet
+ install -m 0644 res/*.ps $(DESTDIR)$(basedir)
diff --git a/app-text/u2ps/u2ps-0.8.4.ebuild b/app-text/u2ps/u2ps-0.8.4.ebuild
index 9ba7a301cae0..62fbac22b42b 100644
--- a/app-text/u2ps/u2ps-0.8.4.ebuild
+++ b/app-text/u2ps/u2ps-0.8.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -9,7 +9,7 @@ SRC_URI="mirror://sourceforge/project/${PN}.berlios/${PN}-full-${PV}.tar.gz"
LICENSE="GPL-3 GPL-3-with-font-exception free-noncomm"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE=""
DEPEND="
diff --git a/app-text/u2ps/u2ps-1.1.ebuild b/app-text/u2ps/u2ps-1.1.ebuild
new file mode 100644
index 000000000000..c28a8ccdd0aa
--- /dev/null
+++ b/app-text/u2ps/u2ps-1.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A text to PostScript converter like a2ps, but supports UTF-8"
+HOMEPAGE="https://github.com/arsv/u2ps"
+SRC_URI="https://github.com/arsv/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-text/ghostscript-gpl"
+RDEPEND="${DEPEND}"
+BDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-nostrip.patch" )
+
+src_configure() {
+ # this isnt autoconf, so econf fails...
+ ./configure \
+ --prefix=/usr \
+ --datadir=/usr/share \
+ --mandir=/usr/share/man \
+ --with-gs=/usr/bin/gs \
+ || die 'configure failed'
+}