From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 60C30139694 for ; Tue, 9 May 2017 01:16:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8ED51E0CD0; Tue, 9 May 2017 01:16:35 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5CF08E0CD0 for ; Tue, 9 May 2017 01:16:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 125BC3416FD for ; Tue, 9 May 2017 01:16:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A08D2494 for ; Tue, 9 May 2017 01:16:32 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1494292588.ada30fbff65f62fc734c992a3961aac6873ba69e.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xdg-utils/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/xdg-utils/Manifest x11-misc/xdg-utils/xdg-utils-1.1.2.ebuild X-VCS-Directories: x11-misc/xdg-utils/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: ada30fbff65f62fc734c992a3961aac6873ba69e X-VCS-Branch: master Date: Tue, 9 May 2017 01:16:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 67263bcb-73e6-429d-b6c4-9fa3b74d8a5a X-Archives-Hash: 188e4a3dd46cb7ac7565f7e012f3fa29 commit: ada30fbff65f62fc734c992a3961aac6873ba69e Author: Lars Wendler gentoo org> AuthorDate: Tue May 9 01:12:53 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue May 9 01:16:28 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ada30fbf x11-misc/xdg-utils: Bump to version 1.1.2 Package-Manager: Portage-2.3.5, Repoman-2.3.2 x11-misc/xdg-utils/Manifest | 1 + x11-misc/xdg-utils/xdg-utils-1.1.2.ebuild | 73 +++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/x11-misc/xdg-utils/Manifest b/x11-misc/xdg-utils/Manifest index d700c1b971c..5c3d00033c1 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 00000000000..63b56cdc73c --- /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." +}