From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- media-sound/darksnow/darksnow-0.7.1.ebuild | 32 ++++++++++++++---------------- 1 file changed, 15 insertions(+), 17 deletions(-) (limited to 'media-sound/darksnow/darksnow-0.7.1.ebuild') diff --git a/media-sound/darksnow/darksnow-0.7.1.ebuild b/media-sound/darksnow/darksnow-0.7.1.ebuild index 351b2bdbed15..1a877cebfda6 100644 --- a/media-sound/darksnow/darksnow-0.7.1.ebuild +++ b/media-sound/darksnow/darksnow-0.7.1.ebuild @@ -1,39 +1,37 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit autotools eutils gnome2-utils +inherit autotools desktop xdg DESCRIPTION="Streaming GTK+ Front-End based on Darkice Ice Streamer" HOMEPAGE="http://darksnow.radiolivre.org" SRC_URI="http://darksnow.radiolivre.org/pacotes/${P}.tar.gz" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="amd64 ppc sparc x86" -IUSE="" PDEPEND=">=media-sound/darkice-1.2" RDEPEND=">=x11-libs/gtk+-2.14.0:2" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-Makefile.patch + "${FILESDIR}"/${P}-fno-common.patch +) src_prepare() { - epatch "${FILESDIR}"/${P}-Makefile.patch + default + mv configure.{in,ac} || die eautoreconf } src_install() { - emake DESTDIR="${D}" install + default dodoc documentation/{CHANGES,CREDITS,README*} - make_desktop_entry ${PN} "DarkSnow" ${PN} -} - -pkg_postinst() { - gnome2_icon_cache_update -} -pkg_postrm() { - gnome2_icon_cache_update + make_desktop_entry ${PN} "DarkSnow" ${PN} } -- cgit v1.2.3