diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-electronics/eagle | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-electronics/eagle')
-rw-r--r-- | sci-electronics/eagle/Manifest | 5 | ||||
-rw-r--r-- | sci-electronics/eagle/eagle-5.11.0.ebuild | 95 | ||||
-rw-r--r-- | sci-electronics/eagle/eagle-5.12.0.ebuild | 99 | ||||
-rw-r--r-- | sci-electronics/eagle/eagle-6.6.0.ebuild | 101 | ||||
-rw-r--r-- | sci-electronics/eagle/eagle-7.3.0.ebuild | 130 | ||||
-rw-r--r-- | sci-electronics/eagle/files/eagle_wrapper_script | 8 | ||||
-rw-r--r-- | sci-electronics/eagle/metadata.xml | 17 |
7 files changed, 455 insertions, 0 deletions
diff --git a/sci-electronics/eagle/Manifest b/sci-electronics/eagle/Manifest new file mode 100644 index 000000000000..147bfbb6d225 --- /dev/null +++ b/sci-electronics/eagle/Manifest @@ -0,0 +1,5 @@ +DIST eagle-lin-5.11.0.run 36691433 SHA256 b7202e45fb2cb6c3fc6104a19f7cd3ef03d8776fdd277288feda412586cbc42d SHA512 8bed866f963c397dfd634ed06c4a4f6ba640267d1bc9f377c7be99dea0b0dc1114217a24b7b90711b428650fdb47bd00cc555ceb515c6c64721e5b61faaf9add WHIRLPOOL 7fc378cb448d2c67c6cd8809854dc8d446edd3a83f3ad3957a4fa3516c166f234a845ce9644fcce7d1ecf7525956041e749317f2ceb4f666ee9a161705ebc4d8 +DIST eagle-lin-5.12.0.run 36580499 SHA256 7903438b6f171894d7503d6b6e3149d3da321c386a86d1b05f1e08a3b924dafd SHA512 b2faf4cb4521f8ec6e843f7ea70b0e0dc0df36ded2687162921a4fec15386bf002c813dd198c6812544c9a6e0c0cab2fca514f6a1aa67dd69890b5edf9b1bc3d WHIRLPOOL 6db4f6ce8d42677778d0496d704696d4b02c66a8293535d6c7d3295a3880f1530f52f48b857310cd088a2bf28ddf8cae893a4532598e0672a267fd61890e7ba8 +DIST eagle-lin-6.6.0.run 41425368 SHA256 1dd8f59a4c6b3a741e4c5e7eaa88347b9c12be8076c7cbb3580541a55a42a254 SHA512 6b28231665e4af5726799f998b3a4961be631a4b36e732d72d76af1939bec6cc144bcdebf5724c9c216771fb5fecef9549843d5c1ada6c41fb6a9f33b2cc33e2 WHIRLPOOL 6743f753f41be9a59982b993bde9eb4051049759209278a8630ea93686bf55c22a92a09996aa27faab260af7f2b1611cec72b858abeecd26498d12297713e201 +DIST eagle-lin32-7.3.0.run 48599533 SHA256 93428e5cd6938f6a5efccce5f9ca1d2223ba2118868efd810a3fc84caf871232 SHA512 ef25fe7910a89e80b0c4c2d8a8f80269474510d5bd9250c6a2751ac198e7a5b4c687a30d1d784a86196589377ef7df527ff8cfa2a747c4f6e0f85496c3a180ab WHIRLPOOL 9e9654bd55516cc2fa965fbb01156f2cc2c7189744b598a20c048b7b65d51aa0b7e01ebd87769b3124ef1c2e43f3be62477643098a500cf9635426a666d99267 +DIST eagle-lin64-7.3.0.run 48248700 SHA256 2e7d98dc3c03bbd6ff3c10b54001722f57e25f8db8776851beac6fe755c8a7a5 SHA512 bd158b25ed682c63405b90358f82ffcb0903c7f5e5ae81737efcb56b6074a78125de31909c64f31a5f4bab7727c63b6aa0c7af0f6440793010f7f6de3f92f681 WHIRLPOOL e0422a00740182ce434ec7e1453234fc62fb83d20d5e6422b8d19440f6e6338826c0c55cb9995826be34c96885ddbc8b9345ada1e048635e5a793cd3bc81d6a4 diff --git a/sci-electronics/eagle/eagle-5.11.0.ebuild b/sci-electronics/eagle/eagle-5.11.0.ebuild new file mode 100644 index 000000000000..8fb24fdb7d75 --- /dev/null +++ b/sci-electronics/eagle/eagle-5.11.0.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +DESCRIPTION="CadSoft EAGLE schematic and printed circuit board (PCB) layout editor" +HOMEPAGE="http://www.cadsoft.de" + +KEYWORDS="amd64 x86" +IUSE="doc linguas_de linguas_zh" +LICENSE="cadsoft" +RESTRICT="strip test mirror bindist" +SLOT="0" + +SRC_URI="ftp://ftp.cadsoft.de/eagle/program/${PV%\.[0-9]}/${PN}-lin-${PV}.run" + +QA_FLAGS_IGNORED="opt/eagle-${PV}/bin/eagle" + +RDEPEND=" + sys-libs/glibc + || ( virtual/jpeg:62[abi_x86_32(-)] media-libs/jpeg:62[abi_x86_32(-)] ) + >=media-libs/libpng-1.2.51:1.2[abi_x86_32(-)] + >=dev-libs/openssl-0.9.8z_p1-r2:0.9.8[abi_x86_32(-)] + x11-libs/libXext[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + x11-libs/libXau[abi_x86_32(-)] + x11-libs/libXdmcp[abi_x86_32(-)] +" + +# 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}" + + dodir ${INSTALLDIR} + # Copy all to INSTALLDIR + cp -r . "${D}"/${INSTALLDIR} || die + + # Install wrapper (suppressing leading tabs) + # see bug #188368 or http://www.cadsoft.de/faq.htm#17040701 + newbin "${FILESDIR}/eagle_wrapper_script" eagle-${PV} + dosym eagle-${PV} /usr/bin/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-${PV}" + + # Install the documentation + cd doc || die + 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" || die + cd .. || die + + echo -e "ROOTPATH=${INSTALLDIR}/bin\nPRELINK_PATH_MASK=${INSTALLDIR}" > "${S}/90eagle-${PV}" + doenvd "${S}/90eagle-${PV}" + + # Create desktop entry + mv bin/${PN}icon50.png bin/${PF}-icon50.png || die + doicon bin/${PF}-icon50.png + make_desktop_entry "${ROOT}/usr/bin/eagle-${PV}" "CadSoft EAGLE Layout Editor" ${PF}-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." +} diff --git a/sci-electronics/eagle/eagle-5.12.0.ebuild b/sci-electronics/eagle/eagle-5.12.0.ebuild new file mode 100644 index 000000000000..b379df93a016 --- /dev/null +++ b/sci-electronics/eagle/eagle-5.12.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils + +DESCRIPTION="CadSoft EAGLE schematic and printed circuit board (PCB) layout editor" +HOMEPAGE="http://www.cadsoft.de" +SRC_URI="ftp://ftp.cadsoft.de/eagle/program/${PV%\.[0-9]}/${PN}-lin-${PV}.run" + +KEYWORDS="~amd64 ~x86" +IUSE="doc linguas_de linguas_zh" +LICENSE="cadsoft" +SLOT="0" + +QA_PREBUILT="opt/${P}/bin/eagle" +RESTRICT="mirror bindist" + +RDEPEND=" + sys-libs/glibc + || ( virtual/jpeg:62[abi_x86_32(-)] media-libs/jpeg:62[abi_x86_32(-)] ) + >=media-libs/libpng-1.2.51:1.2[abi_x86_32(-)] + >=dev-libs/openssl-0.9.8z_p1-r2:0.9.8[abi_x86_32(-)] + >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)] + >=media-libs/freetype-2.5.0.1[abi_x86_32(-)] + >=media-libs/fontconfig-2.10.92[abi_x86_32(-)] + x11-libs/libXext[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + >=x11-libs/libXrender-0.9.8[abi_x86_32(-)] + >=x11-libs/libXrandr-1.4.2[abi_x86_32(-)] + >=x11-libs/libXcursor-1.1.14[abi_x86_32(-)] + >=x11-libs/libXi-1.7.2[abi_x86_32(-)] +" + +# 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}" + + dodir ${INSTALLDIR} + # Copy all to INSTALLDIR + cp -r . "${D}"/${INSTALLDIR} || die + + # Install wrapper (suppressing leading tabs) + # see bug #188368 or http://www.cadsoft.de/faq.htm#17040701 + newbin "${FILESDIR}/eagle_wrapper_script" eagle-${PV} + dosym eagle-${PV} /usr/bin/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-${PV}" + + # Install the documentation + cd doc || die + 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" || die + cd .. || die + + echo -e "ROOTPATH=${INSTALLDIR}/bin\nPRELINK_PATH_MASK=${INSTALLDIR}" > "${S}/90eagle-${PV}" + doenvd "${S}/90eagle-${PV}" + + # Create desktop entry + mv bin/${PN}icon50.png bin/${PF}-icon50.png || die + doicon bin/${PF}-icon50.png + make_desktop_entry "${ROOT}/usr/bin/eagle-${PV}" "CadSoft EAGLE Layout Editor" ${PF}-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." +} diff --git a/sci-electronics/eagle/eagle-6.6.0.ebuild b/sci-electronics/eagle/eagle-6.6.0.ebuild new file mode 100644 index 000000000000..9dbb3322efcf --- /dev/null +++ b/sci-electronics/eagle/eagle-6.6.0.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils + +DESCRIPTION="CadSoft EAGLE schematic and printed circuit board (PCB) layout editor" +HOMEPAGE="http://www.cadsoft.de" +SRC_URI="ftp://ftp.cadsoft.de/${PN}/program/${PV%\.[0-9]}/${PN}-lin-${PV}.run" + +LICENSE="cadsoft" +SLOT="0" +KEYWORDS="~amd64 ~x86 -*" +IUSE="doc linguas_de linguas_zh" + +QA_PREBUILT="opt/eagle/bin/eagle" +RESTRICT="mirror bindist" + +RDEPEND=" + sys-libs/glibc + || ( virtual/jpeg:62[abi_x86_32(-)] media-libs/jpeg:62[abi_x86_32(-)] ) + >=media-libs/libpng-1.2.51:1.2[abi_x86_32(-)] + >=dev-libs/openssl-0.9.8z_p1-r2:0.9.8[abi_x86_32(-)] + >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)] + >=media-libs/freetype-2.5.0.1[abi_x86_32(-)] + >=media-libs/fontconfig-2.10.92[abi_x86_32(-)] + x11-libs/libXext[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + >=x11-libs/libXrender-0.9.8[abi_x86_32(-)] + >=x11-libs/libXrandr-1.4.2[abi_x86_32(-)] + >=x11-libs/libXcursor-1.1.14[abi_x86_32(-)] + >=x11-libs/libXi-1.7.2[abi_x86_32(-)] +" + +# Append ${PV} since that's what upstream installs to +case "${LINGUAS}" in + *de*) + MY_LANG="de";; + *) + MY_LANG="en";; +esac + +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() { + local installdir="/opt/eagle" + + # 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}" + + insinto $installdir + doins -r . + + fperms 0755 ${installdir}/bin/eagle + + # Install wrapper (suppressing leading tabs) + # see bug #188368 or http://www.cadsoftusa.com/training/faq/#3 + exeinto /opt/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}/opt/bin/eagle" + + # Install the documentation + cd doc + dodoc README_${MY_LANG} UPDATE_${MY_LANG} library_${MY_LANG}.txt + doman eagle.1 + + # Install extra documentation if requested + if use doc; then + dodoc {connect-device-split-symbol-${MY_INST_LANG},elektro-tutorial,manual_${MY_INST_LANG},tutorial_${MY_INST_LANG},layer-setup_designrules}.pdf + fi + # Remove docs left in $installdir + rm -rf "${D}${installdir}/doc" + cd "${S}" + + echo -e "ROOTPATH=${installdir}/bin\nPRELINK_PATH_MASK=${installdir}" > "${S}/90eagle-${PV}" + doenvd "${S}/90eagle-${PV}" + + # Create desktop entry + newicon bin/${PN}icon50.png ${PF}-icon50.png + make_desktop_entry "${ROOT}/opt/bin/eagle" "CadSoft EAGLE Layout Editor" ${PF}-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 6.x you will no longer be able to edit it" + ewarn "with versions prior to 6.0!" + ewarn + ewarn "Please read /usr/share/doc/${PF}/UPDATE_${MY_LANG} if you are upgrading from 5.xx/4.xx." +} diff --git a/sci-electronics/eagle/eagle-7.3.0.ebuild b/sci-electronics/eagle/eagle-7.3.0.ebuild new file mode 100644 index 000000000000..42f618a3b968 --- /dev/null +++ b/sci-electronics/eagle/eagle-7.3.0.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils + +DESCRIPTION="CadSoft EAGLE schematic and printed circuit board (PCB) layout editor" +HOMEPAGE="http://www.cadsoft.de" +SRC_URI=" + x86? ( ftp://ftp.cadsoft.de/${PN}/program/${PV%\.[0-9]}/${PN}-lin32-${PV}.run ) + amd64? ( ftp://ftp.cadsoft.de/${PN}/program/${PV%\.[0-9]}/${PN}-lin64-${PV}.run )" + +LICENSE="cadsoft-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 -*" +IUSE="doc linguas_de linguas_zh" + +QA_PREBUILT="opt/eagle/bin/eagle" +RESTRICT="mirror bindist" + +RDEPEND=" + sys-libs/glibc + dev-libs/openssl:0 + >=sys-libs/zlib-1.2.8-r1 + >=media-libs/freetype-2.5.0.1 + >=media-libs/fontconfig-2.10.92 + x11-libs/libXext + x11-libs/libX11 + >=x11-libs/libXrender-0.9.8 + >=x11-libs/libXrandr-1.4.2 + >=x11-libs/libXcursor-1.1.14 + >=x11-libs/libXi-1.7.2 + net-print/cups + x11-libs/libxcb +" + +# Append ${PV} since that's what upstream installs to +case "${LINGUAS}" in + *de*) + MY_LANG="de";; + *) + MY_LANG="en";; +esac + +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() { + local installdir="/opt/eagle" + + # 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}" + + # Install the documentation + cd doc/ + + local pattern="^((README|UPDATE)_${MY_LANG}|library_${MY_LANG}\.txt)$" + for docs in README_* UPDATE_* library_*.txt; do + if [[ $docs =~ $pattern ]]; then + dodoc $docs + fi + + rm -f $docs + done + + doman eagle.1 + rm eagle.1 + + # Install extra documentation if requested + pattern="^((tutorial|manual|generate-3d-idf-data)_|(connect-device-split-symbol|make-symbol-device-package-bsdl-2011)-)${MY_LANG}.pdf$" + if use doc; then + cd ulp/ + for docs in generate-3d-idf-data_*.pdf connect-device-split-symbol-*.pdf make-symbol-device-package-bsdl-2011-*.pdf; do + if [[ ! $docs =~ $pattern ]]; then + rm $docs + fi + done + cd ../ + + for docs in manual_* tutorial_*; do + if [[ ! $docs =~ $pattern ]]; then + rm $docs + fi + done + else + rm {elektro-tutorial,manual_*,tutorial_*,layer-setup_designrules}.pdf + rm -rf ulp/ + fi + + rm -f license*.txt eagle.dtd + + cd "${S}" + + insinto $installdir + doins -r . + + fperms 0755 ${installdir}/bin/eagle + + # Install wrapper (suppressing leading tabs) + # see bug #188368 or http://www.cadsoftusa.com/training/faq/#3 + exeinto /opt/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}/opt/bin/eagle" + + echo -e "ROOTPATH=${installdir}/bin\nPRELINK_PATH_MASK=${installdir}" > "${S}/90eagle-${PV}" + doenvd "${S}/90eagle-${PV}" + + # Create desktop entry + newicon bin/${PN}icon50.png ${PF}-icon50.png + make_desktop_entry "${ROOT}/opt/bin/eagle" "CadSoft EAGLE Layout Editor" ${PF}-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 7.x you will no longer be able to edit it" + ewarn "with versions prior to 7.0!" + ewarn + ewarn "Please read /usr/share/doc/${PF}/UPDATE_${MY_LANG} if you are upgrading from a version prior 7.x!" +} diff --git a/sci-electronics/eagle/files/eagle_wrapper_script b/sci-electronics/eagle/files/eagle_wrapper_script new file mode 100644 index 000000000000..5a20922893c6 --- /dev/null +++ b/sci-electronics/eagle/files/eagle_wrapper_script @@ -0,0 +1,8 @@ +#!/bin/bash + +# From http://www.cadsoft.de/faq.htm#17040701 +# Work around problems with the Composite X extension +export XLIB_SKIP_ARGB_VISUALS=1 + +# The ebuild will append the final line respecting INSTALLDIR +# Default is /opt/eagle/bin/eagle "$@" diff --git a/sci-electronics/eagle/metadata.xml b/sci-electronics/eagle/metadata.xml new file mode 100644 index 000000000000..e99012ea5f3c --- /dev/null +++ b/sci-electronics/eagle/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci-electronics</herd> + <maintainer> + <email>idl0r@gentoo.org</email> + <name>Christian Ruppert</name> + </maintainer> + <longdescription>EAGLE (Easily Applicable Graphical Layout Editor) + is a powerful tool for creating printed circuit boards (PCBs). + It requires a 586 (or higher), kernel 2.x (or higher), and + X11 in at least 8bpp mode with 1024x768 min. resolution. + The freeware edition limits the useable board area to + 100x80 mm, two signal layers, and one sheet in the + schematic editor. + </longdescription> +</pkgmetadata> |