From: "Ronny Gutbrod" <gentoo@tastytea.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
Date: Mon, 7 Mar 2022 15:15:34 +0000 (UTC) [thread overview]
Message-ID: <1646312515.5340918136b3c065747b22dd6eb015082ec9470a.tastytea@gentoo> (raw)
commit: 5340918136b3c065747b22dd6eb015082ec9470a
Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
AuthorDate: Thu Mar 3 13:01:55 2022 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Thu Mar 3 13:01:55 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=53409181
media-gfx/nsxiv: add v29, drop v27.1
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
media-gfx/nsxiv/Manifest | 2 +-
.../nsxiv/{nsxiv-27.1.ebuild => nsxiv-29.ebuild} | 33 +++++++++++-----------
media-gfx/nsxiv/nsxiv-9999.ebuild | 17 ++++++-----
3 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/media-gfx/nsxiv/Manifest b/media-gfx/nsxiv/Manifest
index 92958780b..6969ab8c5 100644
--- a/media-gfx/nsxiv/Manifest
+++ b/media-gfx/nsxiv/Manifest
@@ -1,2 +1,2 @@
-DIST nsxiv-27.1.tar.gz 54242 BLAKE2B baed35787874b02e0051e0b19b2cb9670a66ce01de1ca3446a8ca5f99fcebd785232a5b3715f0f3dd733314096e3a46a6ebcc8960417abfc1a6e5e09224f15d2 SHA512 08a250a43a92a08258e2a6e871d6d5f596206af344fe3896505c0e85bdf556d02f13b1dbc9b365ce7c597770425d0e3635878b3fceb37f324957674ccc1b1eb0
DIST nsxiv-28.tar.gz 60699 BLAKE2B d52d5933005492c55b0133b594a2b9613443324aca22ffe48dff90bdc62afc6cd48eac14ed578db9fcff5d147b5b6020edaf538335f9b26499232d0670935a3e SHA512 a1d61dc57f41e5b50225dd1e8120b8f1e31b042d43f7443ec27d2fc227e8eb98e96116357e8329011b7ca9aac10e7f0f2259bad3b57fbb1b2951a8fe4d8930bf
+DIST nsxiv-29.tar.gz 64012 BLAKE2B 1b964736619a56cc8fb4092979f12749389fa347e3fda7a40fcfdc1b07a72e101c61d99fb12b10f4ea7ab6459c8068d5c64d754e3e988ec6bfd4504813bcc485 SHA512 d891fc0885f280a622401e105dc1ed9ba39e40f3e760e3e0cd34ae79fdb32187b1d3dc15590bbefd68a18db2aa12795433907e6e744561cc891fc03e7a1f1e94
diff --git a/media-gfx/nsxiv/nsxiv-27.1.ebuild b/media-gfx/nsxiv/nsxiv-29.ebuild
similarity index 67%
rename from media-gfx/nsxiv/nsxiv-27.1.ebuild
rename to media-gfx/nsxiv/nsxiv-29.ebuild
index f53c57016..615ed9c70 100644
--- a/media-gfx/nsxiv/nsxiv-27.1.ebuild
+++ b/media-gfx/nsxiv/nsxiv-29.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,25 +18,23 @@ HOMEPAGE="https://github.com/nsxiv/nsxiv"
LICENSE="GPL-2"
SLOT="0"
-IUSE="exif +gif +jpeg +png webp tiff +inotify"
+IUSE="+statusbar exif +inotify +gif +jpeg +png webp tiff"
RDEPEND="
+ statusbar? ( x11-libs/libXft )
exif? ( media-libs/libexif )
gif? ( media-libs/giflib:0= )
+ webp? ( media-libs/libwebp )
media-libs/imlib2[X,gif?,jpeg?,png?,webp?,tiff?]
x11-libs/libX11
- x11-libs/libXft
"
DEPEND="${RDEPEND}"
pkg_setup() {
if use inotify; then
- nsxiv_autoreload="inotify"
CONFIG_CHECK+=" ~INOTIFY_USER"
ERROR_INOTIFY_USER="${P} requires inotify in-kernel support."
linux-info_pkg_setup
- else
- nsxiv_autoreload="nop"
fi
}
@@ -47,23 +45,26 @@ src_prepare() {
}
src_configure() {
- sed -i \
- -e '/-include config.mk/d' \
- -e '/\$(OBJS): / s|config.mk||' \
- -e '/^install: / s|: all|:|' \
+ sed -i -e '/^install: / s|: all|:|' \
+ -e 's|^CFLAGS =|CFLAGS +=|' \
Makefile || die "sed failed"
}
src_compile() {
- emake CC="$(tc-getCC)" \
- HAVE_LIBEXIF=$(usex exif 1 0) \
- HAVE_LIBGIF=$(usex gif 1 0) \
- AUTORELOAD="${nsxiv_autoreload}"
+ emake CC="$(tc-getCC)" OPT_DEP_DEFAULT=0 \
+ HAVE_INOTIFY="$(usex inotify 1 0)" \
+ HAVE_LIBFONTS="$(usex statusbar 1 0)" \
+ HAVE_LIBGIF="$(usex gif 1 0)" \
+ HAVE_LIBWEBP="$(usex webp 1 0)" \
+ HAVE_LIBEXIF="$(usex exif 1 0)"
}
src_install() {
- emake DESTDIR="${ED}" PREFIX=/usr install
- emake -C icon DESTDIR="${ED}" PREFIX=/usr install
+ emake \
+ DESTDIR="${ED}" \
+ PREFIX="/usr" \
+ EGPREFIX="/usr/share/doc/${P}/examples" \
+ install install-icon
dodoc README.md
domenu nsxiv.desktop
diff --git a/media-gfx/nsxiv/nsxiv-9999.ebuild b/media-gfx/nsxiv/nsxiv-9999.ebuild
index 6c5bd08ad..615ed9c70 100644
--- a/media-gfx/nsxiv/nsxiv-9999.ebuild
+++ b/media-gfx/nsxiv/nsxiv-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -45,8 +45,8 @@ src_prepare() {
}
src_configure() {
- sed -i -e '/^install: / s|: all|:|' \
- -e 's|^CFLAGS ?=|CFLAGS +=|' \
+ sed -i -e '/^install: / s|: all|:|' \
+ -e 's|^CFLAGS =|CFLAGS +=|' \
Makefile || die "sed failed"
}
@@ -60,12 +60,11 @@ src_compile() {
}
src_install() {
- export DESTDIR="${ED}"
- export PREFIX="/usr"
- export EGPREFIX="${PREFIX}/share/doc/${P}/examples"
-
- emake install
- emake install-icon
+ emake \
+ DESTDIR="${ED}" \
+ PREFIX="/usr" \
+ EGPREFIX="/usr/share/doc/${P}/examples" \
+ install install-icon
dodoc README.md
domenu nsxiv.desktop
next reply other threads:[~2022-03-07 15:15 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-07 15:15 Ronny Gutbrod [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-01 21:51 [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/ Lucio Sauer
2024-06-28 21:44 David Roman
2024-05-25 15:48 Julien Roy
2024-05-15 12:36 Julien Roy
2024-05-15 12:36 Julien Roy
2023-10-02 12:27 David Roman
2023-10-02 12:24 David Roman
2023-05-21 7:23 Viorel Munteanu
2023-05-21 7:23 Viorel Munteanu
2023-01-29 10:40 Viorel Munteanu
2023-01-10 8:37 Haelwenn Monnier
2023-01-10 8:37 Haelwenn Monnier
2022-08-11 13:45 Andrew Ammerlaan
2022-06-18 19:19 Andrew Ammerlaan
2022-06-13 10:49 Andrew Ammerlaan
2021-09-24 8:28 Arthur Zamarin
2021-09-17 1:57 Haelwenn Monnier
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=1646312515.5340918136b3c065747b22dd6eb015082ec9470a.tastytea@gentoo \
--to=gentoo@tastytea.de \
--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