public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Piotr Karbowski" <slashbeast@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/feh/
Date: Mon, 20 Mar 2023 18:22:07 +0000 (UTC)	[thread overview]
Message-ID: <1679336415.413944e04de5273043eb344e946b5e331719bfff.slashbeast@gentoo> (raw)

commit:     413944e04de5273043eb344e946b5e331719bfff
Author:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 20 18:20:15 2023 +0000
Commit:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Mon Mar 20 18:20:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413944e0

media-gfx/feh/feh: 3.9.1-r1 revbump with new imlib2 handling.

Closes: https://bugs.gentoo.org/902077

Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>

 media-gfx/feh/feh-3.9.1-r1.ebuild | 74 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)

diff --git a/media-gfx/feh/feh-3.9.1-r1.ebuild b/media-gfx/feh/feh-3.9.1-r1.ebuild
new file mode 100644
index 000000000000..7ea8a8a2d3be
--- /dev/null
+++ b/media-gfx/feh/feh-3.9.1-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit toolchain-funcs xdg-utils
+
+DESCRIPTION="A fast, lightweight imageviewer using imlib2"
+HOMEPAGE="https://feh.finalrewind.org/"
+SRC_URI="https://feh.finalrewind.org/${P}.tar.bz2"
+
+LICENSE="feh"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="debug curl exif test xinerama inotify"
+RESTRICT="test" # Tests are broken.
+
+COMMON_DEPEND="
+	|| (
+		>=media-libs/imlib2-1.11.0[X,text]
+		<media-libs/imlib2-1.11.0[X]
+	)
+	>=media-libs/libpng-1.2:0=
+	x11-libs/libX11
+	curl? ( net-misc/curl )
+	exif? ( media-libs/libexif )
+	xinerama? ( x11-libs/libXinerama )"
+RDEPEND="${COMMON_DEPEND}
+	media-libs/libjpeg-turbo:0"
+DEPEND="${COMMON_DEPEND}
+	x11-base/xorg-proto
+	x11-libs/libXt
+	test? (
+		>=dev-lang/perl-5.10
+		dev-perl/Test-Command
+		media-libs/imlib2[gif,jpeg,png]
+	)"
+
+PATCHES=( "${FILESDIR}"/${PN}-3.2-debug-cflags.patch )
+
+pkg_setup() {
+	use_feh() { usex $1 1 0; }
+
+	fehopts=(
+		PREFIX="${EPREFIX}"/usr
+		doc_dir='${main_dir}'/share/doc/${PF}
+		example_dir='${main_dir}'/share/doc/${PF}/examples
+		curl=$(use_feh curl)
+		debug=$(use_feh debug)
+		xinerama=$(use_feh xinerama)
+		exif=$(use_feh exif)
+		inotify=$(use_feh inotify)
+	)
+}
+
+src_compile() {
+	tc-export CC
+	emake "${fehopts[@]}"
+}
+
+src_install() {
+	emake "${fehopts[@]}" DESTDIR="${D}" install
+}
+
+pkg_postinst() {
+	xdg_icon_cache_update
+	xdg_mimeinfo_database_update
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+	xdg_mimeinfo_database_update
+	xdg_desktop_database_update
+}


             reply	other threads:[~2023-03-20 18:22 UTC|newest]

