hardinfo: drop libsoup dependency

It is there for hardware db update over network,
which is not working anymore
This commit is contained in:
Đoàn Trần Công Danh 2024-04-19 20:58:32 +07:00
parent ab7add0e0f
commit feb07b9f0f

View file

@ -1,10 +1,11 @@
# Template file for 'hardinfo'
pkgname=hardinfo
version=0.5.1
revision=13
build_style=gnu-configure
revision=14
build_style=configure
configure_args="--prefix=/usr"
hostmakedepends="pkg-config which"
makedepends="gtk+-devel libsoup-devel desktop-file-utils"
makedepends="gtk+-devel desktop-file-utils"
depends="desktop-file-utils"
short_desc="System information and benchmark tool"
maintainer="Orphaned <orphan@voidlinux.org>"
@ -23,6 +24,7 @@ post_patch() {
vsed -i -e "s|^CC =.*|CC = $CC|" \
-e "s|^CCSLOW =.*|CCSLOW = $CC -O0|" \
-e "s|-o hardinfo|$LDFLAGS &|" \
-e '1i GTK_LIBS += -lgmodule-2.0 -lm' \
Makefile.in
vsed -i -e "s|^LIBDIR=.*|LIBDIR=/usr/lib${XBPS_TARGET_WORDSIZE}|" \
-e "s|^PROC=.*|PROC=$_arch|" \