From: "Ben Kohler" <bkohler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/xv/
Date: Thu, 29 Aug 2024 15:08:25 +0000 (UTC) [thread overview]
Message-ID: <1724944097.482c0fb6ebf14f78b314caf466c2f212b0d9cb6e.bkohler@gentoo> (raw)
commit: 482c0fb6ebf14f78b314caf466c2f212b0d9cb6e
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 14:59:35 2024 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 15:08:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=482c0fb6
media-gfx/xv: add 6.0.0
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
media-gfx/xv/Manifest | 1 +
media-gfx/xv/xv-6.0.0.ebuild | 58 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/media-gfx/xv/Manifest b/media-gfx/xv/Manifest
index 2b0fc9216a39..74e569277a91 100644
--- a/media-gfx/xv/Manifest
+++ b/media-gfx/xv/Manifest
@@ -2,3 +2,4 @@ DIST xv-3.10a-jumbo-patches-20070520.tar.gz 1363802 BLAKE2B 1a9f77b950dfa817aa86
DIST xv-3.10a.png.bz2 3082 BLAKE2B 05f56053fc0a77bba155db306ae181f5404bced3b2c22a33b3a0a0750b84461ffec98934d3dbabd764fbb6ec95ce2851f4cf3959682a315fe6e6653cbaaa5ae4 SHA512 41e81c34e74a034292c2a8f525d1452614a2b42e980a1a2c93e3fcf990db528853d633496815e5fb2c897a780a2da171af590f436e2c7ef181eea00eb6922e9b
DIST xv-3.10a.tar.gz 2259124 BLAKE2B 42cea578a879c819be8f42ffb1d247643904d8b462a4d6faa208185e49566798605c89006cbc190725fa6356b87da3375cf04d2ba86b559419cf8f7471c867e5 SHA512 5b8c5890503e2796638921cabae8967e458c73e332acea8561b1025ed13c771bc44c0e309b4592852e33726eeaa9784f933d1312073b0ba2e0b8c0cedabcaa3f
DIST xv-5.2.0.tar.gz 4785784 BLAKE2B 46dc637cbbeabfe1c034c34e73040de6efebbf5f423fe429028ebfeefd2fce5af0fdaff1c52db4807b8eb88de89dae6b7f0e2c8a3522a3d9b103d5777783a52d SHA512 0af7ff6db152be849c27be9fba116513595deeca9e3eb42ec6fd74a4756d0c525b55a40de49aa37dd5d2ea4a29e6d644c8c4c709f0e1ec0a98cbc0ae7221b110
+DIST xv-6.0.0.tar.gz 5051786 BLAKE2B 42c6e06848c5cc7a3f7da1d5c5b10a7d665601f41eb79bda4b3e904c103e88592da416559adc9565c820c6402c9b03271521f515b8f7c873cc959dfd3b5652e8 SHA512 600fde882e1279b5c7147089790006bcbd4e31ba6220309a272aca43242c56062d4c85b181fb1f2d4b0497f1546347206d7827204c2ebbbabaaf3de40c50191a
diff --git a/media-gfx/xv/xv-6.0.0.ebuild b/media-gfx/xv/xv-6.0.0.ebuild
new file mode 100644
index 000000000000..a1e2d3e14fb9
--- /dev/null
+++ b/media-gfx/xv/xv-6.0.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake desktop flag-o-matic
+
+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
+ mirror://gentoo/xv-3.10a.png.bz2"
+
+LICENSE="xv"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~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() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/859823
+ # https://github.com/jasper-software/xv/issues/25
+ filter-lto
+
+ 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"
+}
next reply other threads:[~2024-08-29 15:08 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-29 15:08 Ben Kohler [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-12 19:55 [gentoo-commits] repo/gentoo:master commit in: media-gfx/xv/ 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-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=1724944097.482c0fb6ebf14f78b314caf466c2f212b0d9cb6e.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