summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Sapp <nixphoeni@gentoo.org>2010-09-26 20:57:53 +0000
committerJoe Sapp <nixphoeni@gentoo.org>2010-09-26 20:57:53 +0000
commit393b6d7188c65160db54fa89f0998f9740634ed4 (patch)
tree640a431114e9854bfb888901efc52e0138ac5bee /sci-electronics/eagle
parentStable on amd64 wrt bug #338652 (diff)
downloadhistorical-393b6d7188c65160db54fa89f0998f9740634ed4.tar.gz
historical-393b6d7188c65160db54fa89f0998f9740634ed4.tar.bz2
historical-393b6d7188c65160db54fa89f0998f9740634ed4.zip
Added openssl as a dep per bug #337277; set SLOT=5 for future expansion
Package-Manager: portage-2.1.9.9/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics/eagle')
-rw-r--r--sci-electronics/eagle/ChangeLog9
-rw-r--r--sci-electronics/eagle/Manifest3
-rw-r--r--sci-electronics/eagle/eagle-5.10.0-r1.ebuild104
3 files changed, 114 insertions, 2 deletions
diff --git a/sci-electronics/eagle/ChangeLog b/sci-electronics/eagle/ChangeLog
index 19da0c39a1a9..cac16a7ad518 100644
--- a/sci-electronics/eagle/ChangeLog
+++ b/sci-electronics/eagle/ChangeLog
@@ -1,6 +1,13 @@
# 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.41 2010/08/22 20:19:15 nixphoeni Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.42 2010/09/26 20:57:53 nixphoeni Exp $
+
+*eagle-5.10.0-r1 (26 Sep 2010)
+
+ 26 Sep 2010; Joe Sapp <nixphoeni@gentoo.org> +eagle-5.10.0-r1.ebuild:
+ Added openssl as a dep per bug #337277 (thanks to Juergen Rose for
+ reporting); also added it to SLOT="5" for future SLOTting of major
+ versions
22 Aug 2010; Joe Sapp <nixphoeni@gentoo.org> eagle-5.10.0.ebuild:
Moved to EAPI 1 so I could use slot deps. Also set RESTRICT=test since
diff --git a/sci-electronics/eagle/Manifest b/sci-electronics/eagle/Manifest
index eeb9ffa63ed2..498d2fa39f48 100644
--- a/sci-electronics/eagle/Manifest
+++ b/sci-electronics/eagle/Manifest
@@ -9,10 +9,11 @@ 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-r1.ebuild 3043 RMD160 c96302f397a8edd9c88b063506d10d1add09ec49 SHA1 aabfacd48a2693f354b33ba9e27db56054d26085 SHA256 ebd4b3a5309a02612dce679551f9820799f1ad4bf00eb1f158147010f5cf5b3b
EBUILD eagle-5.10.0.ebuild 3027 RMD160 a379201fb1eb3a8790690a16af1dc91eb75f3748 SHA1 c7f68b7926b024c483db3307b61cf24e7db04d43 SHA256 77cc04e3b69da5539fa716242ad28105afc630c1ae9cbf83dc077613e693e85a
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 2789 RMD160 4ad0a99252b383d42779e4d81b9cfc53752b4ef6 SHA1 9326699e2d847fc9f2de0f42511c791e42b7c83b SHA256 817176b5023380663bfa8469d078def9f3168b9ef1f886410f696d19d51885f6
-MISC ChangeLog 6865 RMD160 9cce114221a93663e1cd2cc3fbd2c7baa3613ff1 SHA1 e408089a04d784f5d51411ed23e759d5dace5299 SHA256 810533a35ec767ff5485c16f920213636e1e0603f2a52f078fa99e377904d142
+MISC ChangeLog 7119 RMD160 8397a91128b738e9418f064fe3698c6abd7e89a7 SHA1 8fb4b15db62224dabb7112d36bbc796e4e031d34 SHA256 77dd389ca3ab8fc61ad36b3fa6a7b6cfd2025030de48c127ca6e5a6db7c48f61
MISC metadata.xml 650 RMD160 94bb3ebbd80b6819de3fca30d1da3a7c986fc130 SHA1 013c84de6fcea30c6313af7f0841d3c3ced1cc1b SHA256 474e9463b0e4fd66eac3d290fa4a8ba7b98c49ce42e085d4b7f2a6a2573c4642
diff --git a/sci-electronics/eagle/eagle-5.10.0-r1.ebuild b/sci-electronics/eagle/eagle-5.10.0-r1.ebuild
new file mode 100644
index 000000000000..cfe701b0f229
--- /dev/null
+++ b/sci-electronics/eagle/eagle-5.10.0-r1.ebuild
@@ -0,0 +1,104 @@
+# 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-r1.ebuild,v 1.1 2010/09/26 20:57:53 nixphoeni Exp $
+
+EAPI="1"
+
+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 test"
+SLOT="5"
+
+# 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"
+
+QA_DT_HASH="opt/eagle-${PV}/bin/eagle"
+
+RDEPEND="sys-libs/glibc
+ x11-libs/libXext
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x86? ( media-libs/jpeg:62
+ media-libs/libpng:1.2
+ =dev-libs/openssl-0.9.8* )
+ 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."
+
+}