diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /media-sound/gnome-music/gnome-music-42.1.ebuild | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'media-sound/gnome-music/gnome-music-42.1.ebuild')
-rw-r--r-- | media-sound/gnome-music/gnome-music-42.1.ebuild | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/media-sound/gnome-music/gnome-music-42.1.ebuild b/media-sound/gnome-music/gnome-music-42.1.ebuild new file mode 100644 index 000000000000..1ca03facd942 --- /dev/null +++ b/media-sound/gnome-music/gnome-music-42.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) + +inherit gnome.org gnome2-utils meson python-single-r1 xdg + +DESCRIPTION="Music management for Gnome" +HOMEPAGE="https://wiki.gnome.org/Apps/Music https://gitlab.gnome.org/GNOME/gnome-music/" + +LICENSE="GPL-2+" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +DEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.67.1:2 + >=net-libs/gnome-online-accounts-3.35.90[introspection] + >=dev-libs/gobject-introspection-1.54:= + >=gui-libs/gtk-4.5.0:4[introspection] + >=gui-libs/libadwaita-1.0:1=[introspection] + >=media-libs/libmediaart-1.9.1:2.0[introspection] + net-libs/libsoup:2.4[introspection] + app-misc/tracker:3=[introspection(+)] + >=x11-libs/pango-1.44:= + $(python_gen_cond_dep ' + >=dev-python/pygobject-3.36.1:3[cairo,${PYTHON_USEDEP}] + >=dev-python/pycairo-1.14.0[${PYTHON_USEDEP}] + ') + >=media-libs/grilo-0.3.13:0.3[introspection] + >=media-plugins/grilo-plugins-0.3.13:0.3 +" +# xdg-user-dirs-update needs to be there to create needed dirs +# https://bugzilla.gnome.org/show_bug.cgi?id=731613 +RDEPEND="${DEPEND} + || ( + app-misc/tracker-miners:3[gstreamer] + app-misc/tracker-miners:3[ffmpeg] + ) + x11-libs/libnotify[introspection] + media-libs/gstreamer:1.0[introspection] + media-libs/gst-plugins-base:1.0[introspection] + media-plugins/gst-plugins-meta:1.0 + media-plugins/grilo-plugins:0.3[tracker] + x11-misc/xdg-user-dirs +" +BDEPEND=" + dev-libs/libxml2:2 + dev-util/itstool + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +pkg_setup() { + python_setup +} + +src_install() { + meson_src_install + python_fix_shebang "${D}"/usr/bin/gnome-music + python_optimize +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |