summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-11-14 16:04:54 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-14 16:04:54 +0100
commitb4e1743833ba1613c372255177e7e6f90e37877d (patch)
tree793e6104478b10439571715a06fab9c8efa9dcc8 /media-sound/gtkguitune
parentmedia-sound/ripperx: Port to EAPI 7 (diff)
downloadgentoo-b4e1743833ba1613c372255177e7e6f90e37877d.tar.gz
gentoo-b4e1743833ba1613c372255177e7e6f90e37877d.tar.bz2
gentoo-b4e1743833ba1613c372255177e7e6f90e37877d.zip
media-sound/gtkguitune: Port to EAPI 7
* run "make distclean" before calling econf, since the tarball contains stale binaries and object code. Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound/gtkguitune')
-rw-r--r--media-sound/gtkguitune/gtkguitune-0.8.ebuild26
1 files changed, 13 insertions, 13 deletions
diff --git a/media-sound/gtkguitune/gtkguitune-0.8.ebuild b/media-sound/gtkguitune/gtkguitune-0.8.ebuild
index c0fcf6da9d6f..3373aab1e71a 100644
--- a/media-sound/gtkguitune/gtkguitune-0.8.ebuild
+++ b/media-sound/gtkguitune/gtkguitune-0.8.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils flag-o-matic gnome2-utils
+EAPI=7
+
+inherit desktop xdg
DESCRIPTION="A guitar tuning program that uses Schmitt-triggering for quick feedback"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
@@ -11,25 +12,24 @@ SRC_URI="mirror://gentoo/${PN}-gtk2-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE=""
-RDEPEND="dev-cpp/glibmm:2
+RDEPEND="
+ dev-cpp/glibmm:2
dev-cpp/gtkmm:2.4
dev-libs/libsigc++:2"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/${PN}"
-src_prepare() {
- append-cxxflags -std=c++11
+src_configure() {
+ # improperly packaged tarball, contains object code
+ emake distclean
+
+ default
}
src_install() {
default
- make_desktop_entry ${PN} Guitune guitune_logo
+ make_desktop_entry gtkguitune Guitune guitune_logo
}
-
-pkg_preinst() { gnome2_icon_savelist; }
-pkg_postinst() { gnome2_icon_cache_update; }
-pkg_postrm() { gnome2_icon_cache_update; }