public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pdfjam/
Date: Sat, 22 Jun 2024 11:22:05 +0000 (UTC)	[thread overview]
Message-ID: <1719055310.98ee41ed3e7458b62326d5b72b412865643a4dcb.flow@gentoo> (raw)

commit:     98ee41ed3e7458b62326d5b72b412865643a4dcb
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 22 11:20:08 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Jun 22 11:21:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98ee41ed

app-text/pdfjam: add 'extra' USE flag for pdfjam-extras

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/pdfjam/Manifest           |  1 +
 app-text/pdfjam/metadata.xml       |  3 +++
 app-text/pdfjam/pdfjam-3.10.ebuild | 22 +++++++++++++++++++---
 3 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/app-text/pdfjam/Manifest b/app-text/pdfjam/Manifest
index b1ba891c3266..90a6f52c291f 100644
--- a/app-text/pdfjam/Manifest
+++ b/app-text/pdfjam/Manifest
@@ -1,2 +1,3 @@
 DIST pdfjam-3.10.tar.gz 121928 BLAKE2B 5ff82abba43becb2792ff9e6a13dd3458d4b884e9e2361d116c638bb8a396fd8ca833361dfbc981433ebf445cfa8bfe99bb5fc7f1a76a35361666b91acef934e SHA512 dd69d8e5f86bb4fcb8db0e71454fdb0f2dd75e222d68e8cf3870d9f318aa7e8ccf51f87977ad71ddba1d78569e358044b111b8014f88dddf86654dc5bc334e90
+DIST pdfjam-extra-20191118.tar.gz 15457 BLAKE2B 3d673ba68a1ee89cec7af0ec7d7fc61c8993b9ae328d3362a6bbbae47cbda2caa2e8f4ecd28424dd894c31d14754228b067389b61fa7845cfe5dfc0e2b5d9b8d SHA512 1d02abb9d81baf6edf3e51e2c7838df191a7a18b4b50518ee1ae3108020a274d7608570654ab540539d3717e51ef10f548c83c3480681bc20c9702280f694b8f
 DIST pdfjam_208.tgz 180725 BLAKE2B 903ce4f0874c9fc9ad23f3db37b882596589d6470dfe9289f65a72fb66ff843bbd49b52086d7b2d2cbbfb1b6406cbbda64d46b933a853d5d681ef88d4033372c SHA512 728c8d304c6d2af773980d20ef4a4be6e0a5dad286ad8cd00be9b1687f5024e00032a750c10c74dcd24431f081368d02b76f03cc5bb1c8725a060cd70be0fd8c

diff --git a/app-text/pdfjam/metadata.xml b/app-text/pdfjam/metadata.xml
index c5d16eb357c3..af299c1e9b05 100644
--- a/app-text/pdfjam/metadata.xml
+++ b/app-text/pdfjam/metadata.xml
@@ -5,6 +5,9 @@
 		<email>tex@gentoo.org</email>
 		<name>Gentoo TeX Project</name>
 	</maintainer>
+	<use>
+		<flag name="extra">Install unsupported wrapper scripts, for example pdf90, pdfnup, pdfjoin</flag>
+	</use>
 	<upstream>
 		<remote-id type="github">rrthomas/pdfjam</remote-id>
 	</upstream>

diff --git a/app-text/pdfjam/pdfjam-3.10.ebuild b/app-text/pdfjam/pdfjam-3.10.ebuild
index fefcf36b724e..e8674eb746da 100644
--- a/app-text/pdfjam/pdfjam-3.10.ebuild
+++ b/app-text/pdfjam/pdfjam-3.10.ebuild
@@ -3,15 +3,23 @@
 
 EAPI=8
 
-DESCRIPTION="Allows the manipulation of PDF files (pdfnup, pdfjoin and pdf90)"
+PDFJAM_EXTRAS_COMMIT=622e03add59db004144c0b41722a09b3b29d6d3e
+
+DESCRIPTION="Allows the manipulation of PDF files"
 HOMEPAGE="https://github.com/rrthomas/pdfjam"
-SRC_URI="https://github.com/rrthomas/pdfjam/releases/download/v${PV}/pdfjam-${PV}.tar.gz"
+SRC_URI="
+	https://github.com/rrthomas/pdfjam/releases/download/v${PV}/pdfjam-${PV}.tar.gz
+	extra? (
+		https://github.com/rrthomas/pdfjam-extras/archive/${PDFJAM_EXTRAS_COMMIT}.tar.gz
+			-> pdfjam-extra-20191118.tar.gz
+	)
+"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 
-IUSE="test"
+IUSE="extra test"
 RESTRICT="!test? ( test )"
 
 DEPEND="virtual/latex-base"
@@ -39,4 +47,12 @@ src_install() {
 
 	insinto usr/share/etc
 	doins pdfjam.conf
+
+	if use extra; then
+		cd ../pdfjam-extras-${PDFJAM_EXTRAS_COMMIT} || die
+
+		dobin bin/*
+		dodoc README.md
+		doman man1/*
+	fi
 }


             reply	other threads:[~2024-06-22 11:22 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-22 11:22 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-19  8:41 [gentoo-commits] repo/gentoo:master commit in: app-text/pdfjam/ Florian Schmaus
2024-09-18 16:14 Andreas K. Hüttel
2024-09-18 16:14 Andreas K. Hüttel
2024-08-10  5:27 Michał Górny
2024-08-09 18:07 Arthur Zamarin
2024-08-09  8:57 Sam James
2024-08-06  1:46 Sam James
2024-08-06  1:46 Sam James
2024-08-05 20:42 Sam James
2024-08-05 20:42 Sam James
2024-06-22 16:17 Florian Schmaus
2024-06-22 10:33 Florian Schmaus
2024-06-22  9:48 Florian Schmaus
2024-06-22  9:48 Florian Schmaus
2024-06-22  9:48 Florian Schmaus
2021-08-05 14:02 Yixun Lan
2021-01-06 13:46 Fabian Groffen
2019-11-23 18:19 Michał Górny
2019-11-23 18:19 Michał Górny
2019-11-13 16:09 Agostino Sarubbo
2019-11-12 18:07 Agostino Sarubbo
2019-11-12 10:59 Agostino Sarubbo
2019-11-12 10:45 Agostino Sarubbo
2019-11-06 20:11 Sergei Trofimovich
2019-10-27 12:22 Sebastian Pipping
2017-06-17 14:41 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1719055310.98ee41ed3e7458b62326d5b72b412865643a4dcb.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox