From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 154F615ACFC for ; Mon, 10 Apr 2023 20:52:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9E6EE077C; Mon, 10 Apr 2023 20:52:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8D8B7E077C for ; Mon, 10 Apr 2023 20:52:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4558340D46 for ; Mon, 10 Apr 2023 20:52:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0066DA37 for ; Mon, 10 Apr 2023 20:52:19 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1681159910.bbdb6d496afe1d50ff2549002f1e44698a06bc6f.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gnome-photos/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/gnome-photos/Manifest media-gfx/gnome-photos/gnome-photos-44.0.ebuild X-VCS-Directories: media-gfx/gnome-photos/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: bbdb6d496afe1d50ff2549002f1e44698a06bc6f X-VCS-Branch: master Date: Mon, 10 Apr 2023 20:52:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9cebc0fe-30de-4f20-9985-afacdce114dd X-Archives-Hash: 44e202276eb8b3da46b4667dc2a3b244 commit: bbdb6d496afe1d50ff2549002f1e44698a06bc6f Author: Pascal Jäger leimstift de> AuthorDate: Wed Mar 8 10:19:25 2023 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon Apr 10 20:51:50 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbdb6d49 media-gfx/gnome-photos: Version bump to 44.0 Signed-off-by: Pascal Jäger leimstift.de> Closes: https://github.com/gentoo/gentoo/pull/29989 Signed-off-by: Matt Turner gentoo.org> media-gfx/gnome-photos/Manifest | 1 + media-gfx/gnome-photos/gnome-photos-44.0.ebuild | 97 +++++++++++++++++++++++++ 2 files changed, 98 insertions(+) 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 +}