Thread overview: 128+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-20 18:22 Piotr Karbowski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-17 13:03 [gentoo-commits] repo/gentoo:master commit in: media-gfx/feh/ Arthur Zamarin
2024-09-17 13:03 Arthur Zamarin
2024-09-17 13:03 Arthur Zamarin
2024-09-17 13:03 Arthur Zamarin
2024-09-17 13:03 Arthur Zamarin
2024-07-09  0:27 Yixun Lan
2024-01-24 23:58 Yixun Lan
2024-01-24 14:11 Sam James
2024-01-24 14:11 Sam James
2024-01-24 14:11 Sam James
2024-01-24 14:11 Sam James
2024-01-24 14:11 Sam James
2023-12-06  4:30 Yixun Lan
2023-12-05 14:54 Michał Górny
2023-12-05 14:24 Yixun Lan
2023-12-05 14:12 Arthur Zamarin
2023-12-05 14:12 Arthur Zamarin
2023-12-05 14:12 Arthur Zamarin
2023-10-06 21:18 Yixun Lan
2023-10-06 21:18 Yixun Lan
2023-08-27  0:34 Yixun Lan
2023-08-26 22:24 Yixun Lan
2023-08-26 22:24 Yixun Lan
2023-05-27 10:55 Sam James
2023-05-27 10:52 Arthur Zamarin
2023-05-27 10:30 Sam James
2023-05-21 13:49 Arthur Zamarin
2023-05-21  0:50 Sam James
2023-05-05 10:27 Arthur Zamarin
2023-05-03  3:53 Sam James
2023-05-02 15:33 Arthur Zamarin
2023-05-02 15:21 Arthur Zamarin
2023-04-18 21:24 Piotr Karbowski
2023-03-22 17:48 Piotr Karbowski
2023-03-20 18:22 Piotr Karbowski
2022-11-08  5:00 Jakov Smolić
2022-11-06  4:00 Sam James
2022-11-06  4:00 Sam James
2022-11-06  4:00 Sam James
2022-10-02 14:33 Piotr Karbowski
2022-06-16 11:42 Piotr Karbowski
2022-06-16 11:42 Piotr Karbowski
2022-06-16 10:42 Piotr Karbowski
2022-01-24  3:42 Sam James
2022-01-21 20:07 Arthur Zamarin
2022-01-21 10:03 Jakov Smolić
2022-01-21 10:03 Jakov Smolić
2021-10-16 14:57 Yixun Lan
2021-09-27 21:18 Piotr Karbowski
2021-08-19 21:10 Piotr Karbowski
2021-05-26 20:58 Piotr Karbowski
2021-03-28 12:56 Piotr Karbowski
2021-03-11 20:34 Piotr Karbowski
2021-02-07  1:07 Sam James
2021-02-04 14:42 Agostino Sarubbo
2021-02-04 14:09 Sam James
2021-02-04  7:59 Sam James
2021-01-23  8:04 Tim Harder
2021-01-05 20:51 Sam James
2021-01-03 12:10 Sergei Trofimovich
2021-01-03 11:51 Sergei Trofimovich
2020-12-27 23:06 Sam James
2020-12-27 22:49 Piotr Karbowski
2020-12-10 22:23 Piotr Karbowski
2020-09-02 21:45 Piotr Karbowski
2020-07-02  7:27 Piotr Karbowski
2020-06-06 21:15 Piotr Karbowski
2020-06-05 21:31 Tim Harder
2020-04-16  1:32 Tim Harder
2020-04-13 14:53 Agostino Sarubbo
2020-04-13 10:19 Agostino Sarubbo
2020-04-13 10:17 Agostino Sarubbo
2020-04-13 10:14 Agostino Sarubbo
2020-04-12 15:50 Tim Harder
2020-02-06  4:17 Tim Harder
2020-02-02 18:38 Tim Harder
2019-12-27 19:11 Tim Harder
2019-09-02 13:24 Agostino Sarubbo
2019-09-02 10:15 Agostino Sarubbo
2019-09-02 10:11 Agostino Sarubbo
2019-09-02  9:32 Agostino Sarubbo
2019-08-30 17:24 Tim Harder
2019-07-27  8:48 Tim Harder
2019-04-02 19:04 Tim Harder
2019-04-02 19:04 Tim Harder
2019-04-02 18:59 Tim Harder
2019-03-15 22:57 Mikle Kolyada
2019-03-04  8:34 Tim Harder
2019-02-14  8:01 Tim Harder
2019-02-12 21:03 Sergei Trofimovich
2018-12-25 19:52 Tim Harder
2018-09-18 21:23 Tim Harder
2018-07-01  4:45 Tim Harder
2018-07-01  4:45 Tim Harder
2018-06-27 23:44 Tim Harder
2018-06-05  4:31 Tim Harder
2018-03-18  4:48 Tim Harder
2018-03-07  5:24 Tim Harder
2018-03-07  5:24 Tim Harder
2018-03-01 19:35 Tim Harder
2018-02-13 21:28 Tim Harder
2018-02-03  9:15 Tim Harder
2018-01-05  7:28 Tim Harder
2017-11-13 20:10 Tim Harder
2017-11-06  7:46 Tim Harder
2017-10-08 18:40 Tim Harder
2017-09-14  2:00 Tim Harder
2017-08-31 11:47 Tim Harder
2017-08-31 11:47 Tim Harder
2017-08-31 11:47 Tim Harder
2017-08-23  3:45 Tim Harder
2017-08-14  5:52 Tim Harder
2017-07-29  5:40 Tim Harder
2017-06-07  6:49 Tim Harder
2017-05-05  4:45 Markus Meier
2017-04-29 14:49 Agostino Sarubbo
2017-04-05  4:44 Tim Harder
2017-02-22 20:57 Tim Harder
2017-02-09  7:00 Tim Harder
2017-01-28 14:19 Fabian Groffen
2017-01-07 20:01 Tim Harder
2016-12-10 19:39 Tim Harder
2016-11-12  5:50 Tim Harder
2016-11-12  5:50 Tim Harder
2016-09-01  3:10 Tim Harder
2016-08-08  6:28 Tim Harder
2015-10-06 16:51 Markos Chandras

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=1679336415.413944e04de5273043eb344e946b5e331719bfff.slashbeast@gentoo \
    --to=slashbeast@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