diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2021-11-11 21:11:51 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2021-11-11 21:11:51 +0100 |
commit | a24dfe09b90b2a64515d4214220c37ce82946a9e (patch) | |
tree | fde67fde2f171afb0e2122f6548d1fca4862894a | |
parent | e516f48129f6d158b8017d35592f67fb51cba97d (diff) | |
download | aports-a24dfe09b90b2a64515d4214220c37ce82946a9e.tar.gz aports-a24dfe09b90b2a64515d4214220c37ce82946a9e.tar.bz2 aports-a24dfe09b90b2a64515d4214220c37ce82946a9e.tar.xz |
community/appstream: move appstreamcli-compose to compose subpackage
Fixes a recursive dependency (see #13173).
The appstreamcli-compose(1) man page explicitly states:
In order for the appstreamcli compose command to be available,
you may need to install the optional compose module for
appstreamcli first.
So this seems to be the proper way to resolve the recursive dependency.
-rw-r--r-- | community/appstream/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/community/appstream/APKBUILD b/community/appstream/APKBUILD index 87f6f258378..51be7c75897 100644 --- a/community/appstream/APKBUILD +++ b/community/appstream/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Rasmus Thomsen <oss@cogitri.dev> pkgname=appstream pkgver=0.14.6 -pkgrel=0 +pkgrel=1 pkgdesc="Provides a standard for creating app stores across distributions" url="https://distributions.freedesktop.org/wiki/AppStream" arch="all" @@ -64,6 +64,10 @@ compose() { mv "$pkgdir"/usr/lib/libappstream-compose* \ "$pkgdir"/usr/lib/girepository-1.0/AppStreamCompose* \ "$subpkgdir"/usr/lib + + # Needs so:libappstream-compose.so and thus needs + # to be moved to prevent a recursive dependency. + amove usr/libexec/appstreamcli-compose } qt() { |