public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ben Kohler" <bkohler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/xv/
Date: Mon, 25 Aug 2025 19:08:04 +0000 (UTC)	[thread overview]
Message-ID: <1756148875.5d2e39d2d1a63435f566468ddbedbb67bc4a3973.bkohler@gentoo> (raw)

commit:     5d2e39d2d1a63435f566468ddbedbb67bc4a3973
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 25 18:31:31 2025 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Mon Aug 25 19:07:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d2e39d2

media-gfx/xv: add 6.0.4

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 media-gfx/xv/Manifest        |  1 +
 media-gfx/xv/xv-6.0.4.ebuild | 61 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/media-gfx/xv/Manifest b/media-gfx/xv/Manifest
index bbe1c0ac6fde..31956f6d5f82 100644
--- a/media-gfx/xv/Manifest
+++ b/media-gfx/xv/Manifest
@@ -1,3 +1,4 @@
 DIST xv-3.10a.png.bz2 3082 BLAKE2B 05f56053fc0a77bba155db306ae181f5404bced3b2c22a33b3a0a0750b84461ffec98934d3dbabd764fbb6ec95ce2851f4cf3959682a315fe6e6653cbaaa5ae4 SHA512 41e81c34e74a034292c2a8f525d1452614a2b42e980a1a2c93e3fcf990db528853d633496815e5fb2c897a780a2da171af590f436e2c7ef181eea00eb6922e9b
 DIST xv-6.0.1.tar.gz 5051856 BLAKE2B 7b7a76e211175776862312b48b1f5f91d1a901fffba2225390715c9e392a380add42eaee0429e0598dce677bbb4311e9bc1a506105b9a63595ab70e6253e6ae7 SHA512 7098a2600dc21f94ef1db3e1b23e79b0cdc989b93d792f891d7a29811037636a5887df88f1ad6df27b12be4b4b348f0cca34fe2ad0a58ed9b1228683f6b0b910
 DIST xv-6.0.2.tar.gz 5052705 BLAKE2B e25a9d5881ce2b9039e4e9f561df7392faf2149730d072085486ebe930934b7c92e7c333bc930eae8b27dea9eea5b2bcc9da2bd28c84ae6483406f66e47ca5df SHA512 81de0a4811b7bb4662e8b731e148f7f172275f0380c0bc2c2569c3a041002374a3a44a1c1b8ec2a74f1e0aaf45e8217ce0cd4e4393eb0d3f29f1e494c9a75c03
+DIST xv-6.0.4.tar.gz 5052661 BLAKE2B e0d501e874cc8720e5ba506881aa7592cedf36984dc8c092075d45d1889eaf6cf1a64072f3b6d7ba586e151ee2fdfa69ddfd6fe923c12383288f5edc3833c2d6 SHA512 d4ca5a5cefcdd4674bc4f3c20465975c2602a971cd73d4affebea351db2c76af1599fb933629dd3365c6d399a9a7d4ec1d1b9ce78dd4f1fc95fc068598d8e9e9

diff --git a/media-gfx/xv/xv-6.0.4.ebuild b/media-gfx/xv/xv-6.0.4.ebuild
new file mode 100644
index 000000000000..3dca85a20acb
--- /dev/null
+++ b/media-gfx/xv/xv-6.0.4.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake desktop xdg-utils
+
+JUMBOV=20070520
+DESCRIPTION="Interactive image manipulation program supporting a wide variety of formats"
+HOMEPAGE="https://github.com/jasper-software/xv/"
+SRC_URI="https://github.com/jasper-software/xv/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+	https://dev.gentoo.org/~bkohler/dist/xv-3.10a.png.bz2"
+
+LICENSE="xv"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="jpeg tiff png webp"
+
+DEPEND="
+	x11-libs/libXt
+	jpeg? ( media-libs/libjpeg-turbo:= )
+	tiff? ( media-libs/tiff:= )
+	png? (
+		>=media-libs/libpng-1.2:=
+		sys-libs/zlib
+	)
+	webp? ( media-libs/libwebp:= )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+	"${FILESDIR}/xv-5.2.0-osx-bsd.patch"
+)
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
+		-DXV_ENABLE_JPEG=$(usex jpeg)
+		-DXV_ENABLE_JP2K=OFF
+		-DXV_ENABLE_PNG=$(usex png)
+		-DXV_ENABLE_TIFF=$(usex tiff)
+		-DXV_ENABLE_WEBP=$(usex webp)
+		)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	newicon "${WORKDIR}"/xv-3.10a.png ${PN}.png
+	make_desktop_entry xv "" "" "Graphics;Viewer"
+}
+
+pkg_postinst() {
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+}


             reply	other threads:[~2025-08-25 19:08 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-25 19:08 Ben Kohler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-01 22:33 [gentoo-commits] repo/gentoo:master commit in: media-gfx/xv/ Sam James
2025-05-28  1:39 Sam James
2025-05-28  1:39 Sam James
2025-05-27 15:13 Sam James
2025-05-27 15:13 Sam James
2024-12-12 19:55 Ben Kohler
2024-10-16 11:44 Ben Kohler
2024-10-12 15:05 Sam James
2024-10-03 16:11 Arthur Zamarin
2024-10-02 20:11 Sam James
2024-10-02 20:11 Sam James
2024-10-02 20:11 Sam James
2024-09-03 11:17 Ben Kohler
2024-08-29 18:11 Ben Kohler
2024-08-29 15:08 Ben Kohler
2024-08-12  4:22 Eli Schwartz
2024-07-17 17:29 Ben Kohler
2024-07-17 17:29 Ben Kohler
2022-10-08 20:01 Sam James
2022-10-05  5:53 Arthur Zamarin
2022-10-04 18:41 Arthur Zamarin
2022-10-04 18:40 Arthur Zamarin
2022-10-04 17:30 Sam James
2022-10-04 17:30 Sam James
2022-09-28  0:10 Sam James
2022-09-28  0:09 Sam James
2019-02-10 17:33 Mikle Kolyada
2019-02-10 17:31 Mikle Kolyada
2019-02-09 18:36 Thomas Deutschmann
2019-02-02 21:17 Sergei Trofimovich
2019-02-02 19:18 Sergei Trofimovich
2019-02-02 19:09 Sergei Trofimovich
2019-02-01 14:55 Tobias Klausmann
2019-01-28 19:38 Sergei Trofimovich
2016-02-14 12:19 Ulrich Müller
2015-11-23  9:25 Agostino Sarubbo
2015-11-16 14:19 Agostino Sarubbo
2015-11-13  9:42 Agostino Sarubbo
2015-11-12  9:40 Agostino Sarubbo
2015-11-11  9:54 Agostino Sarubbo
2015-11-11  5:18 Jeroen Roovers
2015-11-09 10:31 Agostino Sarubbo
2015-11-08 11:04 Pacho Ramos
2015-11-08 11:04 Pacho Ramos

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=1756148875.5d2e39d2d1a63435f566468ddbedbb67bc4a3973.bkohler@gentoo \
    --to=bkohler@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