From 8581f5f0acf934974ae50dfa16779fea0f015205 Mon Sep 17 00:00:00 2001 From: Mike Pento Date: Sun, 8 Feb 2026 18:18:31 -0500 Subject: [PATCH] Fix for penguins module. --- .SRCINFO | 4 +++- PKGBUILD | 32 ++++++++++++++++++++++++-------- 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 7d3f0ac49fb53..2b05bd584c140 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = e-modules-extra-git pkgdesc = Enlightenment modules: Extra unsupported modules in Git not already packaged elsewhere pkgver = 20260208 - pkgrel = 1 + pkgrel = 2 url = https://git.enlightenment.org/ arch = i686 arch = x86_64 @@ -18,6 +18,7 @@ pkgbase = e-modules-extra-git source = git+https://git.enlightenment.org/enlightenment/enlightenment-module-eenvader.fractal.git source = git+https://git.enlightenment.org/enlightenment/enlightenment-module-mem.git source = git+https://git.enlightenment.org/enlightenment/enlightenment-module-net.git + source = git+https://git.enlightenment.org/enlightenment/enlightenment-module-penguins.git source = git+https://git.enlightenment.org/enlightenment/enlightenment-module-tclock.git sha256sums = SKIP sha256sums = SKIP @@ -25,5 +26,6 @@ pkgbase = e-modules-extra-git sha256sums = SKIP sha256sums = SKIP sha256sums = SKIP + sha256sums = SKIP pkgname = e-modules-extra-git diff --git a/PKGBUILD b/PKGBUILD index dbcff397d3349..1bd3658d81c14 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -20,10 +20,10 @@ _module_list=( # 'mpdule' # not compatible with Enlightenment >= 0.19.99, adds dep on libmpd 'net' # 'news' # not compatible with Enlightenment >= 0.19.0 -# 'penguins' # fails to compile + 'penguins' # 'photo' # not compatible with Enlightenment >= 0.18.0 # 'share' # not compatible with Enlightenment >= 0.19.0, adds dep on libbsd - 'tclock' # fails to compile (implicit-function-declaration) + 'tclock' # 'wallpaper2' # not compatible with Enlightenment < 0.19.99 # 'wlan' # fails to compile (implicit-function-declaration) ) @@ -36,7 +36,7 @@ containsElement () { pkgname=e-modules-extra-git pkgver=20260208 -pkgrel=1 +pkgrel=2 pkgdesc="Enlightenment modules: Extra unsupported modules in Git not already packaged elsewhere" arch=('i686' 'x86_64') url="https://git.enlightenment.org/" @@ -74,11 +74,19 @@ build() { msg2 "Building $_module" - ./autogen.sh \ - --prefix=/usr \ - --disable-static + case $_module in + penguins) + /usr/bin/meson setup build + ninja -C build + ;; + *) + ./autogen.sh \ + --prefix=/usr \ + --disable-static + make CFLAGS+=-std=gnu17 + ;; + esac - make CFLAGS+=-std=gnu17 done } @@ -88,7 +96,15 @@ package() { msg2 "Installing $_module" - make DESTDIR="$pkgdir" install + case $_module in + penguins) + # ninja -C build install + /usr/bin/meson install -C build --destdir "$pkgdir" + ;; + *) + make DESTDIR="$pkgdir" install + ;; + esac # install text files [[ -e ChangeLog ]] && install -Dm644 ChangeLog "$pkgdir/usr/share/doc/${pkgname%-*}/$_module/ChangeLog" || true