commit: a14366a5249f83ebd7f4a9124ccdbb507e04ed57 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Mon Apr 1 12:26:04 2024 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sat Apr 13 09:09:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a14366a5
media-libs/libmpris2client: EAPI8 bump, fix LICENSE Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/36039 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> .../libmpris2client-0.1.0-r2.ebuild | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/media-libs/libmpris2client/libmpris2client-0.1.0-r2.ebuild b/media-libs/libmpris2client/libmpris2client-0.1.0-r2.ebuild new file mode 100644 index 000000000000..b85c77559762 --- /dev/null +++ b/media-libs/libmpris2client/libmpris2client-0.1.0-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg-utils + +DESCRIPTION="Library to control MPRIS2 compatible players" +HOMEPAGE="https://github.com/matiasdelellis/libmpris2client" +SRC_URI="https://github.com/matiasdelellis/${PN}/releases/download/V${PV}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=dev-libs/glib-2 + x11-libs/gtk+:2" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( AUTHORS NEWS README TODO ) + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}