1 |
commit: f15db171d1ad6451bdf6608ba86f9dcc40c42033 |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Tue Apr 20 12:20:39 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 29 11:43:44 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f15db171 |
7 |
|
8 |
dev-libs/libxdg-basedir: Version bump 1.2.3. |
9 |
|
10 |
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> |
11 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libxdg-basedir/Manifest | 1 + |
14 |
.../libxdg-basedir/libxdg-basedir-1.2.3.ebuild | 47 ++++++++++++++++++++++ |
15 |
2 files changed, 48 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libxdg-basedir/Manifest b/dev-libs/libxdg-basedir/Manifest |
18 |
index 2fe7a3ceb60..1328b3f30b1 100644 |
19 |
--- a/dev-libs/libxdg-basedir/Manifest |
20 |
+++ b/dev-libs/libxdg-basedir/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST libxdg-basedir-1.2.0.tar.gz 30159 BLAKE2B cd9eacf6d32e0f27aa4a9092fb919f027fe77905cf8cad2f3d860d93f9784bbcf85336704fd9241d58769e48b2a8a7e4b4ed306ff32328f1ddc7cce7b014dc09 SHA512 8584405d45e0b57e570666b6eab6d99d70411d00f88965826c9ed0292372385668f190157a10ff536f3a5a59fd0031b332ecbb8a38ac64eda1b04a0603997406 |
23 |
+DIST libxdg-basedir-1.2.3.tar.gz 30971 BLAKE2B 63e8197f33db1200573b03cb58e4760ebc9a58f132902f8290822d9235be27e22bc4b763150a526cce23be60d2d535cd8627259180edce4d889a077d4b0de20c SHA512 e672da0d9cd3c27c9113f6053b79127e615e5d84bde81305242f506e930869d8492304aac26a0296528d5a32530e4a743acecb6a25f58372ac597af284429f7c |
24 |
|
25 |
diff --git a/dev-libs/libxdg-basedir/libxdg-basedir-1.2.3.ebuild b/dev-libs/libxdg-basedir/libxdg-basedir-1.2.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..54e64709c90 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/libxdg-basedir/libxdg-basedir-1.2.3.ebuild |
30 |
@@ -0,0 +1,47 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit autotools |
37 |
+ |
38 |
+DESCRIPTION="Small library to access XDG Base Directories Specification paths" |
39 |
+HOMEPAGE="https://github.com/devnev/libxdg-basedir" |
40 |
+SRC_URI="https://github.com/devnev/libxdg-basedir/archive/${P}.tar.gz" |
41 |
+S="${WORKDIR}/${PN}-${P}" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos ~x86-solaris" |
46 |
+IUSE="doc" |
47 |
+ |
48 |
+BDEPEND="doc? ( app-doc/doxygen )" |
49 |
+ |
50 |
+src_prepare() { |
51 |
+ default |
52 |
+ |
53 |
+ eautoreconf |
54 |
+} |
55 |
+ |
56 |
+src_configure() { |
57 |
+ econf \ |
58 |
+ --disable-static \ |
59 |
+ $(use_enable doc doxygen-html) |
60 |
+} |
61 |
+ |
62 |
+src_compile() { |
63 |
+ emake |
64 |
+ |
65 |
+ if use doc; then |
66 |
+ emake doxygen-doc |
67 |
+ fi |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ emake DESTDIR="${D}" install |
72 |
+ |
73 |
+ use doc && local HTML_DOCS=( doc/html/. ) |
74 |
+ einstalldocs |
75 |
+ |
76 |
+ find "${ED}" -type f -name '*.la' -delete |
77 |
+} |