summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Sapp <nixphoeni@gentoo.org>2010-06-09 02:22:34 +0000
committerJoe Sapp <nixphoeni@gentoo.org>2010-06-09 02:22:34 +0000
commit512f8e88f051910e798c5c2b357c4c2518bbffe2 (patch)
tree82bc380f60711e762cfb5f2f5b329fdcd2aff390 /sci-electronics
parentRemove unnecessary sys-cluster/pbs-python ebuilds. (diff)
downloadhistorical-512f8e88f051910e798c5c2b357c4c2518bbffe2.tar.gz
historical-512f8e88f051910e798c5c2b357c4c2518bbffe2.tar.bz2
historical-512f8e88f051910e798c5c2b357c4c2518bbffe2.zip
Version bump to 5.10.0; added linguas_zh to IUSE
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.10.0.ebuild98
3 files changed, 107 insertions, 2 deletions
diff --git a/sci-electronics/eagle/ChangeLog b/sci-electronics/eagle/ChangeLog
index ec8d3b8befae..f8f0793bbf2a 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.35 2010/04/28 03:12:01 nixphoeni Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.36 2010/06/09 02:22:34 nixphoeni Exp $
+
+*eagle-5.10.0 (09 Jun 2010)
+
+ 09 Jun 2010; Joe Sapp <nixphoeni@gentoo.org> +eagle-5.10.0.ebuild:
+ Version bump to 5.10.0; added linguas_zh to IUSE
*eagle-5.9.0 (28 Apr 2010)
diff --git a/sci-electronics/eagle/Manifest b/sci-electronics/eagle/Manifest
index 98a5095a2ddd..62181acc28eb 100644
--- a/sci-electronics/eagle/Manifest
+++ b/sci-electronics/eagle/Manifest
@@ -1,6 +1,7 @@
AUX eagle_wrapper_script 247 RMD160 14d9b81df8cfc4bd414a112d0b1f1e505605896a SHA1 0d2a39f3709358b658da8f908277cc43a6d46aa0 SHA256 a34c628f4e8bceefc6f08fa2c0a74888fa660e4fc0bd669b8092476581db2758
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.10.0.run 34853096 RMD160 051e93fe71d5575632fe0f2192900fa9b11ad9af SHA1 2385a519d322e8ae7dcd3562ddb7900909259509 SHA256 84021cbbe7826e317ca29227c5d460ed0d7cdac04fbd397bfae51e44d3f2f503
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
@@ -8,9 +9,10 @@ DIST eagle-lin-5.9.0.run 29286223 RMD160 45de2e68e9c671bdd94b6de968b026d0b3ebac3
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.10.0.ebuild 2935 RMD160 fbc6027bb3e8db7933eb3aff9daef5797dea8de7 SHA1 570b5c7e8744c918c871bf0f9579dd091d6cd990 SHA256 f1797c72d5204f3f9c30fa01d6ca0dc84ff2d41ad1f46c400a03427a45ea13f9
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
EBUILD eagle-5.9.0.ebuild 2753 RMD160 3bcc6122a071afff2bf3180fcdfe01dcd334de56 SHA1 d7122d3e3578c2f0133e908fdc3a38c0de6ceaab SHA256 9203bc3c78555b381ab5102c8d1e6735913fbd4a7a635fbebfdd64a276b42055
-MISC ChangeLog 5944 RMD160 c51a35d645e4f2d3c4019bb45e3561ec1337bc6a SHA1 c25d00f74924245416cd9cd06f07b6e6f8996767 SHA256 97331bc3fa2d140a50416cfe9c68ade7ad3f10d684cbfe9604fe2cfbe1782ed3
+MISC ChangeLog 6094 RMD160 2b64a16290dddf076378243f5eb5ee9b7e601e46 SHA1 4e389ef77df2b582398bc6be1f5cf6982eb6bd41 SHA256 3a85a76e8e2d0c8993dcf398dc7e0965ea572e228634535b22b858daf190a233
MISC metadata.xml 650 RMD160 94bb3ebbd80b6819de3fca30d1da3a7c986fc130 SHA1 013c84de6fcea30c6313af7f0841d3c3ced1cc1b SHA256 474e9463b0e4fd66eac3d290fa4a8ba7b98c49ce42e085d4b7f2a6a2573c4642
diff --git a/sci-electronics/eagle/eagle-5.10.0.ebuild b/sci-electronics/eagle/eagle-5.10.0.ebuild
new file mode 100644
index 000000000000..3c0dc171172e
--- /dev/null
+++ b/sci-electronics/eagle/eagle-5.10.0.ebuild
@@ -0,0 +1,98 @@
+# 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.10.0.ebuild,v 1.1 2010/06/09 02:22:34 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 linguas_zh 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() {
+
+ # Set MY_LANG for this function only since UPDATE_zh and README_zh
+ # don't exist
+ [[ ${LINGUAS} == *zh* ]] && MY_INST_LANG="zh" || MY_INST_LANG="${MY_LANG}"
+
+ 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_INST_LANG}.pdf tutorial_${MY_INST_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."
+
+}