Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/shotwell/
Date: Tue, 27 Sep 2022 00:20:38
Message-Id: 1664238022.449268522b39ab1a12bfc7bc1607265b61a3ba5b.mattst88@gentoo
1 commit: 449268522b39ab1a12bfc7bc1607265b61a3ba5b
2 Author: Pascal Jaeger <pascal.jaeger <AT> leimstift <DOT> de>
3 AuthorDate: Mon Sep 26 13:21:51 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 27 00:20:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44926852
7
8 media-gfx/shotwell: version bump to 0.30.17
9
10 Closes: https://github.com/gentoo/gentoo/pull/27474
11 Signed-off-by: Pascal Jaeger <pascal.jaeger <AT> leimstift.de>
12 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
13
14 media-gfx/shotwell/Manifest | 1 +
15 media-gfx/shotwell/shotwell-0.30.17.ebuild | 87 ++++++++++++++++++++++++++++++
16 2 files changed, 88 insertions(+)
17
18 diff --git a/media-gfx/shotwell/Manifest b/media-gfx/shotwell/Manifest
19 index d5b949898a92..39c62fffdbba 100644
20 --- a/media-gfx/shotwell/Manifest
21 +++ b/media-gfx/shotwell/Manifest
22 @@ -1 +1,2 @@
23 DIST shotwell-0.30.16.tar.xz 6532812 BLAKE2B caa2ff2f4536d8f04900d7ba7c583b7ec0d0244d6253bc17971e2b4e04aa3790b17e932b3367e1be40d4a0bb566bab31396aa5dfdb6dbb5c9803272cd7f94e97 SHA512 4ed725a34b1663b9cb63dcd13c98795fb2ea9a5d79ee4541276bc9dc2f607ce6466cc9c983bab55e7418e69eef3d1598846aeb6750f00927663756bd11d9a084
24 +DIST shotwell-0.30.17.tar.xz 6533460 BLAKE2B 58ec94f21bf465dcc19760f40235db7d2ad7d00c214802cd3ad6cfd67cb1088a5999f183c8ae36398e492a1b387e6ea717a9b8d0f31f4ef369e67c10150ae57a SHA512 f680b6f58538fb7b584594d00da7fe997dbc766583a5b5a85943b3df905dbc7192d3e7b5c7b47b6bd1221280995aaba878ea1afff9b042995bf30fbcbce5f7ea
25
26 diff --git a/media-gfx/shotwell/shotwell-0.30.17.ebuild b/media-gfx/shotwell/shotwell-0.30.17.ebuild
27 new file mode 100644
28 index 000000000000..850f6a2458ae
29 --- /dev/null
30 +++ b/media-gfx/shotwell/shotwell-0.30.17.ebuild
31 @@ -0,0 +1,87 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..11} )
38 +inherit gnome.org gnome2-utils meson python-any-r1 vala xdg
39 +
40 +DESCRIPTION="Open source photo manager for GNOME"
41 +HOMEPAGE="https://wiki.gnome.org/Apps/Shotwell"
42 +
43 +LICENSE="LGPL-2.1"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86"
46 +IUSE="opencv udev wayland"
47 +
48 +DEPEND="
49 + >=x11-libs/gtk+-3.22.0:3[wayland?]
50 + >=dev-libs/glib-2.40.0:2
51 + >=dev-libs/libgee-0.8.5:0.8
52 + >=net-libs/webkit-gtk-2.26:4
53 + >=dev-libs/json-glib-0.7.6
54 + >=dev-libs/libxml2-2.6.32:2
55 + x11-libs/gdk-pixbuf:2
56 + >=dev-db/sqlite-3.5.9:3
57 + media-libs/gstreamer:1.0
58 + media-libs/gst-plugins-base:1.0
59 + >=media-libs/libgphoto2-2.5:=
60 + udev? ( >=dev-libs/libgudev-145:= )
61 + >=media-libs/gexiv2-0.10.4
62 + >=media-libs/libraw-0.13.2:=
63 + >=media-libs/libexif-0.6.16:=
64 + dev-libs/libgdata
65 + >=app-crypt/gcr-3:=[gtk]
66 + x11-libs/cairo
67 + opencv? ( >=media-libs/opencv-2.3.0:= )
68 +"
69 +RDEPEND="${DEPEND}
70 + media-plugins/gst-plugins-gdkpixbuf:1.0
71 + media-plugins/gst-plugins-meta:1.0
72 +"
73 +BDEPEND="
74 + ${PYTHON_DEPS}
75 + $(vala_depend)
76 + dev-libs/appstream-glib
77 + dev-util/itstool
78 + >=sys-devel/gettext-0.19.8
79 + virtual/pkgconfig
80 + net-libs/libsoup:2.4[vala]
81 + media-libs/gexiv2[vala]
82 + app-crypt/gcr[vala]
83 +"
84 +
85 +PATCHES=( "${FILESDIR}"/0.30.16-optional-wayland.patch )
86 +
87 +src_prepare() {
88 + default
89 + vala_setup
90 + xdg_environment_reset
91 +}
92 +
93 +src_configure() {
94 + local emesonargs=(
95 + -Dunity-support=false
96 + # -Dpublishers # In 0.30.2 all get compiled in anyways, even if restricted list, affects only runtime support
97 + -Dextra-plugins=true
98 + #trace
99 + #measure
100 + -Ddupe-detection=true
101 + $(meson_use udev)
102 + -Dinstall-apport-hook=false
103 + $(meson_use opencv face-detection)
104 + -Dfatal_warnings=false
105 + $(meson_use wayland)
106 + )
107 + meson_src_configure
108 +}
109 +
110 +pkg_postinst() {
111 + xdg_pkg_postinst
112 + gnome2_schemas_update
113 +}
114 +
115 +pkg_postrm() {
116 + xdg_pkg_postrm
117 + gnome2_schemas_update
118 +}