diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /sci-electronics/magic | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'sci-electronics/magic')
-rw-r--r-- | sci-electronics/magic/Manifest | 3 | ||||
-rw-r--r-- | sci-electronics/magic/magic-8.3.309-r1.ebuild | 96 | ||||
-rw-r--r-- | sci-electronics/magic/magic-8.3.309.ebuild | 92 |
3 files changed, 191 insertions, 0 deletions
diff --git a/sci-electronics/magic/Manifest b/sci-electronics/magic/Manifest index a2323360dfa8..21fbc20bd4f4 100644 --- a/sci-electronics/magic/Manifest +++ b/sci-electronics/magic/Manifest @@ -1,6 +1,9 @@ AUX magic-8.3.232-libdir.patch 525 BLAKE2B 5b85f02031d18299ae098b5ff45163d1c6d16f6bbd09996df6c669571ea82820175356c41b308f5055af874effa946f91baae90c43212e8e7adf40800799c8c3 SHA512 9b7018e05ab50db82996df57891642dfe4f00b74edd8f942912f750be91017a7d204fd0bf2271cee8082cfef9c903bdb4d8606979f6b2ef201b9d7ab1cdc523a AUX magic-8.3.232-verbose-build.patch 1041 BLAKE2B 80ab96d751ff2294e6d82f75e997ecc1ccc00588eae3a6c0d63d49a134567eae864f3a42c46c6a6e0f6b1a53473df30afefbc9a7e48385a4ea9b780523ee0ca0 SHA512 19f3b6c371efccebadb6fa85f479ec4fa32fb7a4e11af58630e7265f19f598fdfb6c0008cf500de601246a6316ccf173f96dafdcca28bbef4e09658989d67a3a DIST magic-8.3.232.tgz 4093446 BLAKE2B 6b4b49c2b1f566b0173bead0e95e381a6632b049545dc3b26572f415ba0df3958bc5c3931b686718136185cf105e437fe70dc1f71a11707ad33afac80ddf8f2f SHA512 755b27b8f263d990ca86b3f043e1b8f8a2de75d72f1baf9c4de3a1d7cde28feecf093d8bf1497f2632327d09ce0ce0b17ccea46bdba01c5b53c52ea0f5cf5fdc +DIST magic-8.3.309.tgz 4175194 BLAKE2B dc63e74abf1a0fee75b1b018f58f73f0ed4ba7acb244aa0f427af1d4051a3344892ee8514a5f99827bd10c8ff44eac907a70150855db48fb97d0e4d436273893 SHA512 1abfd843f3d123bf532672c5e8c58d2c0f50e29ab017c21e4895810163eec430ba07c3b0dd8c571e47f1ce3bacfd37aa4cc667e4cecb3d53b3b7dd1c8205d8c2 DIST magic-tech-mosis-2002a.tar.gz 6601961 BLAKE2B e34bc281b3f1bc032ba14954b781c8b0055bb9125c57944a5b5f595f8b22feb455c60f3230cf04f06bc41aa807e909d900e3d3ab746076e2c99dcbbdf51a71df SHA512 cb8e30df77e58eb37f7ada775db8a8411612897b1cdbcb59b0c4bd814fa73c6cb10a5461e27e9eecb0fe452e194ee95fbb02b568b86848e501b9c37cc24de39e EBUILD magic-8.3.232.ebuild 2253 BLAKE2B c8bb1c559fc0e7eaf88dd5a7b7cca4cecf8d4f10e0c81390b9522eba17e17965ff6a3328554effcc80e4559ad6a9525f124a593a819b0277943301ac0b97c058 SHA512 bc078bf38985541a28aa0e9b229b9042eda5fad39d8091710541f26b8dc260a5ed0c7bc5a54b58ab6c30f6cf354233f0d872ba59d5a5fb2e4ffe182c6fb83dc1 +EBUILD magic-8.3.309-r1.ebuild 2541 BLAKE2B d14a52c6108a8ad70bc56b9f1f2789e58709492de57a75bd7632fa7718cbdda97d689df438e96eab33d9a9723757c2a4f38b41d5e02d1d2a252e71d2a32dd872 SHA512 048603aa13e7a9feb7c5c307fa0af07a6cf65b4e9ce9dfe0c4f7278a3b330bdf73a8830011342e774207f88ce16b9d3eb981889a5d231799c47ed93780af6e2c +EBUILD magic-8.3.309.ebuild 2430 BLAKE2B 4d8421734e34e0a6fe853ecdc20a45b59d10515b14f3e04e8b5a932e75b98533c06305ba7f6aa53d5c95be447ff99d52272b003b83b5db98a98b5f20c20c051c SHA512 08187300ad4193b2ded096859ea524fca2bf0c277863e075db646a350447251fa843ab4f6ae350a2ad96927c510ad05c8581c43c49edb4747b51d76cf16a51a5 MISC metadata.xml 1381 BLAKE2B 7f9458b2f3e6c1f511b1f5a0f8f31e58114e29216eaf3927a6570f16bfab24fb357a82b432414a28a16fde8f02a00fafa5b5d915681a68c621b11202dbfc3d32 SHA512 b9cd12c6e4704bde2aa963880e9321fd64239b7f9333a7daa74be6707001ed18ac61bc48dc8f85cfeac9a427e07a3bcfe07607662d206d0f5d75753e333d2632 diff --git a/sci-electronics/magic/magic-8.3.309-r1.ebuild b/sci-electronics/magic/magic-8.3.309-r1.ebuild new file mode 100644 index 000000000000..daeca5ef9e93 --- /dev/null +++ b/sci-electronics/magic/magic-8.3.309-r1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit python-any-r1 + +TECH_MOSIS_VER="2002a" + +DESCRIPTION="The VLSI design CAD tool" +HOMEPAGE="http://www.opencircuitdesign.com/magic/index.html" +SRC_URI="http://www.opencircuitdesign.com/${PN}/archive/${P}.tgz + http://opencircuitdesign.com/~tim/programs/${PN}/archive/${TECH_MOSIS_VER}.tar.gz \ + -> ${PN}-tech-mosis-${TECH_MOSIS_VER}.tar.gz" + +LICENSE="HPND GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="cairo debug opengl" + +RDEPEND=" + sys-libs/ncurses:0= + sys-libs/readline:0= + sys-libs/zlib:= + dev-lang/tcl:0= + dev-lang/tk:0= + dev-tcltk/blt + cairo? ( x11-libs/cairo[opengl?] ) + opengl? ( + virtual/glu + virtual/opengl + ) +" +DEPEND="${RDEPEND}" +BDEPEND="app-shells/tcsh + ${PYTHON_DEPS}" + +PATCHES=( + "${FILESDIR}"/${PN}-8.3.232-libdir.patch +) + +DOCS=( README.md README.Tcl TODO ) + +src_prepare() { + default + + # Don't embed MAGIC_COMMIT + sed -i 's/git rev-parse HEAD//' scripts/defs.mak.in || die + + pushd scripts &>/dev/null || die + mv configure.in configure.ac || die + popd &>/dev/null || die + + # required for >=autoconf-2.70 (bug #775422) + local ac_aux_file + for ac_aux_file in install-sh config.guess config.sub ; do + ln -s scripts/${ac_aux_file} ${ac_aux_file} || die + done +} + +src_configure() { + # Short-circuit top-level configure script to retain CFLAGS + # Fix tcl/tk detection, bug #447868 + cd scripts || die + econf \ + --with-tcl="/usr/$(get_libdir)" \ + --with-tk="/usr/$(get_libdir)" \ + --with-tcllibs="/usr/$(get_libdir)" \ + --with-tklibs="/usr/$(get_libdir)" \ + --disable-modular \ + $(use_enable debug memdebug) \ + $(use_enable cairo cairo-offscreen) \ + $(use_with cairo) \ + $(use_with opengl) +} + +src_install() { + # Make does not always install required .tech files with parallel make install + emake DESTDIR="${ED}" install -j1 + einstalldocs + + # Move docs from libdir to docdir and add symlink. + mv "${ED}/usr/$(get_libdir)/magic/doc"/* "${ED}/usr/share/doc/${PF}/" || die + rmdir "${ED}/usr/$(get_libdir)/magic/doc" || die + dosym -r "${EPREFIX}/usr/share/doc/${PF}" "/usr/$(get_libdir)/magic/doc" + + # Move tutorial from libdir to datadir and add symlink. + dodir /usr/share/${PN} + mv "${ED}/usr/$(get_libdir)/magic/tutorial" "${ED}/usr/share/${PN}/" || die + dosym -r "${EPREFIX}/usr/share/${PN}/tutorial" "/usr/$(get_libdir)/magic/tutorial" + + # Install latest MOSIS tech files + cp -pPR "${WORKDIR}"/${TECH_MOSIS_VER} "${ED}"/usr/$(get_libdir)/magic/sys/current || die +} diff --git a/sci-electronics/magic/magic-8.3.309.ebuild b/sci-electronics/magic/magic-8.3.309.ebuild new file mode 100644 index 000000000000..2f0d828f97bb --- /dev/null +++ b/sci-electronics/magic/magic-8.3.309.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit python-any-r1 + +TECH_MOSIS_VER="2002a" + +DESCRIPTION="The VLSI design CAD tool" +HOMEPAGE="http://www.opencircuitdesign.com/magic/index.html" +SRC_URI="http://www.opencircuitdesign.com/${PN}/archive/${P}.tgz + http://opencircuitdesign.com/~tim/programs/${PN}/archive/${TECH_MOSIS_VER}.tar.gz \ + -> ${PN}-tech-mosis-${TECH_MOSIS_VER}.tar.gz" + +LICENSE="HPND GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="cairo debug opengl" + +RDEPEND=" + sys-libs/ncurses:0= + sys-libs/readline:0= + sys-libs/zlib:= + dev-lang/tcl:0= + dev-lang/tk:0= + dev-tcltk/blt + cairo? ( x11-libs/cairo[opengl?] ) + opengl? ( + virtual/glu + virtual/opengl + ) +" +DEPEND="${RDEPEND}" +BDEPEND="app-shells/tcsh + ${PYTHON_DEPS}" + +PATCHES=( + "${FILESDIR}"/${PN}-8.3.232-libdir.patch +) + +DOCS=( README.md README.Tcl TODO ) + +src_prepare() { + default + + pushd scripts &>/dev/null || die + mv configure.in configure.ac || die + popd &>/dev/null || die + + # required for >=autoconf-2.70 (bug #775422) + local ac_aux_file + for ac_aux_file in install-sh config.guess config.sub ; do + ln -s scripts/${ac_aux_file} ${ac_aux_file} || die + done +} + +src_configure() { + # Short-circuit top-level configure script to retain CFLAGS + # Fix tcl/tk detection, bug #447868 + cd scripts || die + econf \ + --with-tcl="/usr/$(get_libdir)" \ + --with-tk="/usr/$(get_libdir)" \ + --with-tcllibs="/usr/$(get_libdir)" \ + --with-tklibs="/usr/$(get_libdir)" \ + --disable-modular \ + $(use_enable debug memdebug) \ + $(use_enable cairo cairo-offscreen) \ + $(use_with opengl) +} + +src_install() { + # Make does not always install required .tech files with parallel make install + emake DESTDIR="${ED}" install -j1 + einstalldocs + + # Move docs from libdir to docdir and add symlink. + mv "${ED}/usr/$(get_libdir)/magic/doc"/* "${ED}/usr/share/doc/${PF}/" || die + rmdir "${ED}/usr/$(get_libdir)/magic/doc" || die + dosym -r "${EPREFIX}/usr/share/doc/${PF}" "/usr/$(get_libdir)/magic/doc" + + # Move tutorial from libdir to datadir and add symlink. + dodir /usr/share/${PN} + mv "${ED}/usr/$(get_libdir)/magic/tutorial" "${ED}/usr/share/${PN}/" || die + dosym -r "${EPREFIX}/usr/share/${PN}/tutorial" "/usr/$(get_libdir)/magic/tutorial" + + # Install latest MOSIS tech files + cp -pPR "${WORKDIR}"/${TECH_MOSIS_VER} "${ED}"/usr/$(get_libdir)/magic/sys/current || die +} |