x11-misc/xdg-utils: Bump to version 1.1.1
authorLars Wendler <polynomial-c@gentoo.org>
Tue, 6 Oct 2015 05:35:00 +0000 (07:35 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Tue, 6 Oct 2015 05:35:11 +0000 (07:35 +0200)
Package-Manager: portage-2.2.22
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
x11-misc/xdg-utils/Manifest
x11-misc/xdg-utils/xdg-utils-1.1.1.ebuild [new file with mode: 0644]

index d22f5cbd1651fc36bbce202c61478703e46f2886..e8cc1ea29ae745cb257009db2fc8ee90fa31fc66 100644 (file)
@@ -2,3 +2,4 @@ DIST xdg-utils-1.1.0-rc2.tar.gz 307013 SHA256 bbe95ec4e7d54827981598622dafda8fd2
 DIST xdg-utils-1.1.0_rc2-patchset-1.tar.xz 20164 SHA256 0c7f3c39c28d43e049ea32f4b29f768c91a1c190d4ea736940370b40ee4d2cb8 SHA512 3f90bd778fe1aaf50a05f6d0e4ae51ab251037bde57a7f21a66b66681f05b811a832dadfde909938240ee4bbf4060e471faf0105a5f0e832af7e0436b4206bef WHIRLPOOL 883cb5efead1df84425252860577610dad5ae7ce14673d5c96a432c44de215252349ac0d07b7bfb071da38b70235f8b7c9c2fea8ffba5c1443f28078842a3930
 DIST xdg-utils-1.1.0_rc3_p20150119.tar.xz 262380 SHA256 6db91e0f6a4bb2698abde9dc578d61d1a9375c417adbe61e4c4364bbcbe6a4d9 SHA512 a83903f3d367e1deaf9355727e024606a4df90869629862c5ac55ca5f35b47ab2992863a9aec91413606e1ebc26905c1aef03c3f7f35a68db048059921658089 WHIRLPOOL d04f0bab8aefd9fb4d6c8805bf66aaeb5a79e1ecbe5866624f1f1d1da77115cc5c64d563aa75540ffef4eaeb610d879657422635b7548a0184138eb7319efedd
 DIST xdg-utils-1.1.0_rc3_p20150825.tar.xz 263016 SHA256 c3aa384e7bf31cda8901269e46056344dc03b4d62488faf47c342afecac93f11 SHA512 ac83266f355394815581d7b13b1618c80d4c1d84c1717665ade98584d989e910575c748361f8b3a545a0c978c06fb7a1ed6ca26c5a5b70cc366f70dc41806049 WHIRLPOOL 5d84ce4218726c92fa7822ad33cd1b953095a78857ba156df7ce1cc0030e6f73e4736314a41bc8a581a1b3b0262be15a8ce117e5ecc994dea1e9fb44a85bc899
+DIST xdg-utils-1.1.1.tar.gz 295213 SHA256 b0dd63a2576e0bb16f1aa78d6ddf7d6784784a098d4df17161cd6a17c7bc4125 SHA512 6641b17daea7eecfee0d395e621dc42481582e505bff90a6df5eb0299ed2dca7a76520f000d9545a8424f06d41590382156a2e50f3d68d5c1ab825c268e90edb WHIRLPOOL d40e89ae50d5cdf96cd7c03e9e4ab91fc46c0da2d8d79f8e27d64f4c5526c733ae5e75e89d880cd05b5c347ecb9837090ec110be5813456c690807abb1508718
diff --git a/x11-misc/xdg-utils/xdg-utils-1.1.1.ebuild b/x11-misc/xdg-utils/xdg-utils-1.1.1.ebuild
new file mode 100644 (file)
index 0000000..7a85756
--- /dev/null
@@ -0,0 +1,70 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils
+
+MY_P=${P/_/-}
+
+DESCRIPTION="Portland utils for cross-platform/cross-toolkit/cross-desktop interoperability"
+HOMEPAGE="http://portland.freedesktop.org/"
+#SRC_URI="https://dev.gentoo.org/~johu/distfiles/${P}.tar.xz"
+#SRC_URI="http://people.freedesktop.org/~rdieter/${PN}/${MY_P}.tar.gz
+#      https://dev.gentoo.org/~ssuominen/${P}-patchset-1.tar.xz"
+SRC_URI="http://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 ~x86-freebsd ~x86-interix ~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
+       || ( www-client/links www-client/lynx virtual/w3m )"
+
+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() {
+       # 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
+               EPATCH_SUFFIX=patch EPATCH_FORCE=yes epatch
+       fi
+       eautoreconf
+       pushd scripts && make scripts-clean && popd
+}
+
+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 && dohtml -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."
+}