1 |
commit: 511f0ae95ef4e3a44c74a045f1c55d46270d21cc |
2 |
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 27 09:46:29 2015 +0000 |
4 |
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 27 10:08:05 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=511f0ae9 |
7 |
|
8 |
sci-electronics/quartus-prime-lite: New package to be maintained by 'undersys' |
9 |
|
10 |
ebuild by undersys and will be proxy maintainer under management of |
11 |
the proxy-maintainers project: |
12 |
- comes with a new license entitled "Quartus-prime-megacore", checked and |
13 |
endorsed by license team, |
14 |
- license is of type EULA and has been added to license groups accordingly, |
15 |
- this is a binary packagem installs into /opt, |
16 |
- user need d'load tarball separately, restrict set with fetch & bindinst, |
17 |
- ebuild prepared and reviewd by members of proxy maintaines & ulm |
18 |
- all ebuild revisions and patches submitted via the gentoo bug |
19 |
|
20 |
Gentoo bug :#569302 |
21 |
|
22 |
Package-Manager: portage-2.2.24 |
23 |
|
24 |
sci-electronics/quartus-prime-lite/Manifest | 1 + |
25 |
sci-electronics/quartus-prime-lite/metadata.xml | 8 ++++ |
26 |
.../quartus-prime-lite-15.1.0.185.ebuild | 49 ++++++++++++++++++++++ |
27 |
3 files changed, 58 insertions(+) |
28 |
|
29 |
diff --git a/sci-electronics/quartus-prime-lite/Manifest b/sci-electronics/quartus-prime-lite/Manifest |
30 |
new file mode 100644 |
31 |
index 0000000..ea5a473 |
32 |
--- /dev/null |
33 |
+++ b/sci-electronics/quartus-prime-lite/Manifest |
34 |
@@ -0,0 +1 @@ |
35 |
+DIST Quartus-lite-15.1.0.185-linux.tar 5969776640 SHA256 fd670ee4caee69e9533b7a826af1040bc0e35ef68ca1b43e73d8b69cbf14c7f4 SHA512 7996bc9e0561b650c0318d608b4f59560dd631e3a38c403105f797049c395ce25a0ff5d4346cf6e91338fa297d7e8752ef5a3f83f496d4431ad3591de4335045 WHIRLPOOL 1549939fc9e7ce94b9b2c3032db78ff66ca1f4542831fe15fadb83ba0efab4305430924ed0ac3d47288f7ae85c4b75818c87a5399a6868adcee606e20388d894 |
36 |
|
37 |
diff --git a/sci-electronics/quartus-prime-lite/metadata.xml b/sci-electronics/quartus-prime-lite/metadata.xml |
38 |
new file mode 100644 |
39 |
index 0000000..42ed446 |
40 |
--- /dev/null |
41 |
+++ b/sci-electronics/quartus-prime-lite/metadata.xml |
42 |
@@ -0,0 +1,8 @@ |
43 |
+<pkgmetadata> |
44 |
+ <herd>proxy-maintainers</herd> |
45 |
+ <maintainer> |
46 |
+ <email>brendan@×××××.hk</email> |
47 |
+ <name>Brendan Horan</name> |
48 |
+ <description>Proxied maintainer; set to assignee in all bugs</description> |
49 |
+ </maintainer> |
50 |
+</pkgmetadata> |
51 |
|
52 |
diff --git a/sci-electronics/quartus-prime-lite/quartus-prime-lite-15.1.0.185.ebuild b/sci-electronics/quartus-prime-lite/quartus-prime-lite-15.1.0.185.ebuild |
53 |
new file mode 100644 |
54 |
index 0000000..395c34e |
55 |
--- /dev/null |
56 |
+++ b/sci-electronics/quartus-prime-lite/quartus-prime-lite-15.1.0.185.ebuild |
57 |
@@ -0,0 +1,49 @@ |
58 |
+# Copyright 1999-2015 Gentoo Foundation |
59 |
+# Distributed under the terms of the GNU General Public License v2 |
60 |
+# $Id$ |
61 |
+ |
62 |
+EAPI=5 |
63 |
+ |
64 |
+inherit eutils |
65 |
+ |
66 |
+DESCRIPTION="Full-featured EDA product for altera devices" |
67 |
+HOMEPAGE="https://www.altera.com/products/design-software/fpga-design/quartus-prime/overview.html" |
68 |
+SRC_URI="Quartus-lite-${PV}-linux.tar" |
69 |
+# variable to store the download URL |
70 |
+DOWNLOADPAGE="http://dl.altera.com/?edition=lite" |
71 |
+ |
72 |
+LICENSE="Quartus-prime-megacore" |
73 |
+SLOT="0" |
74 |
+KEYWORDS="~amd64 ~x86" |
75 |
+ |
76 |
+RDEPEND="media-libs/libpng:1.2" |
77 |
+ |
78 |
+RESTRICT="fetch bindist" |
79 |
+ |
80 |
+S=${WORKDIR} |
81 |
+ |
82 |
+pkg_nofetch() { |
83 |
+ elog "Due to licensing restrictions, you need to download the distfile manually." |
84 |
+ elog "Please navigate to ${DOWNLOADPAGE}" |
85 |
+ elog "Sign in with your Altera account (you need to register)" |
86 |
+ elog "Download ${SRC_URI} and place it into ${DISTDIR}" |
87 |
+ elog "And restart the installation." |
88 |
+} |
89 |
+ |
90 |
+pkg_pretend() { |
91 |
+ einfo "The checksum and unpack will take quite some time to run" |
92 |
+} |
93 |
+ |
94 |
+src_install() { |
95 |
+ einfo "The Quartus install runs in unattended mode" |
96 |
+ einfo "you wont see much and it will take a long time" |
97 |
+ |
98 |
+ ./setup.sh --mode unattended --unattendedmodeui none \ |
99 |
+ --installdir "${D}/opt/quartus-lite-${PV}" |
100 |
+ make_desktop_entry "/opt/quartus-lite-${PV}/quartus/bin/quartus" \ |
101 |
+ "Quartus lite ${PV}" "/opt/quartus-lite-${PV}/quartus/adm/quartusii.png" |
102 |
+} |
103 |
+ |
104 |
+pkg_postinst() { |
105 |
+ elog "To launch Quartus, run /opt/quartus-lite-${PV}/quartus/bin/quartus" |
106 |
+} |