summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-04-26 21:43:53 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-04-26 21:44:39 +0200
commitb150466d0b9ddeac707d138269170650068c7fe3 (patch)
tree7daf2e42d91fe6b4cd60e725981ed0cbba7bd731 /sys-libs
parentsys-libs/snapd-glib: drop obsolete patch (diff)
downloadgentoo-b150466d0b9ddeac707d138269170650068c7fe3.tar.gz
gentoo-b150466d0b9ddeac707d138269170650068c7fe3.tar.bz2
gentoo-b150466d0b9ddeac707d138269170650068c7fe3.zip
sys-libs/snapd-glib: fix compilation of kde-plasma/discover[snap]
Notice header was not installed by meson Bug: https://github.com/snapcore/snapd-glib/pull/152 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/snapd-glib/files/snapd-glib-1.65-install-missing-header.patch13
-rw-r--r--sys-libs/snapd-glib/snapd-glib-1.65-r1.ebuild (renamed from sys-libs/snapd-glib/snapd-glib-1.65.ebuild)5
2 files changed, 18 insertions, 0 deletions
diff --git a/sys-libs/snapd-glib/files/snapd-glib-1.65-install-missing-header.patch b/sys-libs/snapd-glib/files/snapd-glib-1.65-install-missing-header.patch
new file mode 100644
index 000000000000..71371795f865
--- /dev/null
+++ b/sys-libs/snapd-glib/files/snapd-glib-1.65-install-missing-header.patch
@@ -0,0 +1,13 @@
+https://github.com/snapcore/snapd-glib/pull/152
+diff --git a/snapd-qt/meson.build b/snapd-qt/meson.build
+index a767c6d..db2f5bf 100644
+--- a/snapd-qt/meson.build
++++ b/snapd-qt/meson.build
+@@ -131,6 +131,7 @@ source_alias_h = [
+ 'Snapd/MarkdownNode',
+ 'Snapd/MarkdownParser',
+ 'Snapd/Media',
++ 'Snapd/Notice',
+ 'Snapd/Plug',
+ 'Snapd/PlugRef',
+ 'Snapd/Price',
diff --git a/sys-libs/snapd-glib/snapd-glib-1.65.ebuild b/sys-libs/snapd-glib/snapd-glib-1.65-r1.ebuild
index ce6cc2f734a2..558bca6c7442 100644
--- a/sys-libs/snapd-glib/snapd-glib-1.65.ebuild
+++ b/sys-libs/snapd-glib/snapd-glib-1.65-r1.ebuild
@@ -52,6 +52,11 @@ RDEPEND="${DEPEND}
app-containers/snapd
"
+PATCHES=(
+ # https://github.com/snapcore/snapd-glib/pull/152
+ "${FILESDIR}/${P}-install-missing-header.patch"
+)
+
pkg_setup() {
vala_setup
}