summaryrefslogtreecommitdiff
path: root/sci-chemistry/gperiodic
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/gperiodic')
-rw-r--r--sci-chemistry/gperiodic/Manifest6
-rw-r--r--sci-chemistry/gperiodic/gperiodic-2.0.10-r2.ebuild4
-rw-r--r--sci-chemistry/gperiodic/gperiodic-3.0.1.ebuild6
-rw-r--r--sci-chemistry/gperiodic/gperiodic-3.0.3.ebuild45
4 files changed, 54 insertions, 7 deletions
diff --git a/sci-chemistry/gperiodic/Manifest b/sci-chemistry/gperiodic/Manifest
index 1c9c860a99aa..b3549721e09e 100644
--- a/sci-chemistry/gperiodic/Manifest
+++ b/sci-chemistry/gperiodic/Manifest
@@ -4,6 +4,8 @@ AUX gperiodic-3.0.1-makefile.patch 3196 BLAKE2B f0862f3b205f41aaec9cb1574a34bb8b
AUX gperiodic-3.0.1-nls.patch 488 BLAKE2B d325dded4249cbbceb45bcac7e20eade635e50d2ed410f6a6c5141b169ccf05fcf090b98a56b8efa8b21519e32a5113adc87665a29188be4608ce68c6a35299a SHA512 acd270f4c8e4cd271f2d48ea48e716195cb39e14ea09a41dc48787756f4f5806fea3bb3cf5072aac49f897c610a36fcbe89de433efefab845f7462d4693a5eef
DIST gperiodic-2.0.10.tar.gz 131213 BLAKE2B bd846dd64afa07e038008e6fe0563f5743767f3a1fba1aad0122ae644c7fb9279657609733bc4e6d4f4dcf988aff6096431ba1b71d02a328e01376ae00ff9bcb SHA512 23d0074ad5b0f9e25e8eee63f8c375e2448b1ee7c00f89e965b7dd8ce3f60f20251d7699a2f7a767228316144b946a5ac204a3e478c395767133f7fc801b51ba
DIST gperiodic-3.0.1.tar.gz 375347 BLAKE2B fb10c7d3484e822e636a8aca245ab2a68a95cfebbb433df03a643a1155f300d2cdca49ddb5713d298c69a25123abbf72e17fdd51f69c9b031d05153937b283fc SHA512 3bf47359dda1a029f3528ea04d28cd75909bceb535f6e1dc6c90f5a17b668e0dd98900ddd83633649383ff4e2fc588265275e0e4a27897ecc4ac6db4e93befc1
-EBUILD gperiodic-2.0.10-r2.ebuild 983 BLAKE2B 8005d38a0b5ff17cdc2dc61d13e6f3e2f67a5807235a3ea2d35b2862efdb6e3d38efa35c68269bd01cf49c67e04fbdf2159b2f24346c0a20231bd3ccbb0fe3f0 SHA512 98a0ae652b27414758ce0c58ba04f1ec83d48a467522c0cda190627721833e57b39092c2dabe2fd56523f4c766ed30e98830eff5ef4930897d81261365897a8f
-EBUILD gperiodic-3.0.1.ebuild 1254 BLAKE2B c2337b4a10da8be909dfa0d25fffa4c1968d0d0b4fa15b341293d9b198282adcb48c3e63561592736625644d341dc0446e08b9648393debd402c083e99fa01d8 SHA512 03fee6d3243bb38f0635ac91116c7ec7f8e6d8da1e151f773eadc13ebac0f45943f1af5e49490b2b86258c2aed0822ff80e3a8a9bb20dc83373353c2327252be
+DIST gperiodic-3.0.3.tar.gz 451559 BLAKE2B b91995046b9905a534e3b6f530aee0ad2b4e6ac42cd11755ea182fdaaf8970f34b1aea8a33870abb8767837606a42a0cf0d76c9a689236aa39fba686e1521ee8 SHA512 7226063cf7977f4283a199d4a3d1842d6c9be60c53f5a005541eb26f35cd6538b29f086dc13c28225779e1849a12d1c39150897055c03902cb00adc011bc1ce8
+EBUILD gperiodic-2.0.10-r2.ebuild 980 BLAKE2B b5ba74641f0f3ae67d8bb727d25d73f05f2f9cd900863264c358ab41be3cfeb9fddd39b17d6eb017238add96318e12d7a6067be57024bbd5b21882ec6e526823 SHA512 3d70210080fbeb3d8689202f21b6aa25f78a4309abe4e72859ec4cb1b66a4a97db5e854b09fec1919e67947c4916a467fe86ccca9538b8e622e18598c820f87c
+EBUILD gperiodic-3.0.1.ebuild 1252 BLAKE2B 852805406f9d9d35f2e70166ec0b49eb557494b86cf028147bf0b2e2fa69450eaec73b3a1e974e001c7c67ddb95b01b14fd6d4a58c9e025e7b9c7adfc4da8c25 SHA512 942525b7106bac0451a802c4a896baf83b310a52c206ee043877f255b1abfa2592ed440dd2554cae5bcdefe210a519927e3fa387d47ad96be36a6701855a9a3e
+EBUILD gperiodic-3.0.3.ebuild 883 BLAKE2B bde1cc41d3a24a30d29d4d6ec60d2f3aece89656d46becc6b42461f78eeafdb0fba5fc48af6226ec3cf547965e55372216ea274da0c00e847e04646b0b0b2b3f SHA512 fe9faaa3caf64744ad0c3813efc956e5bc2aa80b6d135bf401c067047e38b94c4b09e9c50dc22879e75e93caf8f30811c9f736158600d552914fee67fad82793
MISC metadata.xml 550 BLAKE2B eeb2153919fb1045284131b22a26e22feb0c4671296ed2ba223b0d5f8632d5e73070ef9bf8fbff52c228ad3c9eae23a701b5d3f15e0fb11c5cb0fc148297c1bd SHA512 a847a617e38f540ac53851c97bb30bb3b64d7ca3dac8a89b9a1e70521081cb8e2ee0183c9f9fdfd099532add7dd017cbff53d3b67c7624adc4264953b646e2e4
diff --git a/sci-chemistry/gperiodic/gperiodic-2.0.10-r2.ebuild b/sci-chemistry/gperiodic/gperiodic-2.0.10-r2.ebuild
index d13194b76ff0..64e36c7c268f 100644
--- a/sci-chemistry/gperiodic/gperiodic-2.0.10-r2.ebuild
+++ b/sci-chemistry/gperiodic/gperiodic-2.0.10-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=4
@@ -6,7 +6,7 @@ EAPI=4
inherit eutils toolchain-funcs
DESCRIPTION="Periodic table application for Linux"
-HOMEPAGE="http://www.frantz.fi/software/gperiodic.php"
+HOMEPAGE="https://sourceforge.net/projects/gperiodic/"
SRC_URI="http://www.frantz.fi/software/${P}.tar.gz"
KEYWORDS="amd64 x86"
diff --git a/sci-chemistry/gperiodic/gperiodic-3.0.1.ebuild b/sci-chemistry/gperiodic/gperiodic-3.0.1.ebuild
index e0d3ee51c5e6..511cfe2ba428 100644
--- a/sci-chemistry/gperiodic/gperiodic-3.0.1.ebuild
+++ b/sci-chemistry/gperiodic/gperiodic-3.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -6,8 +6,8 @@ EAPI=5
inherit eutils toolchain-funcs
DESCRIPTION="Periodic table application for Linux"
-HOMEPAGE="http://www.frantz.fi/software/gperiodic.php"
-SRC_URI="http://downloads.sourceforge.net/project/${PN}/${P}.tar.gz"
+HOMEPAGE="https://sourceforge.net/projects/gperiodic/"
+SRC_URI="https://downloads.sourceforge.net/project/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
SLOT="0"
diff --git a/sci-chemistry/gperiodic/gperiodic-3.0.3.ebuild b/sci-chemistry/gperiodic/gperiodic-3.0.3.ebuild
new file mode 100644
index 000000000000..200dad25d4c7
--- /dev/null
+++ b/sci-chemistry/gperiodic/gperiodic-3.0.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs xdg-utils
+
+DESCRIPTION="Periodic table application for Linux"
+HOMEPAGE="https://sourceforge.net/projects/gperiodic/"
+SRC_URI="https://downloads.sourceforge.net/project/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+BDEPEND="
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+RDEPEND="
+ sys-libs/ncurses:0
+ x11-libs/gtk+:2
+ x11-libs/cairo[X]"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ emake \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ CC=$(tc-getCC) "enable_nls=$(usex nls 1 0)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" "enable_nls=$(usex nls 1 0)" install
+ dodoc AUTHORS ChangeLog README
+ newdoc po/README README.translation
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}