commit: 6a82d63ff0cbc0198b2d0ee6cbc91639ac2d0795 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Mon Sep 22 18:23:03 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Mon Sep 22 18:25:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a82d63f
dev-libs/appstream: add 1.0.6 Closes: https://github.com/gentoo/gentoo/pull/42829 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-libs/appstream/Manifest | 1 + dev-libs/appstream/appstream-1.0.5.ebuild | 94 +++++++++++++++++++++++++++++++ dev-libs/appstream/appstream-1.0.6.ebuild | 94 +++++++++++++++++++++++++++++++ 3 files changed, 189 insertions(+) diff --git a/dev-libs/appstream/Manifest b/dev-libs/appstream/Manifest index 104914d8e971..abea1b801efa 100644 --- a/dev-libs/appstream/Manifest +++ b/dev-libs/appstream/Manifest @@ -1 +1,2 @@ DIST AppStream-1.0.4.tar.xz 2719900 BLAKE2B e8b3ca6092d4cddf73e5f902ac9d5e071d9eb31d8b206fd814e2078f5bcfcba1683e97beccaea9e7024da0285d77c63fb426e3b3d17f15c3add332e964e313d3 SHA512 ea0f9e226401b6c5a004676d14d01c195da295269169807bc956dbfd1d4f4b2b4ba61fe905fbefbe3c562a502c31fc869aba9e87c490dcac1d861f50038d14f1 +DIST AppStream-1.0.6.tar.xz 2736948 BLAKE2B aa2990cb6ead911a04fc534a92773f43981d8303b81f11390bcf978df7e6ea65f10e2328d9848546a1126d5cfb98971502506779a4a6aba29549a0af2fa84867 SHA512 a7a34ce2b37f7a3d9f22a69ff4a546d4fb33edaec4a303bd7541ede990d8a2c2a67d17f61c9cf09d75af277e308d21baaf42d6b968eca1a11d1df983a27e02a5 diff --git a/dev-libs/appstream/appstream-1.0.5.ebuild b/dev-libs/appstream/appstream-1.0.5.ebuild new file mode 100644 index 000000000000..dabf747ec4a8 --- /dev/null +++ b/dev-libs/appstream/appstream-1.0.5.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson xdg-utils vala + +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 ~loong ~ppc ~ppc64 ~riscv ~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/5" +IUSE="apt compose doc +introspection qt6 systemd test vala" +RESTRICT="test" # bug 691962 + +RDEPEND=" + app-arch/zstd:= + >=dev-libs/glib-2.62:2 + dev-libs/libxml2:2= + >=dev-libs/libxmlb-0.3.14:= + dev-libs/libyaml + dev-libs/snowball-stemmer:= + >=net-misc/curl-7.62 + compose? ( + dev-libs/glib:2 + dev-libs/libyaml + gnome-base/librsvg:2 + media-libs/fontconfig:1.0 + media-libs/freetype:2 + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + ) + introspection? ( >=dev-libs/gobject-introspection-1.56:= ) + qt6? ( dev-qt/qtbase:6 ) + systemd? ( sys-apps/systemd:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/docbook-xsl-stylesheets + dev-libs/appstream-glib + dev-libs/libxslt + dev-util/glib-utils + dev-util/gperf + dev-util/itstool + >=sys-devel/gettext-0.19.8 + doc? ( app-text/docbook-xml-dtd:4.5 ) + test? ( dev-qt/qttools:6[linguist] ) + vala? ( $(vala_depend) ) +" + +PATCHES=( "${FILESDIR}"/${PN}-1.0.0-disable-Werror-flags.patch ) # bug 733774 + +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 + + use vala && vala_setup +} + +src_configure() { + xdg_environment_reset + + local emesonargs=( + -Dapidocs=false + -Ddocs=false + -Dcompose=false + -Dmaintainer=false + -Dstatic-analysis=false + -Dstemming=true + -Dvapi=$(usex vala true false) + -Dapt-support=$(usex apt true false) + -Dcompose=$(usex compose true false) + -Dinstall-docs=$(usex doc true false) + -Dgir=$(usex introspection true false) + -Dqt=$(usex qt6 true false) + -Dsystemd=$(usex systemd true false) + ) + + meson_src_configure +} diff --git a/dev-libs/appstream/appstream-1.0.6.ebuild b/dev-libs/appstream/appstream-1.0.6.ebuild new file mode 100644 index 000000000000..dabf747ec4a8 --- /dev/null +++ b/dev-libs/appstream/appstream-1.0.6.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson xdg-utils vala + +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 ~loong ~ppc ~ppc64 ~riscv ~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/5" +IUSE="apt compose doc +introspection qt6 systemd test vala" +RESTRICT="test" # bug 691962 + +RDEPEND=" + app-arch/zstd:= + >=dev-libs/glib-2.62:2 + dev-libs/libxml2:2= + >=dev-libs/libxmlb-0.3.14:= + dev-libs/libyaml + dev-libs/snowball-stemmer:= + >=net-misc/curl-7.62 + compose? ( + dev-libs/glib:2 + dev-libs/libyaml + gnome-base/librsvg:2 + media-libs/fontconfig:1.0 + media-libs/freetype:2 + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + ) + introspection? ( >=dev-libs/gobject-introspection-1.56:= ) + qt6? ( dev-qt/qtbase:6 ) + systemd? ( sys-apps/systemd:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/docbook-xsl-stylesheets + dev-libs/appstream-glib + dev-libs/libxslt + dev-util/glib-utils + dev-util/gperf + dev-util/itstool + >=sys-devel/gettext-0.19.8 + doc? ( app-text/docbook-xml-dtd:4.5 ) + test? ( dev-qt/qttools:6[linguist] ) + vala? ( $(vala_depend) ) +" + +PATCHES=( "${FILESDIR}"/${PN}-1.0.0-disable-Werror-flags.patch ) # bug 733774 + +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 + + use vala && vala_setup +} + +src_configure() { + xdg_environment_reset + + local emesonargs=( + -Dapidocs=false + -Ddocs=false + -Dcompose=false + -Dmaintainer=false + -Dstatic-analysis=false + -Dstemming=true + -Dvapi=$(usex vala true false) + -Dapt-support=$(usex apt true false) + -Dcompose=$(usex compose true false) + -Dinstall-docs=$(usex doc true false) + -Dgir=$(usex introspection true false) + -Dqt=$(usex qt6 true false) + -Dsystemd=$(usex systemd true false) + ) + + meson_src_configure +}
