summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-11-05 20:31:36 +0100
committerMichał Górny <mgorny@gentoo.org>2019-11-08 07:48:08 +0100
commited275123415d56e792fc822647d71da3d88e093f (patch)
treef5d927ccc95a062a3b7054e53746156e0635cc99 /sci-electronics/quartus-prime-lite/quartus-prime-lite-15.1.0.185-r2.ebuild
parentgames-action/trine2: Switch to libpng-compat (diff)
downloadgentoo-ed275123415d56e792fc822647d71da3d88e093f.tar.gz
gentoo-ed275123415d56e792fc822647d71da3d88e093f.tar.bz2
gentoo-ed275123415d56e792fc822647d71da3d88e093f.zip
sci-electronics/quartus-prime-lite: Switch to libpng-compat
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-electronics/quartus-prime-lite/quartus-prime-lite-15.1.0.185-r2.ebuild')
-rw-r--r--sci-electronics/quartus-prime-lite/quartus-prime-lite-15.1.0.185-r2.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/sci-electronics/quartus-prime-lite/quartus-prime-lite-15.1.0.185-r2.ebuild b/sci-electronics/quartus-prime-lite/quartus-prime-lite-15.1.0.185-r2.ebuild
new file mode 100644
index 00000000000..b02113e3f3e
--- /dev/null
+++ b/sci-electronics/quartus-prime-lite/quartus-prime-lite-15.1.0.185-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+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"
+}