Added Gnome Photos
This commit is contained in:
parent
634049bb38
commit
f72e2d6ff0
1
media-gfx/gnome-photos/Manifest
Normal file
1
media-gfx/gnome-photos/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST gnome-photos-3.38.1.tar.xz 626748 BLAKE2B d6b365ef03ce3078f21d4b5ef3f95faa0dd3168965f1dd7df55f582e83e4ee97fdb901eaeff989edde6052e6b3b3e44448dc1256fc3a0e1b07be740422ac6bc5 SHA512 b10460f71238703ae3f5bde9f9a4b94d7676a7a0f97cfe2602829ca2c2d80b06ff9c94e997edce4eecf911b7a6cefcabd013fefe2b5f776518f3099aa4db9fda
|
94
media-gfx/gnome-photos/gnome-photos-3.38.1.ebuild
Normal file
94
media-gfx/gnome-photos/gnome-photos-3.38.1.ebuild
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python3_7 )
|
||||||
|
|
||||||
|
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.57.2: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.15.2:0=[gnome-online-accounts]
|
||||||
|
>=net-libs/libgfbgraph-0.2.1:0.2
|
||||||
|
virtual/jpeg:0
|
||||||
|
>=media-libs/libpng-1.6:0=
|
||||||
|
>=app-misc/tracker-2.0:0/2.0
|
||||||
|
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-2
|
||||||
|
"
|
||||||
|
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)
|
||||||
|
-Dinstalled_tests=false
|
||||||
|
)
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user