From 78b0e0e369092d957e48d195b691fec12546a09e Mon Sep 17 00:00:00 2001 From: Christophe Lermytte Date: Sun, 26 Jan 2020 22:39:27 +0100 Subject: sci-electronics/eagle: depend on OpenSSL 1.1 Bug: https://bugs.gentoo.org/673892 Closes: https://github.com/gentoo/gentoo/pull/14354 Signed-off-by: David Seifert --- sci-electronics/eagle/eagle-7.3.0-r1.ebuild | 129 ++++++++++++++++++++++++++++ sci-electronics/eagle/eagle-7.3.0.ebuild | 129 ---------------------------- sci-electronics/eagle/eagle-7.4.0-r1.ebuild | 129 ++++++++++++++++++++++++++++ sci-electronics/eagle/eagle-7.4.0.ebuild | 129 ---------------------------- sci-electronics/eagle/eagle-7.6.0-r1.ebuild | 129 ++++++++++++++++++++++++++++ sci-electronics/eagle/eagle-7.6.0.ebuild | 129 ---------------------------- sci-electronics/eagle/eagle-7.7.0-r1.ebuild | 129 ++++++++++++++++++++++++++++ sci-electronics/eagle/eagle-7.7.0.ebuild | 129 ---------------------------- 8 files changed, 516 insertions(+), 516 deletions(-) create mode 100644 sci-electronics/eagle/eagle-7.3.0-r1.ebuild delete mode 100644 sci-electronics/eagle/eagle-7.3.0.ebuild create mode 100644 sci-electronics/eagle/eagle-7.4.0-r1.ebuild delete mode 100644 sci-electronics/eagle/eagle-7.4.0.ebuild create mode 100644 sci-electronics/eagle/eagle-7.6.0-r1.ebuild delete mode 100644 sci-electronics/eagle/eagle-7.6.0.ebuild create mode 100644 sci-electronics/eagle/eagle-7.7.0-r1.ebuild delete mode 100644 sci-electronics/eagle/eagle-7.7.0.ebuild (limited to 'sci-electronics') diff --git a/sci-electronics/eagle/eagle-7.3.0-r1.ebuild b/sci-electronics/eagle/eagle-7.3.0-r1.ebuild new file mode 100644 index 000000000000..1525e2d013d2 --- /dev/null +++ b/sci-electronics/eagle/eagle-7.3.0-r1.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +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" + +QA_PREBUILT="opt/eagle/bin/eagle" +RESTRICT="mirror bindist" + +RDEPEND=" + sys-libs/glibc + || ( =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/eagle-7.3.0.ebuild b/sci-electronics/eagle/eagle-7.3.0.ebuild deleted file mode 100644 index 44c2252531ec..000000000000 --- a/sci-electronics/eagle/eagle-7.3.0.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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" - -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/eagle-7.4.0-r1.ebuild b/sci-electronics/eagle/eagle-7.4.0-r1.ebuild new file mode 100644 index 000000000000..fe5ed4751887 --- /dev/null +++ b/sci-electronics/eagle/eagle-7.4.0-r1.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +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" + +QA_PREBUILT="opt/eagle/bin/eagle" +RESTRICT="mirror bindist" + +RDEPEND=" + sys-libs/glibc + || ( =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/eagle-7.4.0.ebuild b/sci-electronics/eagle/eagle-7.4.0.ebuild deleted file mode 100644 index 27455106f898..000000000000 --- a/sci-electronics/eagle/eagle-7.4.0.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -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" - -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/eagle-7.6.0-r1.ebuild b/sci-electronics/eagle/eagle-7.6.0-r1.ebuild new file mode 100644 index 000000000000..0471e5ea1037 --- /dev/null +++ b/sci-electronics/eagle/eagle-7.6.0-r1.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +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" + +QA_PREBUILT="opt/eagle/bin/eagle" +RESTRICT="mirror bindist" + +RDEPEND=" + sys-libs/glibc + || ( =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/eagle-7.6.0.ebuild b/sci-electronics/eagle/eagle-7.6.0.ebuild deleted file mode 100644 index e0bf9379032e..000000000000 --- a/sci-electronics/eagle/eagle-7.6.0.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -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" - -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/eagle-7.7.0-r1.ebuild b/sci-electronics/eagle/eagle-7.7.0-r1.ebuild new file mode 100644 index 000000000000..0471e5ea1037 --- /dev/null +++ b/sci-electronics/eagle/eagle-7.7.0-r1.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +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" + +QA_PREBUILT="opt/eagle/bin/eagle" +RESTRICT="mirror bindist" + +RDEPEND=" + sys-libs/glibc + || ( =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/eagle-7.7.0.ebuild b/sci-electronics/eagle/eagle-7.7.0.ebuild deleted file mode 100644 index e0bf9379032e..000000000000 --- a/sci-electronics/eagle/eagle-7.7.0.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -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" - -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!" -} -- cgit v1.2.3-65-gdbad