summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCeleste <20312-Celeste@users.gitlab.alpinelinux.org>2024-09-07 02:34:01 +0000
committerCeleste <20312-Celeste@users.gitlab.alpinelinux.org>2024-09-07 02:44:08 +0000
commit53fc16773f8aeb2518b5f925246676e5e38b4ec8 (patch)
tree721b0d9395a5f08714af9db8cb30f83e43b1bc4f
parentb36598accafc17f7879bdf39a4b5cc093be72284 (diff)
downloadaports-53fc16773f8aeb2518b5f925246676e5e38b4ec8.zip
community/cog: rebuild against weston 14.0.0
-rw-r--r--community/cog/APKBUILD7
-rw-r--r--community/cog/libweston-14-protocols.patch28
2 files changed, 33 insertions, 2 deletions
diff --git a/community/cog/APKBUILD b/community/cog/APKBUILD
index 2a52ede4bde..015e9725b3d 100644
--- a/community/cog/APKBUILD
+++ b/community/cog/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=cog
pkgver=0.18.3
-pkgrel=0
+pkgrel=1
pkgdesc="simple browser for WebKit WPE"
url="https://github.com/Igalia/cog"
arch="all"
@@ -24,7 +24,9 @@ makedepends="
wpewebkit-dev
"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://github.com/Igalia/cog/releases/download/$pkgver/cog-$pkgver.tar.xz"
+source="https://github.com/Igalia/cog/releases/download/$pkgver/cog-$pkgver.tar.xz
+ libweston-14-protocols.patch
+ "
options="!check" # no tests
build() {
@@ -42,4 +44,5 @@ package() {
sha512sums="
3dd5c08e84cedf7af15ed42f8d76aa28132f616aa9692760d7b3d04fdb12d57a66ee9f46ab6d7f02290ba9da37c07b8f6fbf90d03b09836adb8691289a614651 cog-0.18.3.tar.xz
+679d0bfd04027ec32d632f0be62c766d0f17572049b5bed4304e688b3bd20b15de79084fcd4c5126277f1dc80abd157790e6633ba4581c1578d7bdd077cd7119 libweston-14-protocols.patch
"
diff --git a/community/cog/libweston-14-protocols.patch b/community/cog/libweston-14-protocols.patch
new file mode 100644
index 00000000000..699949dbd26
--- /dev/null
+++ b/community/cog/libweston-14-protocols.patch
@@ -0,0 +1,28 @@
+Patch-Source: https://github.com/Igalia/cog/commit/44f669f69a77f8a64bc9feb85b909ff1aafc9541
+--
+From 44f669f69a77f8a64bc9feb85b909ff1aafc9541 Mon Sep 17 00:00:00 2001
+From: James Hilliard <james.hilliard1@gmail.com>
+Date: Sun, 17 Mar 2024 16:12:12 -0600
+Subject: [PATCH] Add support for weston 14 protocols
+
+Weston 13 was released recently and the weston development branch is
+now using libweston-14-protocols.
+
+Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
+(cherry picked from commit e13c995c5b737bad21fce80fec318d2fd9f34b60)
+---
+ platform/wayland/meson.build | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/platform/wayland/meson.build b/platform/wayland/meson.build
+index 6d22345a..eca051d3 100644
+--- a/platform/wayland/meson.build
++++ b/platform/wayland/meson.build
+@@ -48,6 +48,7 @@ wayland_protocols_path = wayland_protocols_dep.get_variable(pkgconfig: 'pkgdatad
+
+ if wayland_platform_weston_protocols.length() > 0
+ foreach weston_dep_name : [
++ 'libweston-14-protocols',
+ 'libweston-13-protocols',
+ 'libweston-12-protocols',
+ 'libweston-11-protocols',