New Package: iwgtk 0.4
Closes: #30669 Closes: #30686 [via git-merge-pr]
This commit is contained in:
parent
60a90eb623
commit
e397c48afe
29
srcpkgs/iwgtk/patches/fix-makefile.patch
Normal file
29
srcpkgs/iwgtk/patches/fix-makefile.patch
Normal file
|
@ -0,0 +1,29 @@
|
|||
https://patch-diff.githubusercontent.com/raw/J-Lentz/iwgtk/pull/14.patch
|
||||
|
||||
--- Makefile.orig
|
||||
+++ 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 $<
|
14
srcpkgs/iwgtk/template
Normal file
14
srcpkgs/iwgtk/template
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Template file for 'iwgtk'
|
||||
pkgname=iwgtk
|
||||
version=0.4
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="glib-devel pkg-config"
|
||||
makedepends="gtk+3-devel"
|
||||
depends="iwd"
|
||||
short_desc="GUI WiFi management utility to control iwd"
|
||||
maintainer="caughtquick <me@caughtquick.tech>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/J-Lentz/iwgtk/"
|
||||
distfiles="https://github.com/J-Lentz/iwgtk/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=71bb85546a55bf710052d4947f6be5f5a01033d04d2d14a85a7e734dd570657d
|
Loading…
Reference in a new issue