gcolor3: update to 2.4.0.

This commit is contained in:
Duncaen 2020-10-01 23:35:52 +02:00 committed by Duncan Overbruck
parent 2592f0f841
commit cc76993b97
2 changed files with 5 additions and 25 deletions

View file

@ -1,20 +0,0 @@
--- src/gcolor3-color-selection.c.orig
+++ src/gcolor3-color-selection.c
@@ -37,7 +37,7 @@
#include <math.h>
#include <string.h>
#include <gdk/gdk.h>
-#ifdef GDK_WINDOWING_WAYLAND
+#ifdef GDK_WINDOWING_WAYLAND_BROKEN
#include <gdk/gdkwayland.h>
#endif
#include <gtk/gtk.h>
@@ -431,7 +431,7 @@
gtk_widget_show (GTK_WIDGET (picker_image));
gtk_box_pack_end (GTK_BOX (hbox), button, FALSE, FALSE, 0);
-#ifdef GDK_WINDOWING_WAYLAND
+#ifdef GDK_WINDOWING_WAYLAND_BROKEN
if (GDK_IS_WAYLAND_DISPLAY (gdk_display_get_default()))
{
gtk_widget_set_sensitive (button, FALSE);

View file

@ -1,15 +1,15 @@
# Template file for 'gcolor3'
pkgname=gcolor3
version=2.3.1
revision=2
version=2.4.0
revision=1
wrksrc="gcolor3-v${version}"
build_style=meson
hostmakedepends="pkg-config glib-devel"
makedepends="gtk+3-devel"
hostmakedepends="pkg-config gettext glib-devel"
makedepends="gtk+3-devel libportal-devel"
short_desc="Color selection dialog written in GTK+3"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.hjdskes.nl/projects/gcolor3/"
distfiles="https://gitlab.gnome.org/World/gcolor3/-/archive/v${version}/gcolor3-v${version}.tar.gz"
checksum=b99a361d352ded2a7e867e2e6d33df2e03af0bebd4cc5bcd06959389566f9a79
checksum=d6071390a0980fb8eb8418750766c744cf0bca56f24ab4dbe3f23cb1ffd1973d
CFLAGS="-Wno-error=deprecated-declarations"