Skip to content

Commit

Permalink
app-misc/granule: bump to EAPI5, fix desktop file warnings
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.23
  • Loading branch information
nyxdis committed Oct 17, 2015
1 parent 4b1ad34 commit cef7fde
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions app-misc/granule/granule-1.4.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
inherit eutils

DESCRIPTION="A flashcard program that implements Leitner cardfile methodology"
HOMEPAGE="http://granule.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}-7.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=dev-cpp/gtkmm-2.4.1:2.4
>=dev-cpp/libassa-3.5.0
x11-libs/gtk+:2
dev-cpp/glibmm:2
>=dev-libs/libsigc++-2.0
x11-libs/pango
dev-libs/glib:2
dev-libs/libxml2"
DEPEND="${RDEPEND}
sys-devel/gettext
dev-util/intltool
virtual/pkgconfig"

S="${WORKDIR}/${P}-7"

DOCS=( AUTHORS ChangeLog NEWS README )

src_prepare() {
epatch "${FILESDIR}"/${P}-fix-template-with-permissive.patch
sed -i -e "s:Application;::" \
-i -e "/^Icon/s:\.png::" granule.desktop.in || die
}

0 comments on commit cef7fde

Please sign in to comment.