aboutsummaryrefslogtreecommitdiffstats
path: root/media-sound/mpdevil/mpdevil-1.5.1.ebuild
diff options
context:
space:
mode:
authorWolfgang Müller2022-01-12 14:03:28 +0100
committerWolfgang Müller2022-01-12 14:03:28 +0100
commitb8cbd45884241372fc49e9a037440ecded64092e (patch)
treecc2ccd9f277b8e85a6e38e61ebe145fb3ff79d1a /media-sound/mpdevil/mpdevil-1.5.1.ebuild
parent02bb9bc5e9d9998e1be4c12d71b722255541d9c7 (diff)
downloadpramantha-b8cbd45884241372fc49e9a037440ecded64092e.tar.gz
media-sound/mpdevil: Bump to 1.5.1
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Diffstat (limited to '')
-rw-r--r--media-sound/mpdevil/mpdevil-1.5.1.ebuild (renamed from media-sound/mpdevil/mpdevil-1.4.1.ebuild)26
1 files changed, 9 insertions, 17 deletions
diff --git a/media-sound/mpdevil/mpdevil-1.4.1.ebuild b/media-sound/mpdevil/mpdevil-1.5.1.ebuild
index 1e3ef77..6bc4b2c 100644
--- a/media-sound/mpdevil/mpdevil-1.4.1.ebuild
+++ b/media-sound/mpdevil/mpdevil-1.5.1.ebuild
@@ -1,12 +1,10 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8,9} )
-DISTUTILS_SINGLE_IMPL="true"
-DISTUTILS_USE_SETUPTOOLS="no"
-inherit desktop distutils-r1 gnome2-utils xdg-utils
+inherit python-single-r1 gnome2-utils meson xdg
DESCRIPTION="A simple music browser for MPD"
HOMEPAGE="https://github.com/SoongNoonien/mpdevil"
@@ -23,9 +21,6 @@ fi
LICENSE="GPL-3"
SLOT="0"
-BDEPEND="dev-python/python-distutils-extra
-"
-
RDEPEND="dev-libs/gobject-introspection:=
x11-libs/gtk+:3[introspection]
x11-libs/libnotify[introspection]
@@ -34,25 +29,22 @@ RDEPEND="dev-libs/gobject-introspection:=
dev-python/python-mpd[${PYTHON_MULTI_USEDEP}]
dev-python/requests[${PYTHON_MULTI_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_MULTI_USEDEP}]
- dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
')
"
-src_install() {
- distutils-r1_src_install
-
- rm -r "${D}"/usr/share/doc || die
- dodoc README.md AUTHORS NEWS
+pkg_preinst() {
+ gnome2_schemas_savelist
+ xdg_pkg_preinst
}
pkg_postinst() {
+ gnome2_gconf_install
gnome2_schemas_update
- xdg_icon_cache_update
- xdg_desktop_database_update
+ xdg_pkg_postinst
}
pkg_postrm() {
- xdg_desktop_database_update
- xdg_icon_cache_update
+ gnome2_gconf_uninstall
gnome2_schemas_update
+ xdg_pkg_postrm
}