From 51e29474e5da7445b372a97fb9193e4ea3d55ace Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 14 Apr 2021 21:20:06 -0400 Subject: media-sound/gnome-music: Version bump to 40.0 Signed-off-by: Matt Turner --- media-sound/gnome-music/Manifest | 1 + media-sound/gnome-music/gnome-music-40.0.ebuild | 79 +++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 media-sound/gnome-music/gnome-music-40.0.ebuild (limited to 'media-sound/gnome-music') diff --git a/media-sound/gnome-music/Manifest b/media-sound/gnome-music/Manifest index 1b8de5ac6241..739817a057a1 100644 --- a/media-sound/gnome-music/Manifest +++ b/media-sound/gnome-music/Manifest @@ -1 +1,2 @@ DIST gnome-music-3.36.7.tar.xz 971980 BLAKE2B f27d0eb49a1728873ef6d439eead83cc34fb6802afdba3b4e0ef8d15c88d2012634ec0a18a4df4ba18079915d4227f526a93ac7989ce6ea4a807b620722fad1e SHA512 3470563621c17004d0b92451950ebfca203e830cb9ffe481fef7fe4d5187afa36ccb33130695226d4db95a89af9fac592910d2a19e715af4dd0c0ffba081c3a4 +DIST gnome-music-40.0.tar.xz 977412 BLAKE2B acb1823fce3bb7fc8a319a22125deb2c36f4c5cb18f3ea3d21462c1fc71fb52deeb21ffb52ecd5f57aecc975e21dbcec82122f3d4c6fa10f088280efe314a4b7 SHA512 7b1cecd4afe22439e1ee4975c9f6a98690d7abc3a02914483284c258c9bc265d5b3c75cbc9e216603aaeacdc4fdeeff250f2c4e8eff01b84cfe313004266d93f diff --git a/media-sound/gnome-music/gnome-music-40.0.ebuild b/media-sound/gnome-music/gnome-music-40.0.ebuild new file mode 100644 index 000000000000..2a208528839d --- /dev/null +++ b/media-sound/gnome-music/gnome-music-40.0.ebuild @@ -0,0 +1,79 @@ +# 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-single-r1 xdg + +DESCRIPTION="Music management for Gnome" +HOMEPAGE="https://wiki.gnome.org/Apps/Music" + +LICENSE="GPL-2+" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +KEYWORDS="~amd64 ~arm64 ~x86" + +DEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.50:2 + >=net-libs/gnome-online-accounts-3.35.90[introspection] + >=dev-libs/gobject-introspection-1.54:= + >=x11-libs/gtk+-3.24.7:3[introspection] + >=dev-libs/libdazzle-3.28.0[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_MULTI_USEDEP}] + >=dev-python/pycairo-1.14.0[${PYTHON_MULTI_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_prepare() { + sed -e '/sys.path.insert/d' -i "${S}"/gnome-music.in || die "python fixup sed failed" + xdg_src_prepare +} + +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 +} -- cgit v1.2.3-65-gdbad