summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorktrace <coyote@bks.tv>2018-04-26 14:41:14 +0300
committerDavid Seifert <soap@gentoo.org>2018-04-27 11:40:10 +0200
commit8ddd50d4ca2b2e1c72b6af14cb232de0876782e8 (patch)
treed9ee7759f0002e98ae2622fd052220c5b902fb8c /sci-electronics
parentsys-boot/refind: fix SYMLINK_LIB=no bug 627744 (diff)
downloadgentoo-8ddd50d4ca2b2e1c72b6af14cb232de0876782e8.tar.gz
gentoo-8ddd50d4ca2b2e1c72b6af14cb232de0876782e8.tar.bz2
gentoo-8ddd50d4ca2b2e1c72b6af14cb232de0876782e8.zip
sci-electronics/xcircuit: version bump to 3.9.73
- version bump - switch to EAPI=6 - add USE="tcl" and fix tcl support Package-Manager: Portage-2.3.24, Repoman-2.3.6 Closes: https://bugs.gentoo.org/652984 Closes: https://github.com/gentoo/gentoo/pull/7945
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/xcircuit/Manifest1
-rw-r--r--sci-electronics/xcircuit/xcircuit-3.9.73.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/sci-electronics/xcircuit/Manifest b/sci-electronics/xcircuit/Manifest
index c50550844bd..1dfcdf85aeb 100644
--- a/sci-electronics/xcircuit/Manifest
+++ b/sci-electronics/xcircuit/Manifest
@@ -1,3 +1,4 @@
DIST xcircuit-3.7.48.tgz 1648993 BLAKE2B 4c3693a75323634ec39a4bc1b76a5310c68e63346cf92209fdce7576038315e4a3488f18c9835dca5069e947daabf143c6b6ab328ae37c4adc2bb6255bacedc9 SHA512 686bd2139a6d2d5011b51ff500ea9ffb4007326734eafc0afeec250cb844d8107a344c4ef90d2ed747d8485e7dc8dca69c7e62fd785fc17d3f3460212a0dcb84
DIST xcircuit-3.8.83.tgz 1533560 BLAKE2B 25e634effad9f5c81954982baacdcb6cf05423ed4c7b92abd85873af054f29b0886a6dddf9771862f839e8274067f990e684f20f3fd123b4298ddb1826637d53 SHA512 2fc798c7fd1e098e4cf1605cd46007ae980be27373cdc0089a129f4a98be475c6a7452e8498c39d28bc97e7b8d7dcd9ef35e029ca416fb49144f00bf83c4b36a
DIST xcircuit-3.9.62.tgz 1610475 BLAKE2B 1d1c0e33aef24e9d68c5ea6aecda0897a3bfb269db653196c554b1847884837c459edb19c5a023d5ecaacc3bc8458664948cb2c6498c272011736b59b117aa08 SHA512 8042c2b891336e3985385eaefa5762f806af779f2885a74f180b91fdd5178cfb276e496974ad7e81e64cd3e403b4039d060ab6a660a52f18455cd67811609fd7
+DIST xcircuit-3.9.73.tgz 1620922 BLAKE2B ac3f8e6f9370efd720b57a9cd7c487621534f477d1af4fd267d311da3bd949886eccd1c8e8e59071689637272ca23f985dd1809594aab692fa60ea2ca8f8a456 SHA512 2dfeb130a48c99bf08bdff94250f7157acd283bc3f3d6b41f963346deb1241aca0d59a3e8d60dbd36a4aa60acd89e131b263ddbf489b2b44e7e1831714d7b703
diff --git a/sci-electronics/xcircuit/xcircuit-3.9.73.ebuild b/sci-electronics/xcircuit/xcircuit-3.9.73.ebuild
new file mode 100644
index 00000000000..48d29c17668
--- /dev/null
+++ b/sci-electronics/xcircuit/xcircuit-3.9.73.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Circuit drawing and schematic capture program"
+SRC_URI="http://opencircuitdesign.com/xcircuit/archive/${P}.tgz"
+HOMEPAGE="http://opencircuitdesign.com/xcircuit"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="tcl"
+
+DEPEND="
+ app-text/ghostscript-gpl
+ media-libs/fontconfig:1.0=
+ sys-libs/zlib:=
+ x11-libs/cairo
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXpm
+ x11-libs/libXt
+ tcl? (
+ dev-lang/tcl:0=
+ dev-lang/tk:0=
+ )
+"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ default
+ mv configure.{in,ac} || die
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --with-cairo
+ --with-ngspice
+ $(use_with tcl)
+ $(use_with tcl tcllibs "/usr/$(get_libdir)")
+ $(use_with tcl tk)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+}