summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-calculators/qalculate-gtk
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-calculators/qalculate-gtk')
-rw-r--r--sci-calculators/qalculate-gtk/Manifest1
-rw-r--r--sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.7-entry.patch18
-rw-r--r--sci-calculators/qalculate-gtk/metadata.xml13
-rw-r--r--sci-calculators/qalculate-gtk/qalculate-gtk-0.9.7.ebuild39
4 files changed, 71 insertions, 0 deletions
diff --git a/sci-calculators/qalculate-gtk/Manifest b/sci-calculators/qalculate-gtk/Manifest
new file mode 100644
index 00000000000..acee3820c81
--- /dev/null
+++ b/sci-calculators/qalculate-gtk/Manifest
@@ -0,0 +1 @@
+DIST qalculate-gtk-0.9.7.tar.gz 1511036 SHA256 a4ea8ee2366ac3ad53bb17fd2f76a7bed7211640cf2fdadfcf3b79eb4b37282d SHA512 d9dca6298caba85ac763a734c06b29d8786edd6769b81ddeef70d81e6d3cda529a92e2489a1b450de3b42edbd076a30f616b894e10100469e42edcc0a47016af WHIRLPOOL e0086c43ca8c419595a558fbc8e0b6b2b45a25429f40870076a553b5ccba19ae612fca27246b6bf93127603a53b46fc0fb587cf5e0487bb76ad1f73435b7b5a7
diff --git a/sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.7-entry.patch b/sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.7-entry.patch
new file mode 100644
index 00000000000..37fa0c02aa7
--- /dev/null
+++ b/sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.7-entry.patch
@@ -0,0 +1,18 @@
+Update to latest freedesktop spec.
+
+--- data/qalculate-gtk.desktop.in
++++ data/qalculate-gtk.desktop.in
+@@ -1,11 +1,9 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ _Name=Qalculate!
+ _Comment=Powerful and easy to use calculator
+ Exec=qalculate-gtk
+-Icon=qalculate.png
++Icon=qalculate
+ Terminal=false
+ Type=Application
+ StartupNotify=true
+-Categories=GNOME;Application;Utility;
+-
++Categories=GTK;Utility;
diff --git a/sci-calculators/qalculate-gtk/metadata.xml b/sci-calculators/qalculate-gtk/metadata.xml
new file mode 100644
index 00000000000..5260b5c72e5
--- /dev/null
+++ b/sci-calculators/qalculate-gtk/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <longdescription lang="en">
+ Qalculate! is a multi-purpose desktop calculator for GNU/Linux. It is
+ small and simple to use but with much power and versatility
+ underneath.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">qalculate</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-calculators/qalculate-gtk/qalculate-gtk-0.9.7.ebuild b/sci-calculators/qalculate-gtk/qalculate-gtk-0.9.7.ebuild
new file mode 100644
index 00000000000..ad6dd4f1dc7
--- /dev/null
+++ b/sci-calculators/qalculate-gtk/qalculate-gtk-0.9.7.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+GCONF_DEBUG=no
+inherit eutils gnome2
+
+DESCRIPTION="Modern multi-purpose calculator"
+HOMEPAGE="http://qalculate.sourceforge.net/"
+SRC_URI="mirror://sourceforge/qalculate/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~hppa ppc sparc x86 ~amd64-linux ~x86-linux"
+IUSE="gnome"
+
+RDEPEND=">=sci-libs/libqalculate-0.9.7
+ >=sci-libs/cln-1.2
+ x11-libs/gtk+:2
+ gnome-base/libglade:2.0
+ gnome? ( >=gnome-base/libgnome-2 )"
+DEPEND="${RDEPEND}
+ app-text/rarian
+ sys-devel/gettext
+ dev-util/intltool
+ virtual/pkgconfig"
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+ G2CONF="$(use_with gnome libgnome)"
+}
+
+src_prepare() {
+ # Required by src_test() and `make check`
+ echo data/periodictable.glade > po/POTFILES.skip
+ epatch "${FILESDIR}"/${P}-entry.patch
+ gnome2_src_prepare
+}