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 46EC91381F3 for ; Sun, 19 Apr 2020 15:59:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 857EAE0908; Sun, 19 Apr 2020 15:59:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 62F65E0908 for ; Sun, 19 Apr 2020 15:59:53 +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 2530B34F001 for ; Sun, 19 Apr 2020 15:59:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D627B26 for ; Sun, 19 Apr 2020 15:59:50 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1587311972.7bc9fe58a245aae8e09aa5eecbb09bcddca9d0f1.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/shared-mime-info/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/shared-mime-info/Manifest x11-misc/shared-mime-info/shared-mime-info-1.15.ebuild X-VCS-Directories: x11-misc/shared-mime-info/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 7bc9fe58a245aae8e09aa5eecbb09bcddca9d0f1 X-VCS-Branch: master Date: Sun, 19 Apr 2020 15:59:50 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 341a0622-b45f-493c-8e15-e430816963b0 X-Archives-Hash: 182695979217442faecdace934625390 commit: 7bc9fe58a245aae8e09aa5eecbb09bcddca9d0f1 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Apr 19 15:43:57 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Apr 19 15:59:32 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bc9fe58 x11-misc/shared-mime-info: 1.15 version bump riscv dropped because of unkeyworded dev-util/itstool. Closes: https://bugs.gentoo.org/714880 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner gentoo.org> x11-misc/shared-mime-info/Manifest | 1 + .../shared-mime-info/shared-mime-info-1.15.ebuild | 48 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/x11-misc/shared-mime-info/Manifest b/x11-misc/shared-mime-info/Manifest index da2a2083dd4..eefb1f0ea11 100644 --- a/x11-misc/shared-mime-info/Manifest +++ b/x11-misc/shared-mime-info/Manifest @@ -1 +1,2 @@ DIST shared-mime-info-1.10.tar.xz 616800 BLAKE2B a63c97aba9184e7926db01968aef2a741ef089a46ab9365eb8dad5a78f585f90171751baeaa3bc62ed0a37eed6e93d60598fbe1e7e63168106fc8aa05f2f5cc8 SHA512 efc2b63cae11e6b0332f8607ba57a885dec68a23ac299bbda3eb6e2c7ed071c7c40dba73e9cf23ab675fcaa86ea3777fa931a9f25000a08ec6a748734c88beda +DIST shared-mime-info-1.15.tar.xz 772708 BLAKE2B 763c7b5f1128882cb8a027ee7fb35daa5d141ccab07ba7aeae5139b94c1ed1c5702741b30c8803b7796bb6eb66fa02fde41d14e078b1960003bd3ba5e0de4e1a SHA512 3666aa500dfa6a28bd0524400c47fa16d90ae61f8c80f350fd895972319ec2f511618b8a7fa3cbde621edee46fde19e4506bda62f0bd2d0ede1b08d7bdb9aef2 diff --git a/x11-misc/shared-mime-info/shared-mime-info-1.15.ebuild b/x11-misc/shared-mime-info/shared-mime-info-1.15.ebuild new file mode 100644 index 00000000000..1ddca5fbe7d --- /dev/null +++ b/x11-misc/shared-mime-info/shared-mime-info-1.15.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +HASH=b27eb88e4155d8fccb8bb3cd12025d5b # don't forget to update on version bumps +inherit xdg-utils + +DESCRIPTION="The Shared MIME-info Database specification" +HOMEPAGE="https://gitlab.freedesktop.org/xdg/shared-mime-info" +SRC_URI="https://gitlab.freedesktop.org/xdg/${PN}/uploads/${HASH}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +BDEPEND=" + dev-util/itstool + sys-devel/gettext + virtual/pkgconfig +" +RDEPEND=" + dev-libs/glib:2 + dev-libs/libxml2 +" +DEPEND="${RDEPEND}" + +DOCS=( ChangeLog HACKING NEWS README ) + +src_configure() { + export ac_cv_func_fdatasync=no #487504 + econf --disable-update-mimedb +} + +src_install() { + default + + # in prefix, install an env.d entry such that prefix patch is used/added + if use prefix; then + echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share\"" > "${T}"/50mimeinfo || die + doenvd "${T}"/50mimeinfo + fi +} + +pkg_postinst() { + use prefix && export XDG_DATA_DIRS="${EPREFIX}"/usr/share + xdg_mimeinfo_database_update +}