diff options
Diffstat (limited to 'media-sound/mpdevil')
-rw-r--r-- | media-sound/mpdevil/Manifest | 3 | ||||
-rw-r--r-- | media-sound/mpdevil/metadata.xml | 7 | ||||
-rw-r--r-- | media-sound/mpdevil/mpdevil-0.9.4.ebuild | 58 |
3 files changed, 68 insertions, 0 deletions
diff --git a/media-sound/mpdevil/Manifest b/media-sound/mpdevil/Manifest new file mode 100644 index 0000000..09496c8 --- /dev/null +++ b/media-sound/mpdevil/Manifest @@ -0,0 +1,3 @@ +DIST mpdevil-0.9.4.tar.gz 1138334 BLAKE2B 37e3d601d9b05e449d571bd83dd8cdafeb12c7f9991cb5f26be14a8d0c72ac2d2becc51880872cad8de5d94ad6a5ebe93cceb19ab1f21999319b03decfe92aa3 SHA512 3cfe8cb0e427581185bf932d1618a8136c8fb4c7843bd12e7fd508c7185350a3cc2859ec3600768fb76d3ea9cc09d55a2a8ef3bcb100c2f17295dcf768a103ed +EBUILD mpdevil-0.9.4.ebuild 1346 BLAKE2B 7da8de200b0f323959b2a0099126e1e2b5d132b6633decf27719b67dfbda3cf28877a51e13506c5e4d10ae33228dd82d4198bd9fd682631e499157635db75b1f SHA512 be342455b539a95acfe013e13f8c614f54fd499b8cd27fe710b5c7b4c6d74e40b61994d7d6501d12dad5e57099d30b08fce5668f89fc8169f9b0c08bb27ef958 +MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0 diff --git a/media-sound/mpdevil/metadata.xml b/media-sound/mpdevil/metadata.xml new file mode 100644 index 0000000..c544433 --- /dev/null +++ b/media-sound/mpdevil/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>wolf@oriole.systems</email> + </maintainer> +</pkgmetadata> diff --git a/media-sound/mpdevil/mpdevil-0.9.4.ebuild b/media-sound/mpdevil/mpdevil-0.9.4.ebuild new file mode 100644 index 0000000..20e1663 --- /dev/null +++ b/media-sound/mpdevil/mpdevil-0.9.4.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_SINGLE_IMPL="true" +DISTUTILS_USE_SETUPTOOLS="no" +inherit desktop distutils-r1 gnome2-utils xdg-utils + +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" + +BDEPEND="dev-python/python-distutils-extra +" + +RDEPEND="dev-libs/gobject-introspection:= + x11-libs/gtk+:3[introspection] + x11-libs/libnotify[introspection] + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + dev-python/python-mpd[${PYTHON_MULTI_USEDEP}] + dev-python/requests[${PYTHON_MULTI_USEDEP}] + dev-python/beautifulsoup:4[${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_postinst() { + gnome2_schemas_update + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update + gnome2_schemas_update +} |