summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Sapp <nixphoeni@gentoo.org>2010-01-16 21:25:30 +0000
committerJoe Sapp <nixphoeni@gentoo.org>2010-01-16 21:25:30 +0000
commit9282ed55d921b2bff237917ec887026916646492 (patch)
tree8329d25c5092171958a0ec9fc4aab8cc0d283775 /sci-electronics
parentFix usage of system nailgun. (diff)
downloadhistorical-9282ed55d921b2bff237917ec887026916646492.tar.gz
historical-9282ed55d921b2bff237917ec887026916646492.tar.bz2
historical-9282ed55d921b2bff237917ec887026916646492.zip
Version bump (bug #301165)
Package-Manager: portage-2.1.7.16/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/eagle/ChangeLog9
-rw-r--r--sci-electronics/eagle/Manifest4
-rw-r--r--sci-electronics/eagle/eagle-5.7.0.ebuild94
3 files changed, 104 insertions, 3 deletions
diff --git a/sci-electronics/eagle/ChangeLog b/sci-electronics/eagle/ChangeLog
index 81837d695c50..ede2ca346b63 100644
--- a/sci-electronics/eagle/ChangeLog
+++ b/sci-electronics/eagle/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-electronics/eagle
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.30 2009/10/10 16:25:01 ssuominen Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.31 2010/01/16 21:25:30 nixphoeni Exp $
+
+*eagle-5.7.0 (16 Jan 2010)
+
+ 16 Jan 2010; Joe Sapp <nixphoeni@gentoo.org> +eagle-5.7.0.ebuild:
+ Version bump (bug #301165)
10 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> eagle-5.6.0.ebuild:
jpeg-compat RDEPEND because /opt/eagle-5.6.0/bin/eagle is linked against
diff --git a/sci-electronics/eagle/Manifest b/sci-electronics/eagle/Manifest
index 86de99f060db..8e02e206d691 100644
--- a/sci-electronics/eagle/Manifest
+++ b/sci-electronics/eagle/Manifest
@@ -2,9 +2,11 @@ AUX eagle_wrapper_script 247 RMD160 14d9b81df8cfc4bd414a112d0b1f1e505605896a SHA
DIST cadsoft_eagle_manual-eng-2006.12.13.pdf 1875608 RMD160 a5a8cf52cb3c027dcf9e38638813db9fc5728be7 SHA1 08e6e8e72fcca07b4f58987f74b723cd8980ac9e SHA256 805fbef15bd4584f6a976d8a2cc672f00ce3ad32d018ce53b7c9ce80b9965733
DIST cadsoft_eagle_manual-ger-2006.12.13.pdf 3178176 RMD160 79e021301507e12fefec3d227f0e3a495f12b42b SHA1 3cecdb01c8f0fa8b85b5dfb83b49e52141eabba6 SHA256 1b2bba3af2bfa14194a17aa0218101f934204e54b207c0617b7d86a522ea55cd
DIST eagle-lin-5.6.0.run 26636628 RMD160 ddd3bd5c14b796e47a4848cb919addc18f0ac5e2 SHA1 12a978fcd634c30e2d6659cb673d1f3d3bf8f7a6 SHA256 1253cde62dab1b1afb5d650691d4dfa312e042d2e4e09fdb013fdbd3555ae026
+DIST eagle-lin-5.7.0.run 29086543 RMD160 c958e91fb6939acbe426f1c6df2bd2abea771b5b SHA1 72b4838f3ffd4463008aff7e888adc3ba6c0aa48 SHA256 a114421c299d16e7a9e15b09c90ec22a9c8eafb101fb14e6a2d669e067bc3c20
DIST eagle-lin-eng-4.16r2.tgz 8922532 RMD160 32449bbed7df918e7825cd91f1c559cc0d8966f9 SHA1 42c2f619d8f765c5c9feaa1d7f75583c02f3ff6b SHA256 dc71102780621022c5f3b124bbcde075f23d3e04d624a2985afa733fbae8c7e4
DIST eagle-lin-ger-4.16r2.tgz 9018957 RMD160 e6d978c131c5af767f2c6bcee52907460de121d7 SHA1 a7f96eb95ec6eb61f1d043501d6d4fa0fb512706 SHA256 6c570e41668da23e1f473da3bfd879cbeb76bea02d35ae13970db48b3aa36259
EBUILD eagle-4.16_p2-r2.ebuild 2755 RMD160 fb6fc5a5e6af1bc20d64fd784e15b8177fe988ec SHA1 2bbb3f508a5191aa11622f369b9ee5b454255981 SHA256 92e758c328abbaa05904cbd00d4a27bb114b62ed56ca59e26d7b955279492470
EBUILD eagle-5.6.0.ebuild 2783 RMD160 b44c1bbaae6f36b25c8f29ac89c366f2e909749e SHA1 efe2c4b0c04b126febe39916899918c20f6b9359 SHA256 00919ad9b3aced281b9b9d944cf1851c7afc18c2efa23e76687ad290621b1e07
-MISC ChangeLog 5224 RMD160 fbf5481bc262a364aa4b352dede8ff70df8096f6 SHA1 fd2bc6d03bd43db0eceec430b68b340660f48240 SHA256 0bb268b47b273d07ab0bca3014942bd4d8cc2cd8a9df61e0f7f73e65ed19b9e4
+EBUILD eagle-5.7.0.ebuild 2785 RMD160 b8afa5c4b3e5480e330a01dbdc6abc24a694b74d SHA1 0fea0db92d8de4eec954ef5e255290a01d0ea6f2 SHA256 820f6a6f67f5bbd6dd39789e14ca6c434eb22660d21a7a4edeba1021b48d9126
+MISC ChangeLog 5350 RMD160 1a7ee1ed5be694152731d1e2106499a486aad66f SHA1 cba530ce698d4accb79a045e2abd6e47810e6a53 SHA256 2c819cb2983102e1b6fb79581a13f3e3a60cb639f22f6e49c359d3306b3e8504
MISC metadata.xml 650 RMD160 94bb3ebbd80b6819de3fca30d1da3a7c986fc130 SHA1 013c84de6fcea30c6313af7f0841d3c3ced1cc1b SHA256 474e9463b0e4fd66eac3d290fa4a8ba7b98c49ce42e085d4b7f2a6a2573c4642
diff --git a/sci-electronics/eagle/eagle-5.7.0.ebuild b/sci-electronics/eagle/eagle-5.7.0.ebuild
new file mode 100644
index 000000000000..d2504ce9c794
--- /dev/null
+++ b/sci-electronics/eagle/eagle-5.7.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-5.7.0.ebuild,v 1.1 2010/01/16 21:25:30 nixphoeni Exp $
+
+inherit eutils
+
+DESCRIPTION="CadSoft EAGLE schematic and printed circuit board (PCB) layout editor"
+HOMEPAGE="http://www.cadsoft.de"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="linguas_de doc"
+LICENSE="cadsoft"
+RESTRICT="strip"
+SLOT="0"
+
+# Cadsoft has used the suffix "_p" in the past which we translate to "r"
+MY_PV=${PV/_p/r}
+
+SRC_URI="ftp://ftp.cadsoft.de/pub/program/${PV%\.[0-9]}/${PN}-lin-${MY_PV}.run"
+
+RDEPEND="sys-libs/glibc
+ x11-libs/libXext
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x86? ( || ( media-libs/jpeg-compat <media-libs/jpeg-7 ) )
+ amd64? ( app-emulation/emul-linux-x86-baselibs
+ app-emulation/emul-linux-x86-xlibs )"
+
+# Append ${PV} since that's what upstream installs to
+INSTALLDIR="/opt/eagle-${PV}"
+case "${LINGUAS}" in
+ *de*)
+ MY_LANG="de";;
+ *)
+ MY_LANG="en";;
+esac
+# Mandatory documentation being installed
+DOCS="README_${MY_LANG} UPDATE_${MY_LANG} library_${MY_LANG}.txt"
+
+src_unpack() {
+
+ # Extract the built-in .tar.bz2 file starting at __DATA__
+ sed -e '1,/^__DATA__$/d' "${DISTDIR}/${A}" | tar xj || die "unpacking failed"
+
+}
+
+src_install() {
+
+ cd "${S}"
+ dodir ${INSTALLDIR}
+ # Copy all to INSTALLDIR
+ cp -r . "${D}"/${INSTALLDIR}
+
+ # Install wrapper (suppressing leading tabs)
+ # see bug #188368 or http://www.cadsoft.de/faq.htm#17040701
+ exeinto /usr/bin
+ newexe "${FILESDIR}/eagle_wrapper_script" eagle
+ # Finally, append the path of the eagle binary respecting INSTALLDIR and any
+ # arguments passed to the script (thanks Denilson)
+ echo "${INSTALLDIR}/bin/eagle" '"$@"' >> "${D}/usr/bin/eagle"
+
+ # Install the documentation
+ cd doc
+ dodoc ${DOCS}
+ doman eagle.1
+ # Install extra documentation if requested
+ use doc && dodoc elektro-tutorial.pdf manual_${MY_LANG}.pdf tutorial_${MY_LANG}.pdf
+ # Remove docs left in INSTALLDIR
+ rm -rf "${D}${INSTALLDIR}/doc"
+ cd ..
+
+ echo -e "ROOTPATH=${INSTALLDIR}/bin\nPRELINK_PATH_MASK=${INSTALLDIR}" > "${S}/90eagle"
+ doenvd "${S}/90eagle"
+
+ # Create desktop entry
+ doicon bin/${PN}icon50.png
+ make_desktop_entry "${ROOT}/usr/bin/eagle" ${PN} ${PN}icon50.png "Graphics;Electronics"
+
+}
+
+pkg_postinst() {
+
+ elog "Run \`env-update && source /etc/profile\` from within \${ROOT}"
+ elog "now to set up the correct paths."
+ elog "You must first run eagle as root to invoke product registration."
+ echo
+ ewarn "Due to some necessary changes in the data structure, once you edit"
+ ewarn "a file with version 5.x you will no longer be able to edit it"
+ ewarn "with versions prior to 5.0!"
+ ewarn
+ ewarn "Please read /usr/share/doc/${PF}/UPDATE_${MY_LANG} if you are upgrading from 4.xx."
+
+}