diff options
Diffstat (limited to 'app-text/libpaper')
-rw-r--r-- | app-text/libpaper/Manifest | 4 | ||||
-rw-r--r-- | app-text/libpaper/libpaper-1.2.3.ebuild | 4 | ||||
-rw-r--r-- | app-text/libpaper/libpaper-1.2.4.ebuild | 40 |
3 files changed, 47 insertions, 1 deletions
diff --git a/app-text/libpaper/Manifest b/app-text/libpaper/Manifest index aa44611cd771..6368b45dbbad 100644 --- a/app-text/libpaper/Manifest +++ b/app-text/libpaper/Manifest @@ -1,5 +1,7 @@ DIST libpaper-1.2.3.tar.gz 1221218 BLAKE2B 55b209896e50f177b9dbd04a53a1663846a2d43c91487d62b1161a09416cbeaf3057ec5c79248a3d54eb35a61081d8e1d8fe0fb80304b03bf3a1b5151f21f2c3 SHA512 768e15f57e6c2ab6805c175ba0eebf1d130b8ff16b1c929e6557c5d8ceb7c94ead4e38cfc48021a5059e55cf43595729e8c04c9eee7949bdd516c8267fb7a6af +DIST libpaper-1.2.4.tar.gz 1221202 BLAKE2B bdcf4372caa045207acdb28c10e7981c3f23f12ef54c989395be2efe38ece51f437fa5bf50618aae7276a864bffc0eef81ab4727b912d63673615f12bf1f2cad SHA512 1baed66c4ecc725f3eae6dda0b4401c17baf23ef846486c1249f075a6e01537c1050d9617e929cff7a38d2b32fd1f8e1e7d7e090eae300434544a92b210a0fca DIST libpaper_1.1.28.tar.gz 42356 BLAKE2B 48c4a28c6ff01bd91e257b6b306e787e5c6112052cff09bdb501d1cc4ddd10964c3588942098a6092d5a44391dfb22e10d5147d4c5012497f473473129ff7422 SHA512 3bf6ebb0af89931d2f72ea4a09a7fa958b2facda5f238983ec7bac39652e08614b33f0de3af74a03457b2a4203eee4950bf18a4b726e79aa64093ace6a1fb0bc EBUILD libpaper-1.1.28.ebuild 1148 BLAKE2B b5556a5ae27415083aa89ca18a6f9dc232026a37fae823b9f96ef0325d28f2c1e37e3f34ecee1f4773793fb0b31b7f607ea955c9fa96a88d18a4b90eca8f54be SHA512 07e36537c2278711c602c667e50e72091aef0bbbb79de8a99ed915c7c1f600be4c7d53f7446578b3b1734375a07ab8464e5ab0b342ef50516d1e2b0e7c325d07 -EBUILD libpaper-1.2.3.ebuild 1058 BLAKE2B eebe78764599d505526bd118d9be0ddad3e93138d0d420d8caf500ed77aeec0d94a675e5c690a41a9aa6bbb04ae353280fd0607869778928b9e63a330eee442a SHA512 1c37331568e378dcf665b88ea8c9a75f90aface8df02f5ac55f8f90b6f9ab414dcef1f67711b19167968acf653fae2c6ce2f521f7bf12700ac6f9795f5f565c9 +EBUILD libpaper-1.2.3.ebuild 1090 BLAKE2B 7ed2d8f8a1f6d59fcd32ecfe8b3274e5741d54df1ae0abb51b4ad898699f643ba5be865913949badefc1a09d99e0d12fc7a1efad7f2fa0f1632f141f52fea0b5 SHA512 0651db2e5e10c60e6a5e41b223c26504c257912ce89cfc4d6f726f44c18ff9dda3d7c2043fc5f02cb7faaada947d12c93ba0acfa63dd31a821f4a5e950105f9f +EBUILD libpaper-1.2.4.ebuild 1090 BLAKE2B 7ed2d8f8a1f6d59fcd32ecfe8b3274e5741d54df1ae0abb51b4ad898699f643ba5be865913949badefc1a09d99e0d12fc7a1efad7f2fa0f1632f141f52fea0b5 SHA512 0651db2e5e10c60e6a5e41b223c26504c257912ce89cfc4d6f726f44c18ff9dda3d7c2043fc5f02cb7faaada947d12c93ba0acfa63dd31a821f4a5e950105f9f MISC metadata.xml 342 BLAKE2B 28767bfca8e43186de0792106c408d3a8e0ef8c9c59836789b045c23f12163e43b9eb547c93f1751f031b8f61bd7940f50ccaa95f2ecc14cdf5a9267be721d0e SHA512 0d16a636e3cce2ee9051bd694f34a072ff13d4ca6f4c9f3e81443cea386f48f5863db03ca9cb050f43a6a1fa483d401969617597d68024fee10058a0c72b3585 diff --git a/app-text/libpaper/libpaper-1.2.3.ebuild b/app-text/libpaper/libpaper-1.2.3.ebuild index 08482df1290f..df529ad758d3 100644 --- a/app-text/libpaper/libpaper-1.2.3.ebuild +++ b/app-text/libpaper/libpaper-1.2.3.ebuild @@ -12,6 +12,10 @@ LICENSE="LGPL-3+ public-domain" SLOT="0" 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" +BDEPEND=" + sys-apps/help2man +" + # False positive (runs within a conditional) QA_AM_MAINTAINER_MODE=".*help2man.*" diff --git a/app-text/libpaper/libpaper-1.2.4.ebuild b/app-text/libpaper/libpaper-1.2.4.ebuild new file mode 100644 index 000000000000..df529ad758d3 --- /dev/null +++ b/app-text/libpaper/libpaper-1.2.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 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" + +# paperspecs is public-domain +LICENSE="LGPL-3+ public-domain" +SLOT="0" +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" + +BDEPEND=" + sys-apps/help2man +" + +# False positive (runs within a conditional) +QA_AM_MAINTAINER_MODE=".*help2man.*" + +src_configure() { + econf --enable-relocatable +} + +src_install() { + default + + find "${ED}" -type f -name '*.la' -delete || die + + dodir /etc + (paperconf 2>/dev/null || echo a4) > "${ED}"/etc/papersize \ + || die "papersize config failed" +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + elog "Run e.g. \"paperconfig -p letter\" as root to use letter-pagesizes" + fi +} |