1 |
commit: 04e0db1f4e8822a522d76002ecdd591e6b0ec9a4 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 16 18:41:12 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 16 18:41:12 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=04e0db1f |
7 |
|
8 |
dev-perl/PerlQt: EAPI-5 bump to fix fatal error w/ perl-module.eclass |
9 |
|
10 |
It *IS* broken by missing =sys-devel/automake-1.9* anyway, |
11 |
like all the Qt3 stuff. |
12 |
|
13 |
Package-Manager: Portage-3.0.2, Repoman-2.3.23 |
14 |
RepoMan-Options: --force |
15 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
16 |
|
17 |
dev-perl/PerlQt/PerlQt-3.009_beta2.ebuild | 34 ++++++++++++++++--------------- |
18 |
dev-perl/PerlQt/metadata.xml | 9 -------- |
19 |
2 files changed, 18 insertions(+), 25 deletions(-) |
20 |
|
21 |
diff --git a/dev-perl/PerlQt/PerlQt-3.009_beta2.ebuild b/dev-perl/PerlQt/PerlQt-3.009_beta2.ebuild |
22 |
index f0b5be35..fbeeb237 100644 |
23 |
--- a/dev-perl/PerlQt/PerlQt-3.009_beta2.ebuild |
24 |
+++ b/dev-perl/PerlQt/PerlQt-3.009_beta2.ebuild |
25 |
@@ -1,6 +1,7 @@ |
26 |
-# Copyright 1999-2013 Gentoo Foundation |
27 |
+# Copyright 1999-2020 Gentoo Authors |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/PerlQt/PerlQt-3.009_beta2.ebuild,v 1.11 2009/11/11 12:31:31 ssuominen Exp $ |
30 |
+ |
31 |
+EAPI=5 |
32 |
|
33 |
ARTS_REQUIRED=never |
34 |
inherit perl-module kde |
35 |
@@ -23,22 +24,23 @@ S=${WORKDIR}/${P/_beta2/} |
36 |
#if kdebindings is installed compilation is really fast! |
37 |
# because libsmoke comes with kdebindings-3.1 |
38 |
|
39 |
-DEPEND="=dev-qt/qt-meta-3* |
40 |
- kde-frameworks/kdelibs |
41 |
+DEPEND=" |
42 |
+ =dev-qt/qt-meta-3* |
43 |
+ kde-frameworks/kdelibs:3.5 |
44 |
dev-lang/perl" |
45 |
|
46 |
src_unpack() { |
47 |
unpack ${A} |
48 |
- cd ${S}/PerlQt |
49 |
+ cd ${S}/PerlQt || die |
50 |
#cp Makefile.PL.in Makefile.PL.in.orig |
51 |
#perl -pi -e "s#WriteMakefile\(#WriteMakefile\(\n'PREFIX' => '${D}/usr',\n#" Makefile.PL.in |
52 |
- cd ${S} |
53 |
+ cd ${S} || die |
54 |
} |
55 |
|
56 |
src_compile() { |
57 |
myconf="${myconf} --without-arts" |
58 |
addwrite $QTDIR/etc/settings |
59 |
- perl Makefile.PL ${myconf} --prefix=${D}/usr --exec-prefix=/usr |
60 |
+ perl Makefile.PL ${myconf} --prefix=${D}/usr --exec-prefix=/usr || die |
61 |
emake |
62 |
} |
63 |
|
64 |
@@ -47,19 +49,19 @@ src_install() { |
65 |
addwrite $QTDIR/etc/settings |
66 |
dodir /lib |
67 |
make PREFIX=/usr DESTDIR=${D} install || die |
68 |
- mkdir -p ${D}/usr/share/doc/${P}/tutorials |
69 |
- cp -r ${S}/PerlQt/tutorials/* ${D}/usr/share/doc/${P}/tutorials |
70 |
- mv ${D}/${D}/usr ${D}/ |
71 |
- rm -rf ${D}/var |
72 |
+ mkdir -p ${D}/usr/share/doc/${P}/tutorials || die |
73 |
+ cp -r ${S}/PerlQt/tutorials/* ${D}/usr/share/doc/${P}/tutorials || die |
74 |
+ mv ${D}/${D}/usr ${D}/ || die |
75 |
+ rm -rf ${D}/var || die |
76 |
|
77 |
for file in `find ${D}/usr/share/doc/${P}/tutorials/*/*.pl`;do |
78 |
- perl -pi -e "s/use blib;/#use blib;/" ${file} |
79 |
- chmod +x ${file} |
80 |
+ perl -pi -e "s/use blib;/#use blib;/" ${file} || die |
81 |
+ chmod +x ${file} || die |
82 |
done |
83 |
|
84 |
- mkdir -p ${D}/usr/share/doc/${P}/examples |
85 |
- cp -r ${S}/PerlQt/examples/* ${D}/usr/share/doc/${P}/examples |
86 |
+ mkdir -p ${D}/usr/share/doc/${P}/examples || die |
87 |
+ cp -r ${S}/PerlQt/examples/* ${D}/usr/share/doc/${P}/examples || die |
88 |
for file in `find ${D}/usr/share/doc/${P}/examples/*/*.pl`;do |
89 |
- chmod +x ${file} |
90 |
+ chmod +x ${file} || die |
91 |
done |
92 |
} |
93 |
|
94 |
diff --git a/dev-perl/PerlQt/metadata.xml b/dev-perl/PerlQt/metadata.xml |
95 |
index 44a2b7f8..7a38bb90 100644 |
96 |
--- a/dev-perl/PerlQt/metadata.xml |
97 |
+++ b/dev-perl/PerlQt/metadata.xml |
98 |
@@ -2,13 +2,4 @@ |
99 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
100 |
<pkgmetadata> |
101 |
<!-- maintainer-needed --> |
102 |
- <maintainer> |
103 |
- <email>caleb@g.o</email> |
104 |
- <description>Primary Maintainer</description> |
105 |
- </maintainer> |
106 |
- <maintainer> |
107 |
- <email>perl@g.o</email> |
108 |
- <description>Secondary Maintainer</description> |
109 |
- </maintainer> |
110 |
- <longdescription></longdescription> |
111 |
</pkgmetadata> |