summaryrefslogtreecommitdiff
path: root/sci-chemistry/easychem
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/easychem')
-rw-r--r--sci-chemistry/easychem/Manifest2
-rw-r--r--sci-chemistry/easychem/easychem-0.6-r1.ebuild20
2 files changed, 13 insertions, 9 deletions
diff --git a/sci-chemistry/easychem/Manifest b/sci-chemistry/easychem/Manifest
index 0286e86d8a92..695a7f699cd8 100644
--- a/sci-chemistry/easychem/Manifest
+++ b/sci-chemistry/easychem/Manifest
@@ -1,4 +1,4 @@
AUX 0.6-gentoo.patch 1695 BLAKE2B cff09334811f4f7f40c77edcfd9c160885f906d616d1b36d0a0c61b0c4d03982ebab91cbcacd55fab1e7b152dec6de26e8f6584b8436a20a3d9e8f43621888e4 SHA512 02b9880ff2b8d9ec81ddd8d96f64a9e1dc38810789eedd18ad7cacc0c594914334971fccf735a7103878c8d32e0a3765d5ff57016b4a4feb2e572915bd7c3eec
DIST easychem-0.6.tar.gz 265458 BLAKE2B 673100e6d01653ea16a70a8384dc8c598c8e113e241851b19882b333c95e6118fc180a1123e770c021245417640310a05a9026e55a57ae589bde59cf9e5b4766 SHA512 83f877d1813287592a460f4dc3769feda88e45d8f77cd728c4055b60521babe253b4432033941ff429c753cfe675a642714052a01736534147398d6972e47051
-EBUILD easychem-0.6-r1.ebuild 807 BLAKE2B bbd891d60711b8d4fe68e17fa5f71016479c274bc077d277aa49fd4313046d676fc87514513c5468d3bd52a2408b83bacee0a18cce45cb1951f8d87d48fed644 SHA512 49514e7ac39bea63ea697fade31adb0b7b7dbae28867d7f0e3401d52ef9a5d37a431da0fcd61fb5e2f819cada9794f788f254f0b9c41ba1665946f9bb29887b6
+EBUILD easychem-0.6-r1.ebuild 819 BLAKE2B 3d44383de6e9bb19e085d2db5e3382a02b1f03e3c67e4656bdcc94c0a768b3969bb8f488a7e2982cc945a97e454dc4de21743457655600241f2107ec01e83d8c SHA512 ed6793460232ffc5711ce05baea50916e0f3212aeb72322f52e39bdda2c3d0746f4b654affc98df633b3dd6de116b024c33083690055a4c6bfec34097d5bc4d0
MISC metadata.xml 758 BLAKE2B e03f2d584016eb1bf52a93b6bbcf0d77734e50ee7e1ab4fb15cfd15032bb28437d994698e9f221dec7dbe88ca7f3234734ec5819ffce8e103a03ca639984ee8e SHA512 e07eda8ec2fd7a721628cf0ccc1a50876f6cd8aff0a27903366ca03587d8c9dbb5cd830da9dfcfe2aa5d6b64eb577b36f3b5173b5fa6e39b19c6e97d8764a825
diff --git a/sci-chemistry/easychem/easychem-0.6-r1.ebuild b/sci-chemistry/easychem/easychem-0.6-r1.ebuild
index 9fbce1815123..4d9d43bcf619 100644
--- a/sci-chemistry/easychem/easychem-0.6-r1.ebuild
+++ b/sci-chemistry/easychem/easychem-0.6-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=8
-inherit epatch toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="Chemical structure drawing program - focused on presentation"
HOMEPAGE="http://easychem.sourceforge.net/"
@@ -12,18 +12,22 @@ SRC_URI="mirror://sourceforge/easychem/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
-IUSE=""
RDEPEND="
- x11-libs/gtk+:2
app-text/ghostscript-gpl
- media-gfx/pstoedit"
-DEPEND="${RDEPEND}
+ media-gfx/pstoedit
+ x11-libs/gtk+:2
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
dev-lang/perl
- virtual/pkgconfig"
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/${PV}-gentoo.patch )
src_prepare() {
- epatch "${FILESDIR}"/${PV}-gentoo.patch
+ default
tc-export CC
}