diff options
Diffstat (limited to 'app-admin/gtkdiskfree')
-rw-r--r-- | app-admin/gtkdiskfree/Manifest | 1 | ||||
-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 | ||||
-rw-r--r-- | app-admin/gtkdiskfree/metadata.xml | 19 |
4 files changed, 85 insertions, 0 deletions
diff --git a/app-admin/gtkdiskfree/Manifest b/app-admin/gtkdiskfree/Manifest new file mode 100644 index 000000000000..7d051e191aec --- /dev/null +++ b/app-admin/gtkdiskfree/Manifest @@ -0,0 +1 @@ +DIST gtkdiskfree-2.0.1.tar.gz 354661 SHA256 eb4369db5ff98df487b43fd59f998f3524a87896686cd2e9c5adccea3bfe7e94 SHA512 ec202cc79dc80fb66fdf028b6a89610344bb76d7cbe09563f5f47ae072bed791e395d9d1389954046c25e882587d3685b14db4e871e26244045beabb8b579de8 WHIRLPOOL bd4aaeaea45703e62478a28a7b4b349fafdf0846d53f106837c332385efefde1ecb9a6637cc045b2949cc0dddf33aa416da7d1635a75972cb4af5aed348aa2d3 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..738fcf8e35d7 --- /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 +# $Id$ + +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 +} diff --git a/app-admin/gtkdiskfree/metadata.xml b/app-admin/gtkdiskfree/metadata.xml new file mode 100644 index 000000000000..4c8d1bcd9619 --- /dev/null +++ b/app-admin/gtkdiskfree/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>samuel.bauer@yahoo.fr</email> + <name>Samuel Bauer</name> + </maintainer> + <maintainer> + <email>xmw@gentoo.org</email> + <name>Michael Weber</name> + </maintainer> + <longdescription> +gtkdiskfree is a gtk extension to the cli tool df, does the same and more +</longdescription> + <upstream> + <remote-id type="gitorious">gtkdiskfree</remote-id> + </upstream> +</pkgmetadata> |