From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/imv/
Date: Mon, 16 Dec 2019 10:02:51 +0000 (UTC) [thread overview]
Message-ID: <1576490570.26266f08e7936e4e44cf842669345c3c6425b686.jer@gentoo> (raw)
commit: 26266f08e7936e4e44cf842669345c3c6425b686
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 16 09:59:50 2019 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Dec 16 10:02:50 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26266f08
media-gfx/imv: Update live ebuild
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
media-gfx/imv/imv-9999.ebuild | 69 ++++++++++++++++++++++++++++++++++++++-----
1 file changed, 61 insertions(+), 8 deletions(-)
diff --git a/media-gfx/imv/imv-9999.ebuild b/media-gfx/imv/imv-9999.ebuild
index 275366fe87f..927a92ad359 100644
--- a/media-gfx/imv/imv-9999.ebuild
+++ b/media-gfx/imv/imv-9999.ebuild
@@ -1,30 +1,83 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-
-inherit xdg-utils git-r3
+EAPI=7
+inherit git-r3 toolchain-funcs xdg-utils
DESCRIPTION="Minimal image viewer designed for tiling window manager users"
HOMEPAGE="https://github.com/eXeC64/imv"
-EGIT_REPO_URI="https://github.com/eXeC64/imv.git"
+EGIT_REPO_URI="https://github.com/eXeC64/imv"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS=""
-IUSE="test"
+IUSE="X +freeimage jpeg png svg test tiff wayland"
RESTRICT="!test? ( test )"
+REQUIRED_USE="
+ || ( X wayland )
+"
RDEPEND="
!sys-apps/renameutils
media-libs/fontconfig
media-libs/libsdl2
media-libs/sdl2-ttf
- media-libs/freeimage
+ X? (
+ x11-libs/pango
+ x11-libs/libX11
+ )
+ freeimage? ( media-libs/freeimage )
+ jpeg? ( media-libs/libjpeg-turbo )
+ png? ( media-libs/libpng )
+ svg? ( gnome-base/librsvg )
+ tiff? ( media-libs/tiff )
+ wayland? ( dev-libs/wayland )
+"
+BDEPEND="
+ app-text/asciidoc
+ test? ( dev-util/cmocka )
"
+DEPEND="
+ ${RDEPEND}
+"
+
+src_prepare() {
+ default
+ sed -i -e 's|pkg-config|$(PKG_CONFIG)|g' Makefile || die
+}
-DEPEND="${RDEPEND}
- test? ( dev-util/cmocka )"
+src_configure() {
+ tc-export PKG_CONFIG
+ local WINDOWS
+ if use X; then
+ if ! use wayland; then
+ WINDOWS=x11
+ else
+ WINDOWS=all
+ fi
+ else
+ if use wayland; then
+ WINDOWS=wayland
+ fi
+ fi
+
+ BACKENDS=(
+ BACKEND_FREEIMAGE=$(usex freeimage)
+ BACKEND_JPEG=$(usex jpeg)
+ BACKEND_LIBPNG=$(usex png)
+ BACKEND_LIBRSVG=$(usex svg)
+ BACKEND_LIBTIFF=$(usex tiff)
+ WINDOWS=${WINDOWS}
+ )
+}
+
+src_compile() {
+ emake ${BACKENDS[@]}
+}
+
+src_install() {
+ emake ${BACKENDS[@]} DESTDIR="${D}" install
+}
pkg_postinst() {
xdg_desktop_database_update
next reply other threads:[~2019-12-16 10:02 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-16 10:02 Jeroen Roovers [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-02 2:16 [gentoo-commits] repo/gentoo:master commit in: media-gfx/imv/ Michael Orlitzky
2024-03-20 7:17 Ionen Wolkens
2024-03-13 19:38 Arthur Zamarin
2024-03-13 19:38 Arthur Zamarin
2024-03-13 15:03 Arthur Zamarin
2024-02-20 23:21 Ionen Wolkens
2024-01-29 17:17 Sam James
2024-01-19 20:07 Ionen Wolkens
2024-01-19 20:07 Ionen Wolkens
2023-01-26 15:13 Ionen Wolkens
2023-01-20 22:48 Ionen Wolkens
2023-01-20 22:48 Ionen Wolkens
2023-01-19 5:48 Ionen Wolkens
2023-01-19 5:48 Ionen Wolkens
2022-12-19 7:23 Ionen Wolkens
2022-12-16 2:40 Ionen Wolkens
2022-11-01 20:39 Ionen Wolkens
2022-10-07 0:56 Ionen Wolkens
2022-08-14 19:33 Ionen Wolkens
2022-06-30 19:44 Ionen Wolkens
2021-12-23 1:03 Ionen Wolkens
2021-12-16 19:11 Ionen Wolkens
2021-12-15 10:48 Ionen Wolkens
2021-12-15 10:48 Ionen Wolkens
2021-12-03 15:13 Ionen Wolkens
2021-08-06 1:36 Ionen Wolkens
2021-08-06 1:36 Ionen Wolkens
2021-03-26 15:55 Sam James
2021-03-26 15:55 Sam James
2021-03-26 15:55 Sam James
2021-02-16 12:16 Joonas Niilola
2021-02-16 12:16 Joonas Niilola
2021-02-16 12:16 Joonas Niilola
2021-02-16 12:16 Joonas Niilola
2020-08-16 18:01 Jeroen Roovers
2020-01-19 19:37 Jeroen Roovers
2020-01-05 13:03 Jeroen Roovers
2020-01-05 13:01 Jeroen Roovers
2020-01-05 13:01 Jeroen Roovers
2020-01-05 13:01 Jeroen Roovers
2020-01-05 13:01 Jeroen Roovers
2020-01-05 13:01 Jeroen Roovers
2019-12-22 11:01 Jeroen Roovers
2019-12-16 10:02 Jeroen Roovers
2019-12-16 10:02 Jeroen Roovers
2017-12-08 23:48 Jonas Stein
2017-01-06 8:01 David Seifert
2016-06-04 13:43 Göktürk Yüksek
2016-05-27 14:17 Patrice Clement
2016-04-29 5:46 Ian Delaney
2016-04-26 8:49 Ian Delaney
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=1576490570.26266f08e7936e4e44cf842669345c3c6425b686.jer@gentoo \
--to=jer@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