From 4c295a6351a72834f190222fa853e5dbc31855ae Mon Sep 17 00:00:00 2001 From: Subhaditya Nath Date: Thu, 18 Aug 2022 08:59:30 +0530 Subject: [PATCH] iwgtk: update to 0.8, adopt --- srcpkgs/iwgtk/patches/fix-makefile.patch | 29 ------------------------ srcpkgs/iwgtk/template | 17 +++++++------- 2 files changed, 9 insertions(+), 37 deletions(-) delete mode 100644 srcpkgs/iwgtk/patches/fix-makefile.patch diff --git a/srcpkgs/iwgtk/patches/fix-makefile.patch b/srcpkgs/iwgtk/patches/fix-makefile.patch deleted file mode 100644 index bd81d95b5908..000000000000 --- a/srcpkgs/iwgtk/patches/fix-makefile.patch +++ /dev/null @@ -1,29 +0,0 @@ -https://patch-diff.githubusercontent.com/raw/J-Lentz/iwgtk/pull/14.patch - ---- a/Makefile -+++ b/Makefile -@@ -1,8 +1,8 @@ --CC=gcc --CFLAGS=`pkg-config --cflags gtk+-3.0` -+CC?=gcc -+CCINCS=`pkg-config --cflags gtk+-3.0` - LDLIBS=`pkg-config --libs gtk+-3.0` - --prefix=/usr/local -+prefix?=$(PREFIX) - exec_prefix=$(prefix) - bindir=$(exec_prefix)/bin - datarootdir=$(prefix)/share -@@ -23,10 +23,10 @@ - .PHONY : clean install uninstall - - iwgtk : $(objects) -- $(CC) $(CFLAGS) -o $@ $^ $(LDLIBS) -+ $(CC) $(CCINCS) $(CFLAGS) -o $@ $^ $(LDLIBS) - - %.o : $(srcdir)/%.c $(headers) -- $(CC) -c $(CFLAGS) -o $@ $< -+ $(CC) -c $(CCINCS) $(CFLAGS) -o $@ $< - - $(srcdir)/icons.c : icons.gresource.xml $(icons) - glib-compile-resources --target=$@ --sourcedir=icons --generate-source $< diff --git a/srcpkgs/iwgtk/template b/srcpkgs/iwgtk/template index a9b23b80f0ca..7a0a9e2bbde1 100644 --- a/srcpkgs/iwgtk/template +++ b/srcpkgs/iwgtk/template @@ -1,14 +1,15 @@ # Template file for 'iwgtk' pkgname=iwgtk -version=0.4 +version=0.8 revision=1 -build_style=gnu-makefile -hostmakedepends="glib-devel pkg-config" -makedepends="gtk+3-devel" +build_style=meson +hostmakedepends="scdoc pkg-config gettext" +makedepends="gtk4-devel qrencode-devel" depends="iwd" -short_desc="GUI WiFi management utility to control iwd" -maintainer="caughtquick " +short_desc="Lightweight GTK frontend for iwd (WiFi)" +maintainer="Subhaditya Nath " license="GPL-3.0-or-later" -homepage="https://github.com/J-Lentz/iwgtk/" +homepage="https://github.com/J-Lentz/iwgtk" +changelog="https://raw.githubusercontent.com/J-Lentz/iwgtk/master/CHANGELOG" distfiles="https://github.com/J-Lentz/iwgtk/archive/refs/tags/v${version}.tar.gz" -checksum=71bb85546a55bf710052d4947f6be5f5a01033d04d2d14a85a7e734dd570657d +checksum=38e81e67004bbd246b6551ffc812b6ab019f84a7329f134bb8031eb61d9d732c