1 |
commit: 654f46358be674b8231d1b77b69b32000650a568 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 29 05:03:20 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 29 05:28:24 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=654f4635 |
7 |
|
8 |
media-libs/volpack: EAPI7->8, use https, drop static-libs |
9 |
|
10 |
Also install examples before html docs so they don't end up |
11 |
in html/examples through the docinto. |
12 |
|
13 |
Unsure if this package still has uses, no revdeps (overlays?). |
14 |
Assuming static-libs are at least not needed. |
15 |
|
16 |
Closes: https://bugs.gentoo.org/847517 |
17 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
18 |
|
19 |
...k-1.0_p7-r1.ebuild => volpack-1.0_p7-r2.ebuild} | 31 +++++++++++----------- |
20 |
1 file changed, 15 insertions(+), 16 deletions(-) |
21 |
|
22 |
diff --git a/media-libs/volpack/volpack-1.0_p7-r1.ebuild b/media-libs/volpack/volpack-1.0_p7-r2.ebuild |
23 |
similarity index 61% |
24 |
rename from media-libs/volpack/volpack-1.0_p7-r1.ebuild |
25 |
rename to media-libs/volpack/volpack-1.0_p7-r2.ebuild |
26 |
index b205f54d52bd..52cab1b988bf 100644 |
27 |
--- a/media-libs/volpack/volpack-1.0_p7-r1.ebuild |
28 |
+++ b/media-libs/volpack/volpack-1.0_p7-r2.ebuild |
29 |
@@ -1,26 +1,21 @@ |
30 |
# Copyright 1999-2022 Gentoo Authors |
31 |
# Distributed under the terms of the GNU General Public License v2 |
32 |
|
33 |
-EAPI=7 |
34 |
+EAPI=8 |
35 |
|
36 |
-MYP=${PN}-${PV/_p/c} |
37 |
+MY_P="${PN}-${PV/_p/c}" |
38 |
|
39 |
DESCRIPTION="Volume rendering library" |
40 |
-HOMEPAGE="http://amide.sourceforge.net/packages.html" |
41 |
-SRC_URI="mirror://sourceforge/amide/${MYP}.tgz" |
42 |
+HOMEPAGE="https://amide.sourceforge.net/packages.html" |
43 |
+SRC_URI="mirror://sourceforge/amide/${MY_P}.tgz" |
44 |
+S="${WORKDIR}/${MY_P}" |
45 |
|
46 |
LICENSE="BSD" |
47 |
SLOT="0" |
48 |
KEYWORDS="~amd64 ~x86" |
49 |
-IUSE="doc examples static-libs" |
50 |
+IUSE="doc examples" |
51 |
|
52 |
-DEPEND="sys-devel/m4" |
53 |
- |
54 |
-S="${WORKDIR}/${MYP}" |
55 |
- |
56 |
-src_configure() { |
57 |
- econf $(use_enable static-libs static) |
58 |
-} |
59 |
+BDEPEND="sys-devel/m4" |
60 |
|
61 |
src_compile() { |
62 |
emake -j1 |
63 |
@@ -28,14 +23,18 @@ src_compile() { |
64 |
|
65 |
src_install() { |
66 |
default |
67 |
+ |
68 |
+ if use examples; then |
69 |
+ dodoc -r examples |
70 |
+ docompress -x /usr/share/doc/${PF}/examples |
71 |
+ fi |
72 |
+ |
73 |
if use doc; then |
74 |
dodoc doc/*.pdf |
75 |
+ |
76 |
docinto html |
77 |
dodoc doc/*.html |
78 |
fi |
79 |
|
80 |
- if use examples; then |
81 |
- dodoc -r examples |
82 |
- docompress -x /usr/share/doc/${PF}/examples |
83 |
- fi |
84 |
+ find "${ED}" -type f -name '*.la' -delete || die |
85 |
} |