commit:     49ac1f4985e3a0c393d70d53825d3ff5ca8b56e9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 16 09:19:49 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 09:19:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49ac1f49

app-text/libpaper: add 2.1.2

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/libpaper/Manifest              |  1 +
 app-text/libpaper/libpaper-2.1.2.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/app-text/libpaper/Manifest b/app-text/libpaper/Manifest
index 420c5ed92744..23883c1ac686 100644
--- a/app-text/libpaper/Manifest
+++ b/app-text/libpaper/Manifest
@@ -3,4 +3,5 @@ DIST libpaper-2.0.12.tar.gz 1304598 BLAKE2B 
e8a78fc3efc3d0676e8596c0c457f4ebab26
 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-2.1.1.tar.gz 1262975 BLAKE2B 
1605accd560f34ffc08f556fbab6caae4f945dccf83a08e2a0f1f971915d914450a615bf76db316fce3e32a38e53a6a77751df7617d0271cd1f55eaa7db084e8
 SHA512 
90fabb586115d99c9fb4d4ecee87ac0d1b2ac17ddf0c89287eb82e21834b0a2bc7cd5049fb73f3e20e4b494c374413c388b28c3274ceb278ce81928e17fde288
+DIST libpaper-2.1.2.tar.gz 1264200 BLAKE2B 
d931c70ea1b26e57ef5cf120189dbf089d7b122ab195b154e6dc100845f63acd051195662d1b019a2f738ebe65047207b39609f4db0e748eaabc3868f3a2ccb0
 SHA512 
29c5d8074c10f6413b4eaf779153828e59b4b7353e6b380b37ed6cac04a92dc367da775a62e561b47064728f4173cb526d05a8abd80334ad229ee2a42039ac7b
 DIST libpaper_1.1.28.tar.gz 42356 BLAKE2B 
48c4a28c6ff01bd91e257b6b306e787e5c6112052cff09bdb501d1cc4ddd10964c3588942098a6092d5a44391dfb22e10d5147d4c5012497f473473129ff7422
 SHA512 
3bf6ebb0af89931d2f72ea4a09a7fa958b2facda5f238983ec7bac39652e08614b33f0de3af74a03457b2a4203eee4950bf18a4b726e79aa64093ace6a1fb0bc

diff --git a/app-text/libpaper/libpaper-2.1.2.ebuild 
b/app-text/libpaper/libpaper-2.1.2.ebuild
new file mode 100644
index 000000000000..2cae82b147f6
--- /dev/null
+++ b/app-text/libpaper/libpaper-2.1.2.ebuild
@@ -0,0 +1,30 @@
+# 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 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+       # Gnulib false positives #898346
+       # These are all tested without an #include first
+       MIN alignof static_assert
+)
+
+src_configure() {
+       econf --enable-relocatable
+}
+
+src_install() {
+       default
+
+       find "${ED}" -type f -name '*.la' -delete || die
+}

Reply via email to