summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-04-13 19:51:55 +0100
committerSam James <sam@gentoo.org>2023-04-13 19:51:55 +0100
commitab408743630ecbec968dce15c7a61bdee11a7f41 (patch)
tree9fef5b857e156fa025180645a4667c0d87628116 /app-text/libpaper
parentapp-crypt/qca: backport OpenSSL 3 test fixes (diff)
downloadgentoo-ab408743630ecbec968dce15c7a61bdee11a7f41.tar.gz
gentoo-ab408743630ecbec968dce15c7a61bdee11a7f41.tar.bz2
gentoo-ab408743630ecbec968dce15c7a61bdee11a7f41.zip
app-text/libpaper: add 2.1.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/libpaper')
-rw-r--r--app-text/libpaper/Manifest1
-rw-r--r--app-text/libpaper/libpaper-2.1.0.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/app-text/libpaper/Manifest b/app-text/libpaper/Manifest
index 34f8c6abbfcb..3e37ace214cb 100644
--- a/app-text/libpaper/Manifest
+++ b/app-text/libpaper/Manifest
@@ -1,4 +1,5 @@
DIST libpaper-2.0.10.tar.gz 1304460 BLAKE2B 89c0ab7348cff01e278a64fe984f51102146c38699d1036ae265343cc7174a2954974770384e625582669217f57992ed28dd1755867e2f7d00b7e423323f500c SHA512 629d357b4946aca324ca95024dbfd5d49a9e7110b6163eac72482c010c4cb84b50a50b5b119399090a49eaef58329bf3c497d3d871b7c9e46ae5c8e71364c2ce
DIST libpaper-2.0.12.tar.gz 1304598 BLAKE2B e8a78fc3efc3d0676e8596c0c457f4ebab26eb2f4d4f8e885237f475db4969f6c875bbb7021afb41a212e1cf8bc540e56b301964ce9f3399bb65af789db085cd SHA512 edea8758894eb4b36d7164623d34ae7721a903d7fccaf3a0a40b598e901699b8d2754cb02be9a289494de46e3d30463806c3d85a9d701947218bb7146cf05af4
DIST libpaper-2.0.4.tar.gz 1286975 BLAKE2B 2751422ca3176d1f47d98c74d948d986e6dcff15acbac126535f526312900650e25fa0a4d68ceebc5d718f5135be22a9f9407d690dc5d5e22eab9dc55b040fc8 SHA512 d603a807c8fdc57b704cdfdc90bedf05c54c8a7b67e8cf52f26298c22a6cee5291fcadc6e67d28b00cf9d68f4890a394e56c8e91f0b97c8edfac4662fe4dc8f0
+DIST libpaper-2.1.0.tar.gz 1306128 BLAKE2B 6e44e3d2fcf01faa551b1df401155a96b8612f5372683cf8f62af7af4ec93e748c650a3246a0548c3fea9f48c4f61b21a0a9c6310d4d19aed599b8b165c0bd72 SHA512 0e54084ee4aada1eb87cb8e0423ff23039298b0135c7f1c7c92794ef9010ab0704e5fab94f2e34dfbee2f8c048e11b6acecc04a4f3ac7c772dec5be43f870392
DIST libpaper_1.1.28.tar.gz 42356 BLAKE2B 48c4a28c6ff01bd91e257b6b306e787e5c6112052cff09bdb501d1cc4ddd10964c3588942098a6092d5a44391dfb22e10d5147d4c5012497f473473129ff7422 SHA512 3bf6ebb0af89931d2f72ea4a09a7fa958b2facda5f238983ec7bac39652e08614b33f0de3af74a03457b2a4203eee4950bf18a4b726e79aa64093ace6a1fb0bc
diff --git a/app-text/libpaper/libpaper-2.1.0.ebuild b/app-text/libpaper/libpaper-2.1.0.ebuild
new file mode 100644
index 000000000000..d77438c2f590
--- /dev/null
+++ b/app-text/libpaper/libpaper-2.1.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Library for handling paper characteristics"
+HOMEPAGE="https://github.com/rrthomas/libpaper"
+SRC_URI="https://github.com/rrthomas/libpaper/releases/download/v${PV}/${P}.tar.gz"
+
+# See README.
+# paperspecs is public-domain
+LICENSE="LGPL-2.1+ GPL-3+ public-domain"
+SLOT="0/$(ver_cut 1)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+src_configure() {
+ econf --enable-relocatable
+}
+
+src_install() {
+ default
+
+ find "${ED}" -type f -name '*.la' -delete || die
+}