From 8f163321974002a765f18d3975e896a1fc1a62cd Mon Sep 17 00:00:00 2001 From: mobinmob Date: Sun, 14 Nov 2021 20:55:31 +0200 Subject: [PATCH] cinnamon-control-center: update to 5.2.0. Also: - add patch to build on musl (by @ericonr). --- .../cinnamon-control-center/patches/musl.diff | 19 +++++++++++++++++++ srcpkgs/cinnamon-control-center/template | 9 +++------ 2 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/cinnamon-control-center/patches/musl.diff diff --git a/srcpkgs/cinnamon-control-center/patches/musl.diff b/srcpkgs/cinnamon-control-center/patches/musl.diff new file mode 100644 index 00000000000..860b0c4195e --- /dev/null +++ b/srcpkgs/cinnamon-control-center/patches/musl.diff @@ -0,0 +1,19 @@ +Include networkmanager header after the musl ones, to avoid conflicts. + +diff --git a/panels/network/wireless-security/utils.c b/panels/network/wireless-security/utils.c +index b74424d..2bb543f 100644 +--- a/panels/network/wireless-security/utils.c ++++ b/panels/network/wireless-security/utils.c +@@ -20,11 +20,10 @@ + * Copyright 2007 - 2015 Red Hat, Inc. + */ + +-#include "nm-default.h" +- + #include + #include + ++#include "nm-default.h" + #include "utils.h" + + /** diff --git a/srcpkgs/cinnamon-control-center/template b/srcpkgs/cinnamon-control-center/template index 1d503bdb6e8..365c11f9fa5 100644 --- a/srcpkgs/cinnamon-control-center/template +++ b/srcpkgs/cinnamon-control-center/template @@ -1,6 +1,6 @@ # Template file for 'cinnamon-control-center' pkgname=cinnamon-control-center -version=4.8.2 +version=5.2.0 revision=1 build_style=meson build_helper=gir @@ -18,11 +18,8 @@ maintainer="Orphaned " license="GPL-2.0-or-later, LGPL-2.0-or-later" homepage="https://github.com/linuxmint/cinnamon-control-center" distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz" -checksum=407e88fe458af7b25c0dd91d54aad93a72a1464ced285a741ed1ce6249ed61af - -do_check() { - : -} +checksum=4a400801d2a53c0f0ab600682645376ea4afac3d6b1bbad3fbf580bf35651825 +make_check=no libcinnamon-control-center_package() { short_desc+=" - runtime library"