diff options
author | Wolfgang Müller | 2023-11-20 10:56:42 +0100 |
---|---|---|
committer | Wolfgang Müller | 2023-11-20 10:57:15 +0100 |
commit | c838e80d661923856421ca1a869f1c5f24489fe9 (patch) | |
tree | ffdde7cecd64df2b44821c9b86c2b4f7a641a7aa /media-sound/mpdevil/mpdevil-1.11.0.ebuild | |
parent | 3b8027d034da15b280008249267468b39d2de170 (diff) | |
download | pramantha-c838e80d661923856421ca1a869f1c5f24489fe9.tar.gz |
media-sound/mpdevil: add 1.11.0, drop 1.10.3
Diffstat (limited to 'media-sound/mpdevil/mpdevil-1.11.0.ebuild')
-rw-r--r-- | media-sound/mpdevil/mpdevil-1.11.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/media-sound/mpdevil/mpdevil-1.11.0.ebuild b/media-sound/mpdevil/mpdevil-1.11.0.ebuild new file mode 100644 index 0000000..a0df107 --- /dev/null +++ b/media-sound/mpdevil/mpdevil-1.11.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10,11} ) +inherit python-single-r1 gnome2-utils meson xdg + +DESCRIPTION="A simple music browser for MPD" +HOMEPAGE="https://github.com/SoongNoonien/mpdevil" +SRC_URI="" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/SoongNoonien/${PN}.git" +else + SRC_URI="https://github.com/SoongNoonien/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 x86" +fi + +LICENSE="GPL-3" +SLOT="0" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-libs/gobject-introspection:= + x11-libs/gtk+:3[introspection] + $(python_gen_cond_dep ' + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] + dev-python/python-mpd2[${PYTHON_USEDEP}] + ') +" + +pkg_preinst() { + gnome2_schemas_savelist + xdg_pkg_preinst +} + +pkg_postinst() { + gnome2_gconf_install + gnome2_schemas_update + xdg_pkg_postinst +} + +pkg_postrm() { + gnome2_gconf_uninstall + gnome2_schemas_update + xdg_pkg_postrm +} |