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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C1D9515814C for ; Wed, 8 Nov 2023 19:48:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A62C2BC01B; Wed, 8 Nov 2023 19:48:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7464A2BC01B for ; Wed, 8 Nov 2023 19:48:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 49EC2335CAF for ; Wed, 8 Nov 2023 19:48:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A21A81335 for ; Wed, 8 Nov 2023 19:48:03 +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: <1699472816.92d6c13f8f6ea721625c1dffe9047313178dc088.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/shared-mime-info-2.3.ebuild X-VCS-Directories: x11-misc/shared-mime-info/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 92d6c13f8f6ea721625c1dffe9047313178dc088 X-VCS-Branch: master Date: Wed, 8 Nov 2023 19:48:03 +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: 709deda6-ab1b-4b4c-bf1b-2683497cdc8b X-Archives-Hash: 05ee21b1baa262cdf8d758b12eb62dc6 commit: 92d6c13f8f6ea721625c1dffe9047313178dc088 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Nov 7 15:45:13 2023 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Nov 8 19:46:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92d6c13f x11-misc/shared-mime-info: drop 2.3 Signed-off-by: Andreas Sturmlechner gentoo.org> .../shared-mime-info/shared-mime-info-2.3.ebuild | 94 ---------------------- 1 file changed, 94 deletions(-) diff --git a/x11-misc/shared-mime-info/shared-mime-info-2.3.ebuild b/x11-misc/shared-mime-info/shared-mime-info-2.3.ebuild deleted file mode 100644 index 82a520646c8e..000000000000 --- a/x11-misc/shared-mime-info/shared-mime-info-2.3.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson xdg-utils - -# xdgmime is used for tests but doesn't make releases nowadays; do what -# Fedora does and use a snapshot so we can run the test suite. -MY_XDGMIME_COMMIT="179296748e92bd91bf531656632a1056307fb7b7" -DESCRIPTION="The Shared MIME-info Database specification" -HOMEPAGE="https://gitlab.freedesktop.org/xdg/shared-mime-info" -SRC_URI="https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/${PV}/${P}.tar.bz2" -SRC_URI+=" test? ( https://gitlab.freedesktop.org/xdg/xdgmime/-/archive/${MY_XDGMIME_COMMIT}/xdgmime-${MY_XDGMIME_COMMIT}.tar.bz2 )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - app-text/docbook-xml-dtd:4.1.2 - app-text/xmlto - sys-devel/gettext - virtual/pkgconfig -" -RDEPEND=" - dev-libs/glib:2 - dev-libs/libxml2 -" -DEPEND="${RDEPEND}" - -DOCS=( HACKING.md NEWS README.md ) - -src_prepare() { - default - - if use test ; then - # Drop empty dir (it's a submodule in upstream git repo) - rm -r "${S}"/xdgmime || die - # Lead Meson to our snapshot - mkdir "${WORKDIR}"/xdgmime_build || die - ln -s "${WORKDIR}"/xdgmime_build xdgmime || die - # Don't break parallel make - #sed -i -e 's:make:$(MAKE):' xdgmime/Makefile || die - fi -} - -src_configure() { - # We have to trick Meson into thinking it's there now so that - # we can run meson then emake to build xdgmime later, rather than - # building before running meson which would mean doing something - # unexpected in src_configure. - if use test ; then - # Paths from https://gitlab.freedesktop.org/xdg/shared-mime-info/-/blob/master/meson.build#L29 - mkdir xdgmime/src || die - touch xdgmime/src/{print,test}-mime{,-data} || die - chmod +x xdgmime/src/{print,test}-mime{,-data} || die - - BUILD_DIR="${WORKDIR}"/xdgmime_build EMESON_SOURCE="${WORKDIR}"/xdgmime-${MY_XDGMIME_COMMIT} meson_src_configure - fi - - local emesonargs=( - -Dbuild-tools=true - -Dupdate-mimedb=false - $(meson_use test build-tests) - ) - - meson_src_configure -} - -src_compile() { - if use test ; then - meson_src_compile -C "${WORKDIR}"/xdgmime_build - fi - - meson_src_compile -} - -src_install() { - meson_src_install - - # 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 -}