From 1401f18d64da0a20fcba05e36b9c2901c97a6d2b Mon Sep 17 00:00:00 2001 From: zlice Date: Tue, 25 Mar 2025 15:35:04 -0400 Subject: [PATCH] conky: update to 1.22.1 see https://github.com/brndnmtthws/conky/pull/2132 Closes: #54878 [via git-merge-pr] --- srcpkgs/conky/template | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/srcpkgs/conky/template b/srcpkgs/conky/template index 44ee2aadfee..5f8e903cad0 100644 --- a/srcpkgs/conky/template +++ b/srcpkgs/conky/template @@ -1,10 +1,10 @@ # Template file for 'conky' pkgname=conky -version=1.22.0 +version=1.22.1 revision=1 build_style=cmake conf_files="/etc/conky/conky.conf /etc/conky/conky_no_x11.conf" -configure_args="-DMAINTAINER_MODE=ON -DRELEASE=ON +configure_args="-DRELEASE=ON -DDOC_PATH=share/doc/${pkgname} -DBUILD_CURL=ON -DBUILD_RSS=ON -DBUILD_WLAN=ON -DBUILD_X11=ON -DBUILD_XDBE=ON -DBUILD_IMLIB2=ON -DBUILD_LUA_CAIRO=ON -DBUILD_LUA_IMLIB2=ON @@ -19,8 +19,15 @@ license="BSD-3-Clause, GPL-3.0-or-later" homepage="https://github.com/brndnmtthws/conky" distfiles="https://github.com/brndnmtthws/conky/archive/v${version}.tar.gz https://github.com/brndnmtthws/conky/releases/download/v${version}/conky.1.gz" -checksum="8633b78e6c0c9e7128efc9fe54b48df75a3860928e3fb101bcf71f6fb3844959 - 4e2f31b09deb60f289f74d9e7f75e2e987ee0c5d400fc4cbf4ef2b60fe457295" +checksum="9959fde719d3d4340ab973aadbeb97a03e9f6bf4f928be0de69cfb02871d522e + 66cd1bc57e8166d1ee6ed1c08c584942262f0044d1da9b4b37ddb4d0fad9abdc" + +# MAINTAINER_MODE turns on BUILD_TESTS and is only for the conky project +if [ -n "$CROSS_BUILD" ] ; then + configure_args+=" -DBUILD_TESTS=OFF" +else + configure_args+=" -DBUILD_TESTS=ON" +fi post_extract() { mv conky-*/* . @@ -31,9 +38,15 @@ post_extract() { } post_configure() { # conky-cli - configure_args="-DMAINTAINER_MODE=ON -DRELEASE=ON -DDOC_PATH=share/doc/${pkgname} + configure_args="-DRELEASE=ON -DDOC_PATH=share/doc/${pkgname} -DBUILD_X11=OFF -DBUILD_WAYLAND=OFF -DBUILD_CURL=ON -DBUILD_XDBE=OFF -DBUILD_RSS=ON -DBUILD_IMLIB2=OFF -DBUILD_WLAN=ON" + # this probably doesn't really need to be tested again + if [ -n "$CROSS_BUILD" ] ; then + configure_args+=" -DBUILD_TESTS=OFF" + else + configure_args+=" -DBUILD_TESTS=ON" + fi ( cmake_builddir="cli-build" do_configure