summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Sapp <nixphoeni@gentoo.org>2010-04-28 03:12:01 +0000
committerJoe Sapp <nixphoeni@gentoo.org>2010-04-28 03:12:01 +0000
commit73a6241b59e706f10de807ab0d1b7cc12c0827a3 (patch)
tree353e11cbbefc40c6c29c0f4a70e0eb25773dc696 /sci-electronics
parentVersion bump (diff)
downloadhistorical-73a6241b59e706f10de807ab0d1b7cc12c0827a3.tar.gz
historical-73a6241b59e706f10de807ab0d1b7cc12c0827a3.tar.bz2
historical-73a6241b59e706f10de807ab0d1b7cc12c0827a3.zip
Version bump
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/eagle/ChangeLog7
-rw-r--r--sci-electronics/eagle/Manifest4
-rw-r--r--sci-electronics/eagle/eagle-5.9.0.ebuild94
3 files changed, 103 insertions, 2 deletions
diff --git a/sci-electronics/eagle/ChangeLog b/sci-electronics/eagle/ChangeLog
index 01adea7cca9e..ec8d3b8befae 100644
--- a/sci-electronics/eagle/ChangeLog
+++ b/sci-electronics/eagle/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-electronics/eagle
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.34 2010/04/24 16:26:59 nixphoeni Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.35 2010/04/28 03:12:01 nixphoeni Exp $
+
+*eagle-5.9.0 (28 Apr 2010)
+
+ 28 Apr 2010; Joe Sapp <nixphoeni@gentoo.org> +eagle-5.9.0.ebuild:
+ Version bump
*eagle-5.8.0 (24 Apr 2010)
diff --git a/sci-electronics/eagle/Manifest b/sci-electronics/eagle/Manifest
index fe76acc075a3..98a5095a2ddd 100644
--- a/sci-electronics/eagle/Manifest
+++ b/sci-electronics/eagle/Manifest
@@ -4,11 +4,13 @@ DIST cadsoft_eagle_manual-ger-2006.12.13.pdf 3178176 RMD160 79e021301507e12fefec
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-5.8.0.run 29283155 RMD160 00ccbc4814ad821924b76d87e281dfab1953211d SHA1 3383071a8a69644b3de168839ac5af89cdefc9e1 SHA256 b799b163bb8323ed2f2f08ff8fb2444f19e3f2d97249eee106f6ce60655e9b2d
+DIST eagle-lin-5.9.0.run 29286223 RMD160 45de2e68e9c671bdd94b6de968b026d0b3ebac38 SHA1 6e23a9ad4f3f14d2d06d36b1248c1add01501276 SHA256 b0f53b0a8c3aaea60f5db560a810ed491c3f1e913103713bfba06d28b3d267b5
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 2744 RMD160 40d9e2b30a3b1904b1a3ccbbc82a3cfc5cfdd8d2 SHA1 909ce31b74314b56e19833ad3a2fa089afebf199 SHA256 c87306f65c78b779d1dd2d5dc44435f6b470d7c740a85eb9b035f5bc13245361
EBUILD eagle-5.7.0.ebuild 2746 RMD160 03b5a9a59365360a6d840eab71f9e7709e6f86b7 SHA1 82cbfe130a656291aede64b7c5b9fee848542358 SHA256 0a8297f7ccd1971247306c3d50379dc015e26c73e6e868689a227d9e0ac439a6
EBUILD eagle-5.8.0.ebuild 2753 RMD160 bd6b1917a3704e85211714b5ad2eed0c9e561e57 SHA1 0fc59a153c9707df6052eb5e7102e05663f92824 SHA256 bebd71bee2da8f9dd04b118878f432904a9fd4253aca5e3c955cb8073f09c571
-MISC ChangeLog 5832 RMD160 106b3675ec2b52645b8b3d20e331c24a2d491c80 SHA1 bb8e8b860e03bfe7bfc0e1b696661033096b71b1 SHA256 6cd899b8cbdd0740029e2554d847e6cf89a4c2600224bd1f0766566c04273943
+EBUILD eagle-5.9.0.ebuild 2753 RMD160 3bcc6122a071afff2bf3180fcdfe01dcd334de56 SHA1 d7122d3e3578c2f0133e908fdc3a38c0de6ceaab SHA256 9203bc3c78555b381ab5102c8d1e6735913fbd4a7a635fbebfdd64a276b42055
+MISC ChangeLog 5944 RMD160 c51a35d645e4f2d3c4019bb45e3561ec1337bc6a SHA1 c25d00f74924245416cd9cd06f07b6e6f8996767 SHA256 97331bc3fa2d140a50416cfe9c68ade7ad3f10d684cbfe9604fe2cfbe1782ed3
MISC metadata.xml 650 RMD160 94bb3ebbd80b6819de3fca30d1da3a7c986fc130 SHA1 013c84de6fcea30c6313af7f0841d3c3ced1cc1b SHA256 474e9463b0e4fd66eac3d290fa4a8ba7b98c49ce42e085d4b7f2a6a2573c4642
diff --git a/sci-electronics/eagle/eagle-5.9.0.ebuild b/sci-electronics/eagle/eagle-5.9.0.ebuild
new file mode 100644
index 000000000000..5734a9e88bcf
--- /dev/null
+++ b/sci-electronics/eagle/eagle-5.9.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.9.0.ebuild,v 1.1 2010/04/28 03:12:01 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/eagle/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-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 "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."
+
+}