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 6EF1E138334 for ; Wed, 4 Jul 2018 09:28:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5874FE09B4; Wed, 4 Jul 2018 09:28:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 14108E09B4 for ; Wed, 4 Jul 2018 09:28:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 04B39335C9B for ; Wed, 4 Jul 2018 09:28:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E17C42E2 for ; Wed, 4 Jul 2018 09:28:31 +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: <1530696501.dbcface2a65f30131529c0782d20ce44f9fbb5fd.polynomial-c@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.10.ebuild X-VCS-Directories: x11-misc/shared-mime-info/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: dbcface2a65f30131529c0782d20ce44f9fbb5fd X-VCS-Branch: master Date: Wed, 4 Jul 2018 09:28:31 +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: 1d279d72-4f9b-4448-bead-3fa46c350cc6 X-Archives-Hash: ce9641dd0208b82eaddd400cf6afaf42 commit: dbcface2a65f30131529c0782d20ce44f9fbb5fd Author: Lars Wendler gentoo org> AuthorDate: Wed Jul 4 09:28:21 2018 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed Jul 4 09:28:21 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbcface2 x11-misc/shared-mime-info: Bump to version 1.10 Package-Manager: Portage-2.3.41, Repoman-2.3.9 x11-misc/shared-mime-info/Manifest | 1 + .../shared-mime-info/shared-mime-info-1.10.ebuild | 55 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/x11-misc/shared-mime-info/Manifest b/x11-misc/shared-mime-info/Manifest index 5a6321e2d9f..b680337e32b 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.9.tar.xz 607648 BLAKE2B 6ac4c0dbe3862be78dc4fb5711ca3c8137ae9dee83752b1811991f44bae0ba83036fb10c598c4a098933df8914a67212db97c8bcfefc80febd2ce3e4673846d7 SHA512 b4ab7bfec4cbc827fe0d459040967afb714c073ad27ec9ad46e51ebc49c56b2a85501a3c8c5c199b4cb5359fc46580d6f2dfdb49da1670216d5d2b56758de491 diff --git a/x11-misc/shared-mime-info/shared-mime-info-1.10.ebuild b/x11-misc/shared-mime-info/shared-mime-info-1.10.ebuild new file mode 100644 index 00000000000..7242b28967f --- /dev/null +++ b/x11-misc/shared-mime-info/shared-mime-info-1.10.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit xdg-utils + +DESCRIPTION="The Shared MIME-info Database specification" +HOMEPAGE="https://freedesktop.org/wiki/Software/shared-mime-info" +SRC_URI="https://people.freedesktop.org/~hadess/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +RDEPEND=">=dev-libs/glib-2 + dev-libs/libxml2" +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" + +DOCS=( ChangeLog HACKING NEWS README ) + +src_configure() { + export ac_cv_func_fdatasync=no #487504 + + local myeconfargs=( + $(use_enable test default-make-check) + --disable-update-mimedb + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + # FIXME: 0.91 fails with -j9 every second time like: + # update_mime_database-update-mime-database.o: file not recognized: File truncated + # collect2: ld returned 1 exit status + emake -j1 +} + +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 +}