From 13106f155c840690b2a0973e8f3ded37af608dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 26 Sep 2022 23:51:37 +0700 Subject: [PATCH] boinc: not depends on GTK+ anymore --- srcpkgs/boinc/patches/boinc-am_conditional.patch | 4 ++-- srcpkgs/boinc/template | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/boinc/patches/boinc-am_conditional.patch b/srcpkgs/boinc/patches/boinc-am_conditional.patch index 7d59f154340f..a7657d7f1d23 100644 --- a/srcpkgs/boinc/patches/boinc-am_conditional.patch +++ b/srcpkgs/boinc/patches/boinc-am_conditional.patch @@ -1,4 +1,4 @@ -Add objective c++ program and check for gtk2 +Add objective c++ program and check for gtk+3 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ Add objective c++ program and check for gtk2 AM_CONDITIONAL(INSTALL_HEADERS, [test "${enable_install_headers}" = yes]) AM_CONDITIONAL(HAVE_CUDA_LIB, [test "${enable_client}" = yes -a -f ./coprocs/CUDA/posix/${boinc_platform}/libcudart.so]) -+PKG_CHECK_MODULES([GTK2], [gtk+-2.0]) ++PKG_CHECK_MODULES([GTK3], [gtk+-3.0]) + dnl ====================================================================== dnl some more vodoo required for building portable client-binary (client, clientgui) diff --git a/srcpkgs/boinc/template b/srcpkgs/boinc/template index 33850b5b0364..0ae75ba3d997 100644 --- a/srcpkgs/boinc/template +++ b/srcpkgs/boinc/template @@ -8,7 +8,7 @@ build_style=gnu-configure hostmakedepends="automake libtool pkg-config xorgproto shared-mime-info" makedepends="glu-devel libfreeglut-devel libcurl-devel libjpeg-turbo-devel libnotify-devel sqlite-devel libxcb-devel - libXmu-devel libXi-devel gtk+-devel webkit2gtk-devel wxWidgets-gtk3-devel" + libXmu-devel libXi-devel webkit2gtk-devel wxWidgets-gtk3-devel" depends="curl ca-certificates" conf_files="/etc/default/boinc-client" short_desc="Berkely Infrastructure for Network Computing"