gtkimageview: drop gnome-common dependency

This commit is contained in:
Đoàn Trần Công Danh 2023-03-13 20:40:37 +07:00 committed by Đoàn Trần Công Danh
parent d8c10e35d9
commit 7bec4d3b27
1 changed files with 5 additions and 5 deletions

View File

@ -4,8 +4,7 @@ version=1.6.4
revision=3
_githash=77abd2122c19d2eca21599404a2d3aece35081e2
build_style=gnu-configure
configure_script="./autogen.sh"
hostmakedepends="gnome-common pkg-config gtk-doc libtool glib-devel which"
hostmakedepends="pkg-config gtk-doc libtool glib-devel automake"
makedepends="gtk+-devel"
short_desc="Widget that provides a zoomable and panable view of a GdkPixbuf"
maintainer="Orphaned <orphan@voidlinux.org>"
@ -14,9 +13,10 @@ homepage="https://wiki.gnome.org/Projects/GTK/GtkImageView"
distfiles="https://repo-default.voidlinux.org/distfiles/gtkimageview-${_githash}.tar.gz"
checksum=2d61c9957500e515419b2b3b0d9a3d5efb67a6a8384743926121dcd618a9ef35
pre_build() {
vsed -e '/CFLAGS/s/-Werror //g' -i configure.in
vsed '/DEPRECATED_FLAGS/d' -i configure.in
pre_configure() {
vsed -e '/CFLAGS/s/-Werror//g;/DEPRECATED_FLAGS/d;/GNOME_/d;' -i configure.in
autoupdate
autoreconf -fi
}
gtkimageview-devel_package() {