summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-08-02 22:51:37 +0200
committerMatthias Maier <tamiko@gentoo.org>2016-08-02 23:12:29 -0500
commit4f6a9afae77301532c82db0dfd39b10eb050b7cf (patch)
treecf82aae9bf13e09664754cdd551b3621e09585d3 /sci-calculators/qalculate-gtk
parentsci-libs/libqalculate: version bump (diff)
downloadgentoo-4f6a9afae77301532c82db0dfd39b10eb050b7cf.tar.gz
gentoo-4f6a9afae77301532c82db0dfd39b10eb050b7cf.tar.bz2
gentoo-4f6a9afae77301532c82db0dfd39b10eb050b7cf.zip
sci-calculators/qalculate-gtk: version bump
* EAPI=6 Package-Manager: portage-2.3.0 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
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.9-entry.patch18
-rw-r--r--sci-calculators/qalculate-gtk/qalculate-gtk-0.9.9.ebuild35
3 files changed, 54 insertions, 0 deletions
diff --git a/sci-calculators/qalculate-gtk/Manifest b/sci-calculators/qalculate-gtk/Manifest
index acee3820c81..9574898ac44 100644
--- a/sci-calculators/qalculate-gtk/Manifest
+++ b/sci-calculators/qalculate-gtk/Manifest
@@ -1 +1,2 @@
DIST qalculate-gtk-0.9.7.tar.gz 1511036 SHA256 a4ea8ee2366ac3ad53bb17fd2f76a7bed7211640cf2fdadfcf3b79eb4b37282d SHA512 d9dca6298caba85ac763a734c06b29d8786edd6769b81ddeef70d81e6d3cda529a92e2489a1b450de3b42edbd076a30f616b894e10100469e42edcc0a47016af WHIRLPOOL e0086c43ca8c419595a558fbc8e0b6b2b45a25429f40870076a553b5ccba19ae612fca27246b6bf93127603a53b46fc0fb587cf5e0487bb76ad1f73435b7b5a7
+DIST qalculate-gtk-0.9.9.tar.gz 1283947 SHA256 5c88b7595b654c128d0aa56c16e80b6e02e5cfc6378112000fb01133872d024a SHA512 944fad21d96de4a9d6b01fe259efb72f4872dd555357577fff18dca5bc4022c77d894b5cf8a0b470fbb02331de21210a6f034627346e08dc57be2f7c08e9faef WHIRLPOOL a42218f4959e2ed2987cd5461ea625eb84ba4256638da320cb71a4c361528d954d3e2adc8693fe5be54907b97ab6d8125e5fc9d69ded5c44239ce49e5138c357
diff --git a/sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.9-entry.patch b/sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.9-entry.patch
new file mode 100644
index 00000000000..0163e8efcc1
--- /dev/null
+++ b/sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.9-entry.patch
@@ -0,0 +1,18 @@
+Update to latest freedesktop spec.
+
+--- qalculate-gtk-0.9.9/data/qalculate-gtk.desktop.in
++++ qalculate-gtk-0.9.9/data/qalculate-gtk.desktop.in
+@@ -1,11 +1,10 @@
+ [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=GTK;Application;Utility;Calculator;Science;Math;
++Categories=GTK;Utility;Calculator;Science;Math;
+
diff --git a/sci-calculators/qalculate-gtk/qalculate-gtk-0.9.9.ebuild b/sci-calculators/qalculate-gtk/qalculate-gtk-0.9.9.ebuild
new file mode 100644
index 00000000000..d4c047585c2
--- /dev/null
+++ b/sci-calculators/qalculate-gtk/qalculate-gtk-0.9.9.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit gnome2
+
+DESCRIPTION="Modern multi-purpose calculator"
+HOMEPAGE="https://qalculate.github.io/"
+SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${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.9:=
+ x11-libs/gtk+:3"
+DEPEND="${RDEPEND}
+ app-text/rarian
+ sys-devel/gettext
+ dev-util/intltool
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.9.9-entry.patch"
+)
+
+src_prepare() {
+ # Required by src_test() and `make check`
+ echo data/periodictable.ui > po/POTFILES.skip || die
+
+ gnome2_src_prepare
+}