From: "Tim Harder" <radhermit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/sxiv/
Date: Thu, 17 Aug 2017 20:08:27 +0000 (UTC) [thread overview]
Message-ID: <1503000250.97e297085c06b587a90e43b0c466b0d94c092ba4.radhermit@gentoo> (raw)
commit: 97e297085c06b587a90e43b0c466b0d94c092ba4
Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 17 20:04:10 2017 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Thu Aug 17 20:04:10 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97e29708
media-gfx/sxiv: use build options to disable exif/gif support
media-gfx/sxiv/sxiv-9999.ebuild | 20 ++++----------------
1 file changed, 4 insertions(+), 16 deletions(-)
diff --git a/media-gfx/sxiv/sxiv-9999.ebuild b/media-gfx/sxiv/sxiv-9999.ebuild
index 75f593a1b0f..d6b5f0192b8 100644
--- a/media-gfx/sxiv/sxiv-9999.ebuild
+++ b/media-gfx/sxiv/sxiv-9999.ebuild
@@ -31,28 +31,16 @@ DEPEND="${RDEPEND}"
src_prepare() {
sed -i '/^LDFLAGS/d' Makefile || die
- # disable exif support as required
- if ! use exif; then
- sed \
- -e 's/^.* -DHAVE_GIFLIB/#\0/' \
- -e 's/^.* -lgif/#\0/' \
- -i Makefile || die
- fi
-
- # disable gif support as required
- if ! use gif; then
- sed \
- -e 's/^.* -DHAVE_LIBEXIF/#\0/' \
- -e 's/^.* -lexif/#\0/' \
- -i Makefile || die
- fi
-
tc-export CC
restore_config config.h
default
}
+src_compile() {
+ emake $(usex exif "" NO_LIBEXIF=1) $(usex gif "" NO_GIFLIB=1)
+}
+
src_install() {
emake DESTDIR="${ED}" PREFIX=/usr install
emake -C icon DESTDIR="${ED}" PREFIX=/usr install
next reply other threads:[~2017-08-17 20:08 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-17 20:08 Tim Harder [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-24 7:02 [gentoo-commits] repo/gentoo:master commit in: media-gfx/sxiv/ Joonas Niilola
2022-09-21 19:53 Georgy Yakovlev
2021-12-08 10:14 Yixun Lan
2021-09-13 15:56 Georgy Yakovlev
2021-09-13 15:55 Georgy Yakovlev
2020-06-12 18:07 Tim Harder
2020-06-09 13:53 Agostino Sarubbo
2020-06-09 13:50 Agostino Sarubbo
2020-06-09 13:45 Agostino Sarubbo
2020-06-07 21:02 Mart Raudsepp
2020-06-07 1:47 Georgy Yakovlev
2020-06-07 1:47 Georgy Yakovlev
2020-06-07 1:44 Georgy Yakovlev
2020-02-06 4:56 Tim Harder
2020-02-05 5:38 Tim Harder
2019-12-26 12:12 Georgy Yakovlev
2019-12-26 12:12 Georgy Yakovlev
2019-11-11 5:02 Tim Harder
2019-09-09 6:54 Agostino Sarubbo
2019-09-07 21:07 Thomas Deutschmann
2019-02-10 6:47 Tim Harder
2018-02-03 9:15 Tim Harder
2018-02-03 9:15 Tim Harder
2017-10-29 6:18 Tim Harder
2017-10-12 17:33 Tim Harder
2017-10-12 17:33 Tim Harder
2017-10-12 17:33 Tim Harder
2017-08-21 20:07 Tim Harder
2017-08-17 20:08 Tim Harder
2017-08-17 20:08 Tim Harder
2017-04-06 8:33 Tim Harder
2016-11-12 5:53 Tim Harder
2016-11-12 5:53 Tim Harder
2016-08-08 6:59 Tim Harder
2016-08-08 6:56 Tim Harder
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=1503000250.97e297085c06b587a90e43b0c466b0d94c092ba4.radhermit@gentoo \
--to=radhermit@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