diff options
author | Pascal Jäger <pascal.jaeger@leimstift.de> | 2023-03-08 11:19:25 +0100 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-04-10 16:51:50 -0400 |
commit | bbdb6d496afe1d50ff2549002f1e44698a06bc6f (patch) | |
tree | ba1274c6731d0204e784e5c7ae82c15522eeb07e /media-gfx/gnome-photos | |
parent | media-plugins/grilo-plugins: Version bump to 0.3.16 (diff) | |
download | gentoo-bbdb6d496afe1d50ff2549002f1e44698a06bc6f.tar.gz gentoo-bbdb6d496afe1d50ff2549002f1e44698a06bc6f.tar.bz2 gentoo-bbdb6d496afe1d50ff2549002f1e44698a06bc6f.zip |
media-gfx/gnome-photos: Version bump to 44.0
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Closes: https://github.com/gentoo/gentoo/pull/29989
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-gfx/gnome-photos')
-rw-r--r-- | media-gfx/gnome-photos/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/gnome-photos/gnome-photos-44.0.ebuild | 97 |
2 files changed, 98 insertions, 0 deletions
diff --git a/media-gfx/gnome-photos/Manifest b/media-gfx/gnome-photos/Manifest index 78d27e52ee49..c981bbc48221 100644 --- a/media-gfx/gnome-photos/Manifest +++ b/media-gfx/gnome-photos/Manifest @@ -1 +1,2 @@ DIST gnome-photos-43.0.tar.xz 2857296 BLAKE2B f7e51fadcf213e9eb08e38629bc137e81afb67d227d2c9ddc6b2cc136eb18f2df7aae91112c61129d0a77439aac773925b2abd65f1267fb4a69ca66f86e72a4d SHA512 003f9bda3aa8a3d72aec960d7377d4df08784a95de66505b77ac2e2a75c44fb772fc560162f0e5195b4c3cb8a648263f2403ecc18648fafdc3e748eccf297e7c +DIST gnome-photos-44.0.tar.xz 2862604 BLAKE2B 0f6e2837c0beb4f4cef1ac79363c0b67b1ea1bb69e9d6fd81fb6a726067bf4c0106d16b3bfdee5b50ce786a1805bef74b2126b41046ec104a52cc476735633b8 SHA512 00ad3d431ffaaf245c3d5790b86fb3ec9d1c6ed8bc50bf4de872899a409d779bd964f6b63017182f797dd879655b2717f4b034cac029e0a3bc50c8df8fe3193b diff --git a/media-gfx/gnome-photos/gnome-photos-44.0.ebuild b/media-gfx/gnome-photos/gnome-photos-44.0.ebuild new file mode 100644 index 000000000000..e710ad49627b --- /dev/null +++ b/media-gfx/gnome-photos/gnome-photos-44.0.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..11} ) + +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 ~ppc64 ~riscv ~x86" +IUSE="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:2 + >=media-libs/gexiv2-0.14.0 + >=dev-libs/glib-2.62.0:2 + dev-libs/libportal:=[gtk] + >=net-libs/gnome-online-accounts-3.8.0:= + gnome-base/gsettings-desktop-schemas + >=x11-libs/gtk+-3.22.16:3 + >=dev-libs/libdazzle-3.26.0 + >=gui-libs/libhandy-1.1.90:1 + media-libs/libjpeg-turbo:0= + >=media-libs/libpng-1.6:0= + app-misc/tracker:3 + sys-apps/dbus +" +# >=dev-libs/libgdata-0.17.13:0=[gnome-online-accounts] # Upstream left this commented in meson.build. Probably comes back with the next version + +# but out of all the grilo-plugins, only upnp-av gets used, which has a USE flag here, +# so don't pull it always, but only if USE flag is enabled. +# tracker-miners gschema used at runtime. +RDEPEND="${DEPEND} + upnp-av? ( >=media-plugins/grilo-plugins-0.3.16:0.3[upnp-av] ) + app-misc/tracker-miners:3 +" +BDEPEND=" + dev-libs/appstream-glib + dev-libs/libxslt + app-text/docbook-xsl-stylesheets + 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 && python_has_version "dev-util/dogtail[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + default + xdg_environment_reset + 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 +} |