1 |
commit: ada30fbff65f62fc734c992a3961aac6873ba69e |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 9 01:12:53 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 9 01:16:28 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ada30fbf |
7 |
|
8 |
x11-misc/xdg-utils: Bump to version 1.1.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
x11-misc/xdg-utils/Manifest | 1 + |
13 |
x11-misc/xdg-utils/xdg-utils-1.1.2.ebuild | 73 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 74 insertions(+) |
15 |
|
16 |
diff --git a/x11-misc/xdg-utils/Manifest b/x11-misc/xdg-utils/Manifest |
17 |
index d700c1b971c..5c3d00033c1 100644 |
18 |
--- a/x11-misc/xdg-utils/Manifest |
19 |
+++ b/x11-misc/xdg-utils/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST xdg-utils-1.1.1.tar.gz 295213 SHA256 b0dd63a2576e0bb16f1aa78d6ddf7d6784784a098d4df17161cd6a17c7bc4125 SHA512 6641b17daea7eecfee0d395e621dc42481582e505bff90a6df5eb0299ed2dca7a76520f000d9545a8424f06d41590382156a2e50f3d68d5c1ab825c268e90edb WHIRLPOOL d40e89ae50d5cdf96cd7c03e9e4ab91fc46c0da2d8d79f8e27d64f4c5526c733ae5e75e89d880cd05b5c347ecb9837090ec110be5813456c690807abb1508718 |
22 |
+DIST xdg-utils-1.1.2.tar.gz 296735 SHA256 951952e2c6bb21214e0bb54e0dffa057d30f5563300225c24c16fba846258bcc SHA512 1927506065788b5f8bba8b0617a8ee585265342fa40c4b73000d320acd5909036daef94d49495b00982dbb67b7706b2f1ed949cb4cc519dfa534be2c1c8f74db WHIRLPOOL 230d028ea375c58e4ca96c5ae295d3768fdbef3fd142abe01e7fe8518c7df4fe5d7a6850118bbe249449981de48e4f9f1a784837a6ba8834c8f3fe4f7bff0ffa |
23 |
|
24 |
diff --git a/x11-misc/xdg-utils/xdg-utils-1.1.2.ebuild b/x11-misc/xdg-utils/xdg-utils-1.1.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..63b56cdc73c |
27 |
--- /dev/null |
28 |
+++ b/x11-misc/xdg-utils/xdg-utils-1.1.2.ebuild |
29 |
@@ -0,0 +1,73 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+inherit autotools |
35 |
+ |
36 |
+MY_P=${P/_/-} |
37 |
+ |
38 |
+DESCRIPTION="Portland utils for cross-platform/cross-toolkit/cross-desktop interoperability" |
39 |
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/xdg-utils/" |
40 |
+#SRC_URI="https://dev.gentoo.org/~johu/distfiles/${P}.tar.xz" |
41 |
+#SRC_URI="https://people.freedesktop.org/~rdieter/${PN}/${MY_P}.tar.gz |
42 |
+# https://dev.gentoo.org/~ssuominen/${P}-patchset-1.tar.xz" |
43 |
+SRC_URI="https://portland.freedesktop.org/download/${MY_P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
48 |
+IUSE="doc +perl" |
49 |
+ |
50 |
+RDEPEND="dev-util/desktop-file-utils |
51 |
+ x11-misc/shared-mime-info |
52 |
+ x11-apps/xprop |
53 |
+ x11-apps/xset |
54 |
+ perl? ( dev-perl/File-MimeInfo )" |
55 |
+DEPEND=">=app-text/xmlto-0.0.26-r1[text(+)]" |
56 |
+ |
57 |
+DOCS=( README RELEASE_NOTES TODO ) # ChangeLog is bogus, see git instead |
58 |
+ |
59 |
+RESTRICT="test" # Disabled because of sandbox violation(s) |
60 |
+ |
61 |
+#S=${WORKDIR}/${MY_P} |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ default |
65 |
+ # If you choose to do git snapshot instead of patchset, you need to remember |
66 |
+ # to run `autoconf` in ./ and `make scripts-clean` in ./scripts/ to refresh |
67 |
+ # all the files |
68 |
+ if [[ -d "${WORKDIR}/patch" ]]; then |
69 |
+ eapply patch |
70 |
+ fi |
71 |
+ eautoreconf |
72 |
+ |
73 |
+ if pushd scripts &>/dev/null ; then |
74 |
+ make scripts-clean |
75 |
+ popd &>/dev/null |
76 |
+ fi |
77 |
+} |
78 |
+ |
79 |
+src_configure() { |
80 |
+ export ac_cv_path_XMLTO="$(type -P xmlto) --skip-validation" #502166 |
81 |
+ default |
82 |
+} |
83 |
+ |
84 |
+src_install() { |
85 |
+ default |
86 |
+ |
87 |
+ newdoc scripts/xsl/README README.xsl |
88 |
+ use doc && dodoc -r scripts/html |
89 |
+ |
90 |
+ # Install default XDG_DATA_DIRS, bug #264647 |
91 |
+ echo XDG_DATA_DIRS=\"${EPREFIX}/usr/local/share\" > 30xdg-data-local |
92 |
+ echo 'COLON_SEPARATED="XDG_DATA_DIRS XDG_CONFIG_DIRS"' >> 30xdg-data-local |
93 |
+ doenvd 30xdg-data-local |
94 |
+ |
95 |
+ echo XDG_DATA_DIRS=\"${EPREFIX}/usr/share\" > 90xdg-data-base |
96 |
+ echo XDG_CONFIG_DIRS=\"${EPREFIX}/etc/xdg\" >> 90xdg-data-base |
97 |
+ doenvd 90xdg-data-base |
98 |
+} |
99 |
+ |
100 |
+pkg_postinst() { |
101 |
+ [[ -x $(type -P gtk-update-icon-cache) ]] || elog "Install x11-libs/gtk+:2 for the gtk-update-icon-cache command." |
102 |
+} |