diff options
Diffstat (limited to 'media-gfx/gnome-photos')
-rw-r--r-- | media-gfx/gnome-photos/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/gnome-photos/gnome-photos-3.34.2-r1.ebuild (renamed from media-gfx/gnome-photos/gnome-photos-3.34.2.ebuild) | 4 | ||||
-rw-r--r-- | media-gfx/gnome-photos/gnome-photos-40.0.ebuild | 97 |
3 files changed, 102 insertions, 3 deletions
diff --git a/media-gfx/gnome-photos/Manifest b/media-gfx/gnome-photos/Manifest index ee3d21bef874..90d7d2792ca2 100644 --- a/media-gfx/gnome-photos/Manifest +++ b/media-gfx/gnome-photos/Manifest @@ -1,3 +1,5 @@ DIST gnome-photos-3.34.2.tar.xz 639992 BLAKE2B f189e7e1a831f4d19416b689733ef6a55822d57b5f1ea29a4dcb4fc06d5f9a450e45aaf53f65e392ac78e9959f7359f3df17827a326cfd6dbf8cc7d77cc0a367 SHA512 6315fb8e7623de48a42f1b47a2935c80f8f9f6db1ab724d1857697f673c4ca0d5ca1afa5c0d147455c3c0ad0224b85b52a220b1dd39a1409804bb75794d0a04b -EBUILD gnome-photos-3.34.2.ebuild 2299 BLAKE2B c85181b8d033e99e0bbc73bf6b6485e34f8ad1553aab367e9ff07d8c940467d91b5b0c12329a4b7386489cac8f3fac38ff01236d727d7f5e105a4cb5febbc867 SHA512 a7db426d14887fb06277d2904cdfcdddfdb38791ba3dae3cf64d938329f1383464a772f88b424794d32fdffbce00b534595fdcc58f283972c4a4289aafc54327 +DIST gnome-photos-40.0.tar.xz 632440 BLAKE2B 4a3be35e627169afa4b3b9aca2c675f6035f3e46822450fc479550a3e48aebba6f9e335dc528a6593f1bd844fde501b8535ed368be9825f229280a08d5ead7e6 SHA512 70641e7fc6375e15cadc62ad75804d3ffb1d2193dd0bbed21b291b38f1d271ba7d34a4714a1658b9f13345f20e421190958b4713aae64f4f46913628079ba814 +EBUILD gnome-photos-3.34.2-r1.ebuild 2306 BLAKE2B 0975c84b46f2dbff95b983abcb2e4913872a644a9734853d74379dcd9e07f3730bacf19fb403b80fe43e419cc5334d214ff278cc5f61e17a3ee7cf3789be4822 SHA512 e03f425e66164cd3c1b588a62a76340496567d82f21992d4d00306a7cbac4600efa146f0bb03f39462f45a24a8a87f6ba2b235d2c28326ef5658551d0d9b9b7b +EBUILD gnome-photos-40.0.ebuild 2362 BLAKE2B 32f52e14fba2762e02175b6d82640f61af8c566abfcb23f567771b9d031bba44c9f06223df4ac1c40fd9469b7e140aa20265419866d6ead4edb386313fada0fc SHA512 d8002fc69d2847e54083027f3146e40c4abc2b98b932e333e9000918e895dca99978a911c45acf9b0608992d80b56263d5a2af2a5bdbc3cb5589c52d39198942 MISC metadata.xml 992 BLAKE2B beda29ca65d25e5d68c014fbb70fb539cf17b55d64255d6d74305d710f3979b5156eda764d75992f057416f5eb96af899b988633dd8444fcf22c6a5f73fe9b9b SHA512 3c47be6c01072a0b4845dd42b6d3561d340eb703bd9cb5c727ec24b653ab76eee38e35ba63c4cd71b93514ab0cb8bd75663febeed1901cccedfd30f223e870df diff --git a/media-gfx/gnome-photos/gnome-photos-3.34.2.ebuild b/media-gfx/gnome-photos/gnome-photos-3.34.2-r1.ebuild index d7514e59171a..ead6423224bf 100644 --- a/media-gfx/gnome-photos/gnome-photos-3.34.2.ebuild +++ b/media-gfx/gnome-photos/gnome-photos-3.34.2-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_7 ) +PYTHON_COMPAT=( python3_{7..9} ) inherit gnome.org gnome2-utils meson python-any-r1 virtualx xdg @@ -43,7 +43,7 @@ RDEPEND="${DEPEND} net-misc/gnome-online-miners[flickr?] upnp-av? ( media-plugins/grilo-plugins:0.3[upnp-av] ) flickr? ( media-plugins/grilo-plugins:0.3[flickr] ) - >=app-misc/tracker-miners-2 + >=app-misc/tracker-miners-2:0 " BDEPEND=" dev-libs/appstream-glib diff --git a/media-gfx/gnome-photos/gnome-photos-40.0.ebuild b/media-gfx/gnome-photos/gnome-photos-40.0.ebuild new file mode 100644 index 000000000000..fd086220f9ac --- /dev/null +++ b/media-gfx/gnome-photos/gnome-photos-40.0.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7..9} ) + +inherit gnome.org gnome2-utils meson python-any-r1 virtualx xdg + +DESCRIPTION="Access, organize and share your photos on GNOME" +HOMEPAGE="https://wiki.gnome.org/Apps/Photos" + +LICENSE="GPL-3+ LGPL-2+ CC0-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="flickr test upnp-av" +RESTRICT="!test? ( test )" + +DEPEND=" + media-libs/babl + >=x11-libs/cairo-1.14.0 + >=x11-libs/gdk-pixbuf-2.36.8:2 + >=media-libs/gegl-0.4.0:0.4[cairo,raw] + sci-geosciences/geocode-glib + >=media-libs/gexiv2-0.10.8 + >=dev-libs/glib-2.62.0:2 + >=net-libs/gnome-online-accounts-3.8.0:= + >=media-libs/grilo-0.3.5:0.3= + gnome-base/gsettings-desktop-schemas + >=x11-libs/gtk+-3.22.16:3 + >=dev-libs/libdazzle-3.26.0 + >=dev-libs/libgdata-0.17.13:0=[gnome-online-accounts] + >=net-libs/libgfbgraph-0.2.1:0.2 + >=gui-libs/libhandy-1.1.90:1= + virtual/jpeg:0 + >=media-libs/libpng-1.6:0= + app-misc/tracker:3= + sys-apps/dbus +" +# gnome-online-miners is also used for google, facebook, DLNA - not only flickr +# but out of all the grilo-plugins, only upnp-av and flickr get used, which have USE flags here, +# so don't pull it always, but only if either USE flag is enabled. +# tracker-miners gschema used at runtime. +RDEPEND="${DEPEND} + net-misc/gnome-online-miners[flickr?] + upnp-av? ( media-plugins/grilo-plugins:0.3[upnp-av] ) + flickr? ( media-plugins/grilo-plugins:0.3[flickr] ) + app-misc/tracker-miners:3 +" +BDEPEND=" + dev-libs/appstream-glib + dev-util/desktop-file-utils + dev-util/gdbus-codegen + dev-util/glib-utils + dev-util/itstool + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + test? ( $(python_gen_any_dep 'dev-util/dogtail[${PYTHON_USEDEP}]') ) +" + +DOCS=() # meson installs docs itself + +python_check_deps() { + use test && has_version "dev-util/dogtail[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + xdg_src_prepare + sed -i -e "/photos_docdir.*=.*join_paths/s/meson.project_name()/'${PF}'/" meson.build +} + +src_configure() { + local emesonargs=( + $(meson_use test dogtail) + -Dflatpak=false + -Dinstalled_tests=false + -Dmanuals=true + ) + meson_src_configure +} + +src_test() { + virtx meson_src_test +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |