summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xdg-user-dirs/xdg-user-dirs-0.16.ebuild')
-rw-r--r--x11-misc/xdg-user-dirs/xdg-user-dirs-0.16.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/x11-misc/xdg-user-dirs/xdg-user-dirs-0.16.ebuild b/x11-misc/xdg-user-dirs/xdg-user-dirs-0.16.ebuild
new file mode 100644
index 000000000000..a642c2ed47da
--- /dev/null
+++ b/x11-misc/xdg-user-dirs/xdg-user-dirs-0.16.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="A tool to help manage 'well known' user directories"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
+SRC_URI="https://user-dirs.freedesktop.org/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="gtk"
+
+RDEPEND=""
+# libxslt is mandatory because 0.15 tarball is broken, re:
+# https://bugs.freedesktop.org/show_bug.cgi?id=66251
+DEPEND="app-text/docbook-xml-dtd:4.3
+ dev-libs/libxslt
+ sys-devel/gettext"
+PDEPEND="gtk? ( x11-misc/xdg-user-dirs-gtk )"
+
+DOCS=( AUTHORS ChangeLog NEWS )
+PATCHES=( "${FILESDIR}"/${PN}-0.15-libiconv.patch )
+
+src_prepare() {
+ default
+ sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467032
+ eautoreconf # for the above patch
+}