From: "Gonçalo Negrier Duarte" <gonegrier.duarte@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/swww/
Date: Sun, 26 Nov 2023 17:09:31 +0000 (UTC) [thread overview]
Message-ID: <1701018559.2dbfcd57cddb3dc28ad2c6507f0b32fe82477030.gonegrier.duarte@gentoo> (raw)
commit: 2dbfcd57cddb3dc28ad2c6507f0b32fe82477030
Author: Gonçalo Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Sun Nov 26 17:01:58 2023 +0000
Commit: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Sun Nov 26 17:09:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2dbfcd57
gui-apps/swww: add man useflag
* generate and install man pages
Signed-off-by: Gonçalo Duarte <gonegrier.duarte <AT> gmail.com>
gui-apps/swww/swww-0.7.3.ebuild | 25 ++++++++++++-------------
gui-apps/swww/swww-0.8.1.ebuild | 25 ++++++++++++-------------
2 files changed, 24 insertions(+), 26 deletions(-)
diff --git a/gui-apps/swww/swww-0.7.3.ebuild b/gui-apps/swww/swww-0.7.3.ebuild
index 656fb7343f..bbf7b68c02 100644
--- a/gui-apps/swww/swww-0.7.3.ebuild
+++ b/gui-apps/swww/swww-0.7.3.ebuild
@@ -212,7 +212,7 @@ SRC_URI="https://github.com/Horus645/swww/archive/refs/tags/v${PV}.tar.gz -> ${P
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT Unicode-DFS-2016 Unlicense ZLIB"
SLOT="0"
-IUSE="debug +man"
+IUSE="+man"
KEYWORDS="~amd64"
DEPEND="app-arch/lz4
@@ -231,22 +231,21 @@ src_install() {
dofishcomp "${WORKDIR}/swww-${PV}/completions/swww.fish"
if use man ; then
- for FILE in "${WORKDIR}/swww-${PV}/doc/*scd"; do
- scdoc < "$FILE" > "${WORKDIR}/swww-${PV}/doc/"
- done
- doman "${WORKDIR}/swww-${PV}/doc/swww.1"
- doman "${WORKDIR}/swww-${PV}/doc/swww-clear.1"
- doman "${WORKDIR}/swww-${PV}/doc/swww-daemon.1"
- doman "${WORKDIR}/swww-${PV}/doc/swww-img.1"
- doman "${WORKDIR}/swww-${PV}/doc/swww-init.1"
- doman "${WORKDIR}/swww-${PV}/doc/swww-kill.1"
- doman "${WORKDIR}/swww-${PV}/doc/swww-query.1"
+ cd "${WORKDIR}/swww-${PV}/doc/"
+ ./gen.sh #generate the man pages
+ doman "generated/swww.1"
+ doman "generated/swww-clear.1"
+ doman "generated/swww-daemon.1"
+ doman "generated/swww-img.1"
+ doman "generated/swww-init.1"
+ doman "generated/swww-kill.1"
+ doman "generated/swww-query.1"
fi
if use debug ; then
- cd target/debug || die
+ cd "${WORKDIR}/swww-${PV}/target/debug" || die
else
- cd target/release || die
+ cd "${WORKDIR}/swww-${PV}/target/release" || die
fi
dobin swww{,-daemon}
diff --git a/gui-apps/swww/swww-0.8.1.ebuild b/gui-apps/swww/swww-0.8.1.ebuild
index 4526052f81..6a6f6fa5e5 100644
--- a/gui-apps/swww/swww-0.8.1.ebuild
+++ b/gui-apps/swww/swww-0.8.1.ebuild
@@ -214,7 +214,7 @@ SRC_URI="https://github.com/Horus645/swww/archive/refs/tags/v${PV}.tar.gz -> ${P
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT Unicode-DFS-2016 Unlicense ZLIB"
SLOT="0"
-IUSE="debug +man"
+IUSE="+man"
KEYWORDS="~amd64"
DEPEND="
@@ -234,22 +234,21 @@ src_install() {
dofishcomp "${WORKDIR}/swww-${PV}/completions/swww.fish"
if use man ; then
- for FILE in "${WORKDIR}/swww-${PV}/doc/*scd"; do
- scdoc < "$FILE" > "${WORKDIR}/swww-${PV}/doc/"
- done
- doman "${WORKDIR}/swww-${PV}/doc/swww.1"
- doman "${WORKDIR}/swww-${PV}/doc/swww-clear.1"
- doman "${WORKDIR}/swww-${PV}/doc/swww-daemon.1"
- doman "${WORKDIR}/swww-${PV}/doc/swww-img.1"
- doman "${WORKDIR}/swww-${PV}/doc/swww-init.1"
- doman "${WORKDIR}/swww-${PV}/doc/swww-kill.1"
- doman "${WORKDIR}/swww-${PV}/doc/swww-query.1"
+ cd "${WORKDIR}/swww-${PV}/doc/"
+ ./gen.sh #generate the man pages
+ doman "generated/swww.1"
+ doman "generated/swww-clear.1"
+ doman "generated/swww-daemon.1"
+ doman "generated/swww-img.1"
+ doman "generated/swww-init.1"
+ doman "generated/swww-kill.1"
+ doman "generated/swww-query.1"
fi
if use debug ; then
- cd target/debug || die
+ cd "${WORKDIR}/swww-${PV}/target/debug" || die
else
- cd target/release || die
+ cd "${WORKDIR}/swww-${PV}/target/release" || die
fi
dobin swww{,-daemon}
next reply other threads:[~2023-11-26 17:09 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-26 17:09 Gonçalo Negrier Duarte [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-03 17:43 [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/swww/ Philippe-Alexandre Mathieu
2024-11-10 15:34 Viorel Munteanu
2024-08-28 13:59 Takuya Wakazono
2024-08-28 13:59 Takuya Wakazono
2024-05-09 10:04 David Roman
2024-04-13 7:06 Remigiusz Micielski
2024-04-05 10:28 Julien Roy
2024-01-26 16:36 Remigiusz Micielski
2024-01-16 20:15 Remigiusz Micielski
2024-01-16 19:57 Remigiusz Micielski
2023-12-04 18:07 Remigiusz Micielski
2023-12-03 9:47 Remigiusz Micielski
2023-11-26 17:13 Gonçalo Negrier Duarte
2023-11-26 17:09 Gonçalo Negrier Duarte
2023-08-29 15:24 Remigiusz Micielski
2023-04-24 12:56 Remigiusz Micielski
2023-04-22 12:01 Remigiusz Micielski
2023-04-22 11:58 Remigiusz Micielski
2023-04-02 11:46 Remigiusz Micielski
2023-03-26 15:37 Remigiusz Micielski
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=1701018559.2dbfcd57cddb3dc28ad2c6507f0b32fe82477030.gonegrier.duarte@gentoo \
--to=gonegrier.duarte@gmail.com \
--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