Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appstream: Add Qt6 bindings #594

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified a/appstream/manifest.x86_64.bin
Binary file not shown.
103 changes: 102 additions & 1 deletion a/appstream/manifest.x86_64.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"binary(vapigen)",
"binary(xsltproc)",
"docbook",
"pkgconfig(Qt6UiTools)",
"pkgconfig(glib-2.0)",
"pkgconfig(gobject-introspection-1.0)",
"pkgconfig(libcurl)",
Expand Down Expand Up @@ -112,6 +113,7 @@
"binary(vapigen)",
"binary(xsltproc)",
"docbook",
"pkgconfig(Qt6UiTools)",
"pkgconfig(glib-2.0)",
"pkgconfig(gobject-introspection-1.0)",
"pkgconfig(libcurl)",
Expand Down Expand Up @@ -176,9 +178,108 @@
"provides": [
"pkgconfig(appstream)"
]
},
"appstream-qt6": {
"build-depends": [
"binary(cmake)",
"binary(gperf)",
"binary(itstool)",
"binary(msgfmt)",
"binary(vapigen)",
"binary(xsltproc)",
"docbook",
"pkgconfig(Qt6UiTools)",
"pkgconfig(glib-2.0)",
"pkgconfig(gobject-introspection-1.0)",
"pkgconfig(libcurl)",
"pkgconfig(librsvg-2.0)",
"pkgconfig(libsystemd)",
"pkgconfig(libxml-2.0)",
"pkgconfig(libzstd)",
"pkgconfig(xmlb)",
"pkgconfig(yaml-0.1)"
],
"depends": [
"soname(libQt6Core.so.6(x86_64))",
"soname(libappstream.so.5(x86_64))",
"soname(libc++.so.1(x86_64))",
"soname(libc.so.6(x86_64))",
"soname(libgio-2.0.so.0(x86_64))",
"soname(libglib-2.0.so.0(x86_64))",
"soname(libgobject-2.0.so.0(x86_64))",
"soname(libunwind.so.1(x86_64))"
],
"files": [
"/usr/lib/libAppStreamQt.so.1.0.4",
"/usr/lib/libAppStreamQt.so.3"
],
"name": "appstream-qt6",
"provides": [
"soname(libAppStreamQt.so.3(x86_64))"
]
},
"appstream-qt6-devel": {
"build-depends": [
"binary(cmake)",
"binary(gperf)",
"binary(itstool)",
"binary(msgfmt)",
"binary(vapigen)",
"binary(xsltproc)",
"docbook",
"pkgconfig(Qt6UiTools)",
"pkgconfig(glib-2.0)",
"pkgconfig(gobject-introspection-1.0)",
"pkgconfig(libcurl)",
"pkgconfig(librsvg-2.0)",
"pkgconfig(libsystemd)",
"pkgconfig(libxml-2.0)",
"pkgconfig(libzstd)",
"pkgconfig(xmlb)",
"pkgconfig(yaml-0.1)"
],
"depends": [
"appstream-devel",
"appstream-qt6"
],
"files": [
"/usr/include/AppStreamQt/appstreamqt_export.h",
"/usr/include/AppStreamQt/branding.h",
"/usr/include/AppStreamQt/bundle.h",
"/usr/include/AppStreamQt/category.h",
"/usr/include/AppStreamQt/component-box.h",
"/usr/include/AppStreamQt/component.h",
"/usr/include/AppStreamQt/contentrating.h",
"/usr/include/AppStreamQt/developer.h",
"/usr/include/AppStreamQt/icon.h",
"/usr/include/AppStreamQt/image.h",
"/usr/include/AppStreamQt/launchable.h",
"/usr/include/AppStreamQt/metadata.h",
"/usr/include/AppStreamQt/pool.h",
"/usr/include/AppStreamQt/provided.h",
"/usr/include/AppStreamQt/relation-check-result.h",
"/usr/include/AppStreamQt/relation.h",
"/usr/include/AppStreamQt/release-list.h",
"/usr/include/AppStreamQt/release.h",
"/usr/include/AppStreamQt/screenshot.h",
"/usr/include/AppStreamQt/spdx.h",
"/usr/include/AppStreamQt/suggested.h",
"/usr/include/AppStreamQt/systeminfo.h",
"/usr/include/AppStreamQt/translation.h",
"/usr/include/AppStreamQt/utils.h",
"/usr/include/AppStreamQt/version.h",
"/usr/include/AppStreamQt/video.h",
"/usr/lib/cmake/AppStreamQt/AppStreamQtConfig.cmake",
"/usr/lib/cmake/AppStreamQt/AppStreamQtConfigVersion.cmake",
"/usr/lib/libAppStreamQt.so"
],
"name": "appstream-qt6-devel",
"provides": [
"cmake(AppStreamQt)"
]
}
},
"source-name": "appstream",
"source-release": "4",
"source-release": "5",
"source-version": "1.0.4"
}
30 changes: 27 additions & 3 deletions a/appstream/stone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
name : appstream
version : 1.0.4
release : 4
release : 5
homepage : https://www.freedesktop.org/wiki/Distributions/AppStream/
upstreams :
- https://www.freedesktop.org/software/appstream/releases/AppStream-1.0.4.tar.xz : 2d218348067f98c4f34a3ffe2d8219ad9f504b1b2481f1872dec66c77bf37509
Expand All @@ -14,7 +14,7 @@
AppStream is a cross-distribution effort for enhancing the way we interact with the software repositories provided by (Linux) distributions by standardizing software component metadata.
license :
- LGPL-2.1-or-later
builddeps :

