diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2013-08-19 16:39:33 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2013-08-19 16:39:33 +0000 |
commit | 9c67a9829be759322e6de3c24af9257d0cf62e52 (patch) | |
tree | 9055dc5db2879c7e58dfcf2dbd8197563f368f8e /app-admin/gtkdiskfree | |
parent | Introduce speex, theora and vpx use flags, update 9999 ebuild. Drop unneeded ... (diff) | |
download | gentoo-2-9c67a9829be759322e6de3c24af9257d0cf62e52.tar.gz gentoo-2-9c67a9829be759322e6de3c24af9257d0cf62e52.tar.bz2 gentoo-2-9c67a9829be759322e6de3c24af9257d0cf62e52.zip |
Revision bump: EAPI 5, port to autotools-utils eclass, fix desktop file, fix underlinking wrt bug #463578, drop GTK2 support
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'app-admin/gtkdiskfree')
-rw-r--r-- | app-admin/gtkdiskfree/ChangeLog | 11 | ||||
-rw-r--r-- | app-admin/gtkdiskfree/files/gtkdiskfree-2.0.1-desktop-file.patch | 19 | ||||
-rw-r--r-- | app-admin/gtkdiskfree/gtkdiskfree-2.0.1-r1.ebuild | 46 |
3 files changed, 74 insertions, 2 deletions
diff --git a/app-admin/gtkdiskfree/ChangeLog b/app-admin/gtkdiskfree/ChangeLog index 2046d3162560..022715e86668 100644 --- a/app-admin/gtkdiskfree/ChangeLog +++ b/app-admin/gtkdiskfree/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-admin/gtkdiskfree -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/gtkdiskfree/ChangeLog,v 1.38 2012/07/26 20:48:25 xmw Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/gtkdiskfree/ChangeLog,v 1.39 2013/08/19 16:39:32 pinkbyte Exp $ + +*gtkdiskfree-2.0.1-r1 (19 Aug 2013) + + 19 Aug 2013; Sergey Popov <pinkbyte@gentoo.org> +gtkdiskfree-2.0.1-r1.ebuild, + +files/gtkdiskfree-2.0.1-desktop-file.patch: + Revision bump: EAPI 5, port to autotools-utils eclass, fix desktop file, fix + underlinking wrt bug #463578, drop GTK2 support 26 Jul 2012; Michael Weber <xmw@gentoo.org> gtkdiskfree-2.0.1.ebuild, metadata.xml: diff --git a/app-admin/gtkdiskfree/files/gtkdiskfree-2.0.1-desktop-file.patch b/app-admin/gtkdiskfree/files/gtkdiskfree-2.0.1-desktop-file.patch new file mode 100644 index 000000000000..ca2858904e33 --- /dev/null +++ b/app-admin/gtkdiskfree/files/gtkdiskfree-2.0.1-desktop-file.patch @@ -0,0 +1,19 @@ +--- gtkdiskfree.desktop.orig 2012-04-05 21:59:26.000000000 +0400 ++++ gtkdiskfree.desktop 2013-08-19 20:26:50.127669805 +0400 +@@ -1,13 +1,9 @@ +- + [Desktop Entry] + Name=GtkDiskFree +-Name[ru_RU.CP1251]=GtkDiskFree +-Name[ru_RU.KOI8-R]=GtkDiskFree + Comment=Free space monitor +-Comment[ru_RU.CP1251]= . +-Comment[ru_RU.KOI8-R]= . ++Comment[ru]=Индикатор свободного места на диске + Exec=gtkdiskfree +-Icon=/usr/share/pixmaps/gtkdiskfree.png ++Icon=gtkdiskfree + Terminal=false +-MultipleArgs=false ++X-MultipleArgs=false + Type=Application diff --git a/app-admin/gtkdiskfree/gtkdiskfree-2.0.1-r1.ebuild b/app-admin/gtkdiskfree/gtkdiskfree-2.0.1-r1.ebuild new file mode 100644 index 000000000000..eb551c17beb9 --- /dev/null +++ b/app-admin/gtkdiskfree/gtkdiskfree-2.0.1-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/gtkdiskfree/gtkdiskfree-2.0.1-r1.ebuild,v 1.1 2013/08/19 16:39:32 pinkbyte Exp $ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +AUTOTOOLS_IN_SOURCE_BUILD=1 +inherit autotools-utils flag-o-matic + +DESCRIPTION="Graphical tool to show free disk space" +HOMEPAGE="https://gitorious.org/gtkdiskfree" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="nls" + +RDEPEND="x11-libs/gtk+:3" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +S="${WORKDIR}/${PN}-master" + +PATCHES=( "${FILESDIR}/${P}-desktop-file.patch" ) + +src_prepare() { + sed -i \ + -e '/^CFLAGS=/s:=" -Wall -O2 :+=" :' \ + configure.in || die "sed on configure.in failed" + + # Fix underlinking, bug #463578 + append-libs -lm + + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + --without-gtk2 + $(use_enable nls) + ) + autotools-utils_src_configure +} |