summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2014-05-14 17:09:30 +0000
committerTom Wijsman <tomwij@gentoo.org>2014-05-14 17:09:30 +0000
commit9b3d78597e09cc2c30b71f5bdbe05582938e2c7e (patch)
tree29355c92962a5250946a7d7e139be2b0099c63ad /dev-embedded/gnome-avrdude
parent[QA] EAPI 1 -> 5. (diff)
downloadgentoo-2-9b3d78597e09cc2c30b71f5bdbe05582938e2c7e.tar.gz
gentoo-2-9b3d78597e09cc2c30b71f5bdbe05582938e2c7e.tar.bz2
gentoo-2-9b3d78597e09cc2c30b71f5bdbe05582938e2c7e.zip
[QA] EAPI 1 -> 5. Remove Application category from .desktop file.
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'dev-embedded/gnome-avrdude')
-rw-r--r--dev-embedded/gnome-avrdude/ChangeLog7
-rw-r--r--dev-embedded/gnome-avrdude/gnome-avrdude-0.1.ebuild13
2 files changed, 13 insertions, 7 deletions
diff --git a/dev-embedded/gnome-avrdude/ChangeLog b/dev-embedded/gnome-avrdude/ChangeLog
index 5792e6e7a546..11a7b73770b5 100644
--- a/dev-embedded/gnome-avrdude/ChangeLog
+++ b/dev-embedded/gnome-avrdude/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-embedded/gnome-avrdude
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gnome-avrdude/ChangeLog,v 1.5 2012/10/29 08:53:34 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gnome-avrdude/ChangeLog,v 1.6 2014/05/14 17:09:30 tomwij Exp $
+
+ 14 May 2014; Tom Wijsman <TomWij@gentoo.org> gnome-avrdude-0.1.ebuild:
+ [QA] EAPI 1 -> 5. Remove Application category from .desktop file.
29 Oct 2012; Agostino Sarubbo <ago@gentoo.org> gnome-avrdude-0.1.ebuild:
Add ~amd64, wrt bug #440056
diff --git a/dev-embedded/gnome-avrdude/gnome-avrdude-0.1.ebuild b/dev-embedded/gnome-avrdude/gnome-avrdude-0.1.ebuild
index e3b055cc897a..caf669789202 100644
--- a/dev-embedded/gnome-avrdude/gnome-avrdude-0.1.ebuild
+++ b/dev-embedded/gnome-avrdude/gnome-avrdude-0.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gnome-avrdude/gnome-avrdude-0.1.ebuild,v 1.5 2012/10/29 08:53:34 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gnome-avrdude/gnome-avrdude-0.1.ebuild,v 1.6 2014/05/14 17:09:30 tomwij Exp $
-EAPI=1
+EAPI=5
inherit gnome2 autotools
@@ -31,8 +31,7 @@ RDEPEND="${RDEPEND}
DOCS="AUTHORS NEWS README"
-src_unpack() {
- gnome2_src_unpack
+src_prepare() {
sed -i \
-e :a -e '/\\$/N; s/\\\n//; ta' \
-e 's/^gnome_avrdude/#gnome_avrdude/' \
@@ -43,5 +42,9 @@ src_unpack() {
-e 's/^[\t ]*-g//' \
"${S}"/src/Makefile.am \
|| die "sed failed"
+
+ # Remove Application category from .desktop file.
+ sed -i 's/;Application;/;/' gnome-avrdude.desktop
+
eautoreconf
}