Check warning on line 17 in a/appstream/stone.yaml

View workflow job for this annotation

GitHub Actions / Checks

builddeps are not in order, expected: - binary(cmake) - binary(gperf) - binary(itstool) - binary(msgfmt) - binary(vapigen) - binary(xsltproc) - pkgconfig(Qt6UiTools) - pkgconfig(glib-2.0) - pkgconfig(gobject-introspection-1.0) - pkgconfig(libcurl) - pkgconfig(librsvg-2.0) - pkgconfig(libsystemd) - pkgconfig(libxml-2.0) - pkgconfig(libzstd) - pkgconfig(xmlb) - pkgconfig(yaml-0.1) - docbook
# TODO: steamming, docs
- docbook
- binary(cmake)
Expand All @@ -23,6 +23,7 @@
- binary(msgfmt)
- binary(vapigen)
- binary(xsltproc)
- pkgconfig(Qt6UiTools)
- pkgconfig(glib-2.0)
- pkgconfig(gobject-introspection-1.0)
- pkgconfig(libcurl)
Expand All @@ -36,9 +37,32 @@
pushd AppStream-%(version)
export CFLAGS="${CFLAGS} -Wno-error=missing-include-dirs"
setup : |
%meson -Dstemming=false -Dvapi=true -Dapidocs=false -Dinstall-docs=false --sysconfdir=%(datadir)/appstream
%meson \
--sysconfdir=%(datadir)/appstream \
-Dapidocs=false \
-Dinstall-docs=false \
-Dqt=true \
-Dstemming=false \
-Dvapi=true
build : |
%meson_build
install : |
%meson_install
toolchain : gnu
packages :
- "%(name)-qt6":
summary: "Tools and libraries to work with AppStream metadata - Qt6 bindings"
description: |
Tools and libraries to work with AppStream metadata - Qt6 bindings
paths:
- /usr/lib/libAppStreamQt.so.*
- "%(name)-qt6-devel":
summary: "Tools and libraries to work with AppStream metadata - Qt6 bindings (development files)"
description: |
Tools and libraries to work with AppStream metadata - Qt6 bindings (development files)
rundeps:
- "%(name)-qt6"
- "%(name)-devel"
paths:
- /usr/include/AppStreamQt/
- /usr/lib/cmake/AppStreamQt/
- /usr/lib/libAppStreamQt.so