Switch to new package format
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
name: gtkmm4
|
name: gtkmm4
|
||||||
description: The official C++ interface for the popular GUI library GTK (version 4)
|
description: The official C++ interface for the popular GUI library GTK (version 4)
|
||||||
version: 4.22.0
|
version: 4.22.0
|
||||||
revision: 1
|
revision: 2
|
||||||
url: https://www.gtkmm.org/
|
url: https://www.gtkmm.org/
|
||||||
license: LGPL2.1-or-later
|
license: LGPL2.1-or-later
|
||||||
maintainers:
|
maintainers:
|
||||||
@@ -9,7 +9,6 @@ maintainers:
|
|||||||
architecture: any
|
architecture: any
|
||||||
type: source
|
type: source
|
||||||
depends:
|
depends:
|
||||||
- atkmm
|
|
||||||
- cairomm-1.16
|
- cairomm-1.16
|
||||||
- gcc-libs
|
- gcc-libs
|
||||||
- gdk-pixbuf
|
- gdk-pixbuf
|
||||||
@@ -22,6 +21,7 @@ depends:
|
|||||||
- pangomm-2.48
|
- pangomm-2.48
|
||||||
- vulkan-loader
|
- vulkan-loader
|
||||||
make_depends:
|
make_depends:
|
||||||
|
- doxygen
|
||||||
- meson
|
- meson
|
||||||
- mm-common
|
- mm-common
|
||||||
downloads:
|
downloads:
|
||||||
@@ -1,11 +1,18 @@
|
|||||||
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
# This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
|
# The prepare function is executed in the root of the temp directory
|
||||||
|
# This function is used for putting downloaded files to the correct location or applying patches
|
||||||
|
prepare() {
|
||||||
|
cd "$BPM_SOURCE"
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/include-gdk-gdk.h.patch
|
||||||
|
}
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Dmaintainer-mode=false build
|
meson setup --prefix=/usr -Dmaintainer-mode=false build
|
||||||
meson compile -C build
|
meson compile -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
From 149ba0a9803b1a5f0369069554095eb853d84d80 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kjell Ahlstedt <[email protected]>
|
||||||
|
Date: Sun, 17 May 2026 20:56:56 +0200
|
||||||
|
Subject: [PATCH] Gtk::AccelKey: include <gdk/gdk.h>
|
||||||
|
|
||||||
|
It's no longer possible to include only gdk/gdkkeysyms.h.
|
||||||
|
---
|
||||||
|
gtk/gtkmm/accelkey.h | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/gtk/gtkmm/accelkey.h b/gtk/gtkmm/accelkey.h
|
||||||
|
index 67a22bf98..d773de358 100644
|
||||||
|
--- a/gtk/gtkmm/accelkey.h
|
||||||
|
+++ b/gtk/gtkmm/accelkey.h
|
||||||
|
@@ -19,7 +19,7 @@
|
||||||
|
|
||||||
|
#include <gtkmmconfig.h>
|
||||||
|
|
||||||
|
-#include <gdk/gdkkeysyms.h>
|
||||||
|
+#include <gdk/gdk.h>
|
||||||
|
#include <gdkmm/enums.h>
|
||||||
|
|
||||||
|
namespace Gtk
|
||||||
Reference in New Issue
Block a user