1 |
commit: 5b873c16ac1a8b20aab6d6d18c07ea046d369713 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 2 03:41:52 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 2 03:44:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b873c16 |
7 |
|
8 |
dev-libs/libxslt: add 9999 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
dev-libs/libxslt/libxslt-1.1.35.ebuild | 22 ++++++++++++++------ |
13 |
.../{libxslt-1.1.35.ebuild => libxslt-9999.ebuild} | 24 ++++++++++++++-------- |
14 |
2 files changed, 32 insertions(+), 14 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/libxslt/libxslt-1.1.35.ebuild b/dev-libs/libxslt/libxslt-1.1.35.ebuild |
17 |
index 3dac6a1a7af9..a00cec50a10c 100644 |
18 |
--- a/dev-libs/libxslt/libxslt-1.1.35.ebuild |
19 |
+++ b/dev-libs/libxslt/libxslt-1.1.35.ebuild |
20 |
@@ -3,15 +3,21 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
-inherit gnome.org libtool multilib-minimal |
25 |
+inherit libtool multilib-minimal |
26 |
|
27 |
# Note: Please bump this in sync with dev-libs/libxml2. |
28 |
DESCRIPTION="XSLT libraries and tools" |
29 |
HOMEPAGE="https://gitlab.gnome.org/GNOME/libxslt" |
30 |
+if [[ ${PV} == 9999 ]] ; then |
31 |
+ EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxslt" |
32 |
+ inherit autotools git-r3 |
33 |
+else |
34 |
+ inherit gnome.org |
35 |
+ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
36 |
+fi |
37 |
|
38 |
LICENSE="MIT" |
39 |
SLOT="0" |
40 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
41 |
IUSE="crypt debug examples static-libs" |
42 |
|
43 |
BDEPEND=">=virtual/pkgconfig-1" |
44 |
@@ -29,13 +35,17 @@ MULTILIB_WRAPPED_HEADERS=( |
45 |
/usr/include/libxslt/xsltconfig.h |
46 |
) |
47 |
|
48 |
+DOCS=( AUTHORS ChangeLog FEATURES NEWS README TODO ) |
49 |
+ |
50 |
src_prepare() { |
51 |
default |
52 |
|
53 |
- DOCS=( AUTHORS ChangeLog FEATURES NEWS README TODO ) |
54 |
- |
55 |
- # Prefix always needs elibtoolize if not eautoreconf'd. |
56 |
- elibtoolize |
57 |
+ if [[ ${PV} == 9999 ]] ; then |
58 |
+ eautoreconf |
59 |
+ else |
60 |
+ # Prefix always needs elibtoolize if not eautoreconf'd. |
61 |
+ elibtoolize |
62 |
+ fi |
63 |
} |
64 |
|
65 |
multilib_src_configure() { |
66 |
|
67 |
diff --git a/dev-libs/libxslt/libxslt-1.1.35.ebuild b/dev-libs/libxslt/libxslt-9999.ebuild |
68 |
similarity index 69% |
69 |
copy from dev-libs/libxslt/libxslt-1.1.35.ebuild |
70 |
copy to dev-libs/libxslt/libxslt-9999.ebuild |
71 |
index 3dac6a1a7af9..c3ea46adc4e8 100644 |
72 |
--- a/dev-libs/libxslt/libxslt-1.1.35.ebuild |
73 |
+++ b/dev-libs/libxslt/libxslt-9999.ebuild |
74 |
@@ -3,15 +3,21 @@ |
75 |
|
76 |
EAPI=7 |
77 |
|
78 |
-inherit gnome.org libtool multilib-minimal |
79 |
+inherit libtool multilib-minimal |
80 |
|
81 |
# Note: Please bump this in sync with dev-libs/libxml2. |
82 |
DESCRIPTION="XSLT libraries and tools" |
83 |
HOMEPAGE="https://gitlab.gnome.org/GNOME/libxslt" |
84 |
+if [[ ${PV} == 9999 ]] ; then |
85 |
+ EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxslt" |
86 |
+ inherit autotools git-r3 |
87 |
+else |
88 |
+ inherit gnome.org |
89 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
90 |
+fi |
91 |
|
92 |
LICENSE="MIT" |
93 |
SLOT="0" |
94 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
95 |
IUSE="crypt debug examples static-libs" |
96 |
|
97 |
BDEPEND=">=virtual/pkgconfig-1" |
98 |
@@ -29,13 +35,17 @@ MULTILIB_WRAPPED_HEADERS=( |
99 |
/usr/include/libxslt/xsltconfig.h |
100 |
) |
101 |
|
102 |
+DOCS=( AUTHORS FEATURES NEWS README TODO ) |
103 |
+ |
104 |
src_prepare() { |
105 |
default |
106 |
|
107 |
- DOCS=( AUTHORS ChangeLog FEATURES NEWS README TODO ) |
108 |
- |
109 |
- # Prefix always needs elibtoolize if not eautoreconf'd. |
110 |
- elibtoolize |
111 |
+ if [[ ${PV} == 9999 ]] ; then |
112 |
+ eautoreconf |
113 |
+ else |
114 |
+ # Prefix always needs elibtoolize if not eautoreconf'd. |
115 |
+ elibtoolize |
116 |
+ fi |
117 |
} |
118 |
|
119 |
multilib_src_configure() { |
120 |
@@ -43,8 +53,6 @@ multilib_src_configure() { |
121 |
# Work in 1.1.35+ is occurring to add prelim. Python 3 support, so could |
122 |
# restore if something needs them. |
123 |
ECONF_SOURCE="${S}" econf \ |
124 |
- --with-html-dir="${EPREFIX}"/usr/share/doc/${PF} \ |
125 |
- --with-html-subdir=html \ |
126 |
--without-python \ |
127 |
$(use_with crypt crypto) \ |
128 |
$(use_with debug) \ |