summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-05-09 03:12:53 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-05-09 03:16:28 +0200
commitada30fbff65f62fc734c992a3961aac6873ba69e (patch)
tree425de23510d1e12a9e44015ab4f644985d7f99c8 /x11-misc
parentdev-python/u-msgpack: version bump to 2.4.1 (diff)
downloadgentoo-ada30fbff65f62fc734c992a3961aac6873ba69e.tar.gz
gentoo-ada30fbff65f62fc734c992a3961aac6873ba69e.tar.bz2
gentoo-ada30fbff65f62fc734c992a3961aac6873ba69e.zip
x11-misc/xdg-utils: Bump to version 1.1.2
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xdg-utils/Manifest1
-rw-r--r--x11-misc/xdg-utils/xdg-utils-1.1.2.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/x11-misc/xdg-utils/Manifest b/x11-misc/xdg-utils/Manifest
index d700c1b971c3..5c3d00033c1b 100644
--- a/x11-misc/xdg-utils/Manifest
+++ b/x11-misc/xdg-utils/Manifest
@@ -1 +1,2 @@
DIST xdg-utils-1.1.1.tar.gz 295213 SHA256 b0dd63a2576e0bb16f1aa78d6ddf7d6784784a098d4df17161cd6a17c7bc4125 SHA512 6641b17daea7eecfee0d395e621dc42481582e505bff90a6df5eb0299ed2dca7a76520f000d9545a8424f06d41590382156a2e50f3d68d5c1ab825c268e90edb WHIRLPOOL d40e89ae50d5cdf96cd7c03e9e4ab91fc46c0da2d8d79f8e27d64f4c5526c733ae5e75e89d880cd05b5c347ecb9837090ec110be5813456c690807abb1508718
+DIST xdg-utils-1.1.2.tar.gz 296735 SHA256 951952e2c6bb21214e0bb54e0dffa057d30f5563300225c24c16fba846258bcc SHA512 1927506065788b5f8bba8b0617a8ee585265342fa40c4b73000d320acd5909036daef94d49495b00982dbb67b7706b2f1ed949cb4cc519dfa534be2c1c8f74db WHIRLPOOL 230d028ea375c58e4ca96c5ae295d3768fdbef3fd142abe01e7fe8518c7df4fe5d7a6850118bbe249449981de48e4f9f1a784837a6ba8834c8f3fe4f7bff0ffa
diff --git a/x11-misc/xdg-utils/xdg-utils-1.1.2.ebuild b/x11-misc/xdg-utils/xdg-utils-1.1.2.ebuild
new file mode 100644
index 000000000000..63b56cdc73ce
--- /dev/null
+++ b/x11-misc/xdg-utils/xdg-utils-1.1.2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+MY_P=${P/_/-}
+
+DESCRIPTION="Portland utils for cross-platform/cross-toolkit/cross-desktop interoperability"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/xdg-utils/"
+#SRC_URI="https://dev.gentoo.org/~johu/distfiles/${P}.tar.xz"
+#SRC_URI="https://people.freedesktop.org/~rdieter/${PN}/${MY_P}.tar.gz
+# https://dev.gentoo.org/~ssuominen/${P}-patchset-1.tar.xz"
+SRC_URI="https://portland.freedesktop.org/download/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+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"
+IUSE="doc +perl"
+
+RDEPEND="dev-util/desktop-file-utils
+ x11-misc/shared-mime-info
+ x11-apps/xprop
+ x11-apps/xset
+ perl? ( dev-perl/File-MimeInfo )"
+DEPEND=">=app-text/xmlto-0.0.26-r1[text(+)]"
+
+DOCS=( README RELEASE_NOTES TODO ) # ChangeLog is bogus, see git instead
+
+RESTRICT="test" # Disabled because of sandbox violation(s)
+
+#S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ default
+ # If you choose to do git snapshot instead of patchset, you need to remember
+ # to run `autoconf` in ./ and `make scripts-clean` in ./scripts/ to refresh
+ # all the files
+ if [[ -d "${WORKDIR}/patch" ]]; then
+ eapply patch
+ fi
+ eautoreconf
+
+ if pushd scripts &>/dev/null ; then
+ make scripts-clean
+ popd &>/dev/null
+ fi
+}
+
+src_configure() {
+ export ac_cv_path_XMLTO="$(type -P xmlto) --skip-validation" #502166
+ default
+}
+
+src_install() {
+ default
+
+ newdoc scripts/xsl/README README.xsl
+ use doc && dodoc -r scripts/html
+
+ # Install default XDG_DATA_DIRS, bug #264647
+ echo XDG_DATA_DIRS=\"${EPREFIX}/usr/local/share\" > 30xdg-data-local
+ echo 'COLON_SEPARATED="XDG_DATA_DIRS XDG_CONFIG_DIRS"' >> 30xdg-data-local
+ doenvd 30xdg-data-local
+
+ echo XDG_DATA_DIRS=\"${EPREFIX}/usr/share\" > 90xdg-data-base
+ echo XDG_CONFIG_DIRS=\"${EPREFIX}/etc/xdg\" >> 90xdg-data-base
+ doenvd 90xdg-data-base
+}
+
+pkg_postinst() {
+ [[ -x $(type -P gtk-update-icon-cache) ]] || elog "Install x11-libs/gtk+:2 for the gtk-update-icon-cache command."
+}