mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sci-electronics/quartus-prime-lite: treeclean
Closes: https://bugs.gentoo.org/575684 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -551,11 +551,6 @@ sci-geosciences/swmm
|
||||
# Removal on 2021-11-20. Bug #819123
|
||||
sci-geosciences/harmonics-dwf-free-noncomm
|
||||
|
||||
# Jakov Smolić <jsmolic@gentoo.org> (2021-10-21)
|
||||
# Stuck on EAPI 5, no other distro is packaging this. Bug #575684
|
||||
# Removal on 2021-11-20.
|
||||
sci-electronics/quartus-prime-lite
|
||||
|
||||
# Sam James <sam@gentoo.org> (2021-10-10)
|
||||
# Needs upstream build system fixes (currently in progress).
|
||||
# Python toggles don't work correctly right now.
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST Quartus-lite-15.1.0.185-linux.tar 5969776640 BLAKE2B 622060e053a9d7a91fe9b4b61f6ebf1289f3849e666b20bca801f0bd752dac0f551c7aa2b8d16b6238b6df2b174f8d352bbc2e3a2a9e270735c5581dd81420f5 SHA512 7996bc9e0561b650c0318d608b4f59560dd631e3a38c403105f797049c395ce25a0ff5d4346cf6e91338fa297d7e8752ef5a3f83f496d4431ad3591de4335045
|
||||
DIST libfreetype.so.6 785880 BLAKE2B a9c724a213d6211e954c20ea203feeacd384768bf34929719326d2a98e166c91114f4a60b223efd770ccf356662c8664c91d4bf4722325c01d310a10e3026f30 SHA512 4b0ae581df3ecc0117d8b12405d7e5203d1ec40e965c39dade16c4b5495e95c71c2c5d739ccfec7c4c90dd2f48c004f4ae49497c46927adc81c98ead52978be1
|
||||
@@ -1,11 +0,0 @@
|
||||
--- /opt/quartus-lite-15.1.0.185/quartus/adm/qenv.sh.org 2016-03-01 18:51:38.192388962 +0800
|
||||
+++ /opt/quartus-lite-15.1.0.185/quartus/adm/qenv.sh 2016-02-25 09:22:28.580259994 +0800
|
||||
@@ -136,7 +136,7 @@
|
||||
##### Quartus path setup
|
||||
|
||||
export PATH=$QUARTUS_BINDIR:$PATH
|
||||
-export LD_LIBRARY_PATH=$QUARTUS_BINDIR:$LD_LIBRARY_PATH
|
||||
+export LD_LIBRARY_PATH=$QUARTUS_BINDIR:$LD_LIBRARY_PATH:/opt/quartus-lite-15.1.0.185/modelsim_ase/lib32
|
||||
|
||||
|
||||
# Add <qdir>/adm to path, it has some helper tools
|
||||
@@ -1,19 +0,0 @@
|
||||
--- /opt/quartus-lite-15.1.0.185/modelsim_ase/vco.org 2016-03-02 19:05:09.566449182 +0800
|
||||
+++ /opt/quartus-lite-15.1.0.185/modelsim_ase/vco 2016-03-02 19:06:19.020221005 +0800
|
||||
@@ -48,6 +48,7 @@
|
||||
done
|
||||
|
||||
dir=`dirname "$arg0"`
|
||||
+export LD_LIBRARY_PATH=${dir}/lib32
|
||||
|
||||
vco=${uname}${utype}
|
||||
case $vco in
|
||||
@@ -203,7 +204,7 @@
|
||||
2.[5-9]*) vco="linux" ;;
|
||||
2.[1-9][0-9]*) vco="linux" ;;
|
||||
3.[0-9]*) vco="linux" ;;
|
||||
- *) vco="linux_rh60" ;;
|
||||
+ *) vco="linux" ;;
|
||||
esac
|
||||
if [ ! -x "$dir/$vco/vsim" ]; then
|
||||
if [ -x "$dir/linuxle/vsim" ]; then
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">brendanhoran/gentoo-custom</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit desktop
|
||||
|
||||
DESCRIPTION="Full-featured EDA product for altera devices"
|
||||
HOMEPAGE="https://www.altera.com/products/design-software/fpga-design/quartus-prime/overview.html"
|
||||
SRC_URI="Quartus-lite-${PV}-linux.tar"
|
||||
# variable to store the download URL
|
||||
DOWNLOADPAGE="http://dl.altera.com/?edition=lite"
|
||||
|
||||
LICENSE="Quartus-prime-megacore"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="media-libs/libpng-compat:1.2"
|
||||
|
||||
RESTRICT="fetch bindist"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
pkg_nofetch() {
|
||||
elog "Due to licensing restrictions, you need to download the distfile manually."
|
||||
elog "Please navigate to ${DOWNLOADPAGE}"
|
||||
elog "Sign in with your Altera account (you need to register)"
|
||||
elog "Download ${SRC_URI} and place it into your DISTDIR directory"
|
||||
elog "And restart the installation."
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
einfo "The checksum and unpack will take quite some time to run"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einfo "The Quartus install runs in unattended mode"
|
||||
einfo "you wont see much and it will take a long time"
|
||||
|
||||
./setup.sh --mode unattended --unattendedmodeui none \
|
||||
--installdir "${D}/opt/quartus-lite-${PV}"
|
||||
make_desktop_entry "/opt/quartus-lite-${PV}/quartus/bin/quartus" \
|
||||
"Quartus lite ${PV}" "/opt/quartus-lite-${PV}/quartus/adm/quartusii.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To launch Quartus, run /opt/quartus-lite-${PV}/quartus/bin/quartus"
|
||||
}
|
||||
@@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit desktop epatch
|
||||
|
||||
DESCRIPTION="Full-featured EDA product for altera devices"
|
||||
HOMEPAGE="https://www.altera.com/products/design-software/fpga-design/quartus-prime/overview.html"
|
||||
SRC_URI="Quartus-lite-${PV}-linux.tar
|
||||
https://github.com/brendanhoran/gentoo-custom/raw/master/files/libfreetype.so.6"
|
||||
# variable to store the download URLS
|
||||
DOWNLOADPAGE="http://dl.altera.com/?edition=lite"
|
||||
DOWNLOADFT="https://raw.githubusercontent.com/brendanhoran/gentoo-custom/master/files/libfreetype.so.6"
|
||||
|
||||
LICENSE="Quartus-prime-megacore"
|
||||
SLOT="0"
|
||||
|
||||
# No keywords as per bug 575684
|
||||
KEYWORDS=""
|
||||
|
||||
RDEPEND="media-libs/libpng-compat:1.2[abi_x86_32]
|
||||
x11-libs/libXft[abi_x86_32]
|
||||
app-arch/bzip2[abi_x86_32]
|
||||
sys-libs/zlib[abi_x86_32]
|
||||
sys-libs/glibc[multilib]"
|
||||
|
||||
RESTRICT="fetch bindist"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
pkg_nofetch() {
|
||||
elog "Due to licensing restrictions, and old libary versions."
|
||||
elog "You need to download the distfiles manually."
|
||||
elog "-------------------------------------------------------"
|
||||
elog "For Quartus :"
|
||||
elog "Please navigate to ${DOWNLOADPAGE}"
|
||||
elog "Sign in with your Altera account (you need to register)"
|
||||
elog "Download Quartus-lite-${PV}-linux.tar and place it into your DISTDIR directory"
|
||||
elog "-------------------------------------------------------"
|
||||
elog "For Freetype libary :"
|
||||
elog "Please download the following file :"
|
||||
elog "${DOWNLOADFT}"
|
||||
elog "Please place this into your DISTDIR directory"
|
||||
elog "-------------------------------------------------------"
|
||||
elog "And restart the installation."
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
einfo "The checksum and unpack will take quite some time to run"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einfo "The Quartus install runs in unattended mode"
|
||||
einfo "you wont see much and it will take a long time"
|
||||
|
||||
./setup.sh --mode unattended --unattendedmodeui none \
|
||||
--installdir "${D}/opt/quartus-lite-${PV}" || die
|
||||
make_desktop_entry "/opt/quartus-lite-${PV}/quartus/bin/quartus" \
|
||||
"Quartus lite ${PV}" "/opt/quartus-lite-${PV}/quartus/adm/quartusii.png"
|
||||
pushd "${D}"
|
||||
# Patch qenv to find extra 32bit libs
|
||||
epatch "${FILESDIR}/${P}-qenv-lib32.patch"
|
||||
# fix vso launcher for 32bit libs and linux kernel versions
|
||||
epatch "${FILESDIR}/${P}-vso-launcher.patch"
|
||||
dodir "opt/quartus-lite-${PV}/modelsim_ase/lib32"
|
||||
insinto "opt/quartus-lite-${PV}/modelsim_ase/lib32"
|
||||
# Copy over the old freetype lib
|
||||
doins "${PORTAGE_BUILDDIR}/distdir/libfreetype.so.6"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To launch Quartus, run /opt/quartus-lite-${PV}/quartus/bin/quartus"
|
||||
ewarn "This ebuild bundles a vulnerable and old freetype library"
|
||||
ewarn "Sadly this is needed for vsim. You have been warned"
|
||||
}
|
||||
Reference in New Issue
Block a user