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 37911138334 for ; Sat, 17 Aug 2019 12:06:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4848AE088B; Sat, 17 Aug 2019 12:06:28 +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 1BF7DE088B for ; Sat, 17 Aug 2019 12:06:27 +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 7B584349CB5 for ; Sat, 17 Aug 2019 12:06:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5322F751 for ; Sat, 17 Aug 2019 12:06:24 +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: <1566043569.32b13a7b0551a93f756ec3285e2187ddde774375.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/appstream/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/appstream/Manifest dev-libs/appstream/appstream-0.12.8.ebuild X-VCS-Directories: dev-libs/appstream/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 32b13a7b0551a93f756ec3285e2187ddde774375 X-VCS-Branch: master Date: Sat, 17 Aug 2019 12:06:24 +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: 14ba8c7a-ec29-48c3-b8bd-2842fdb9bd59 X-Archives-Hash: da2018ef8fadb1a14126ef1bbe2d4f9a commit: 32b13a7b0551a93f756ec3285e2187ddde774375 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Aug 17 10:59:16 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Aug 17 12:06:09 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32b13a7b dev-libs/appstream: 0.12.8 version bump Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/appstream/Manifest | 1 + dev-libs/appstream/appstream-0.12.8.ebuild | 71 ++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/dev-libs/appstream/Manifest b/dev-libs/appstream/Manifest index 47d00781da9..4324a80882f 100644 --- a/dev-libs/appstream/Manifest +++ b/dev-libs/appstream/Manifest @@ -1,2 +1,3 @@ DIST AppStream-0.12.6.tar.xz 1953604 BLAKE2B 28b03a935b8c203f2ac2c52c1de8317cc899f2b81b00e83e2eb858dbd185a985ce608ba3f6b1c35f084b4ee91946a4870c89d6b0c0a4c6fd32a938558e3997f1 SHA512 c19cd89ba39aff5afa2ff6d5fca72581a8624463c33011b11036526db98392ff5aa6c0f599682e90fdee29b8732538cf96c20b66965016b96f60b3f899d722bb DIST AppStream-0.12.7.tar.xz 1958948 BLAKE2B 51a70395e4801ceeb3e97ac081f4c45be242cca14728f8efc5eec0d4b3cfa4cc9fab9ef7429c18e9bbb0dedb693a847258be1b11491155658a6ffa2a28358e35 SHA512 53ca7ebde3fcd345a895527da2ac5d829a09f25d28836a867b500282fba3465bde657cd75a4030cb831022f7a0d9f50aadb36078d62924e4d0edad6bfe3c5561 +DIST AppStream-0.12.8.tar.xz 1992072 BLAKE2B ae1d6801119798f360b7eae36b0c46b0511a93ae00adb2437e7dda830d5293c622b04475664055bee392dc824f398d42c6a0a4000392f82fc8bdfc828fa0295e SHA512 4354ef1840d919102647feffc38687f508b14fe9c047c868448347d888aa821dd8a4d25787a2ffb55247f8e9e20e9e03ba330ad74ad61d476be0c414c04a7c30 diff --git a/dev-libs/appstream/appstream-0.12.8.ebuild b/dev-libs/appstream/appstream-0.12.8.ebuild new file mode 100644 index 00000000000..cbbde57065d --- /dev/null +++ b/dev-libs/appstream/appstream-0.12.8.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson xdg-utils + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ximion/${PN}" +else + MY_PN="AppStream" + SRC_URI="https://www.freedesktop.org/software/appstream/releases/${MY_PN}-${PV}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" + S="${WORKDIR}/${MY_PN}-${PV}" +fi + +DESCRIPTION="Cross-distro effort for providing metadata for software in the Linux ecosystem" +HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/" + +LICENSE="LGPL-2.1+ GPL-2+" +# check as_api_level +SLOT="0/4" +IUSE="apt +introspection qt5 test" + +BDEPEND=" + app-text/docbook-xml-dtd:4.5 + dev-libs/appstream-glib + dev-util/itstool + >=dev-util/meson-0.42.0 + >=sys-devel/gettext-0.19.8 + test? ( + dev-qt/linguist-tools:5 + qt5? ( dev-qt/qttest:5 ) + ) +" +DEPEND=" + dev-db/lmdb:= + >=dev-libs/glib-2.54:2 + dev-libs/libxml2:2 + dev-libs/libyaml + dev-libs/snowball-stemmer + introspection? ( >=dev-libs/gobject-introspection-1.56:= ) + qt5? ( dev-qt/qtcore:5 ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + sed -e "/^as_doc_target_dir/s/appstream/${PF}/" -i docs/meson.build || die + if ! use test; then + sed -e "/^subdir.*tests/s/^/#DONT /" -i {,qt/}meson.build || die # bug 675944 + fi +} + +src_configure() { + xdg_environment_reset + + local emesonargs=( + -Dapidocs=false + -Ddocs=false + -Dmaintainer=false + -Dstemming=true + -Dvapi=false + -Dapt-support=$(usex apt true false) + -Dgir=$(usex introspection true false) + -Dqt=$(usex qt5 true false) + ) + + meson_src_configure +}