gtkimageview: fix cross: upstream simplified build

This commit is contained in:
Toyam Cox 2018-07-24 21:26:53 -04:00
parent e786e0067b
commit 2bce21ebe6
2 changed files with 5 additions and 8 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'dnote-cli'
pkgname=dnote-cli
version=0.2.1
revision=4
version=0.3.1
revision=1
wrksrc=cli-${version}
build_style=go
go_import_path="github.com/dnote-io/cli"
@ -11,7 +11,7 @@ maintainer="Toyam Cox <Vaelatern@Voidlinux.eu>"
license="MIT"
homepage="https://dnote.io/"
distfiles="https://github.com/dnote-io/cli/archive/v${version}.tar.gz"
checksum=8a22fd2013f027162caf6482f2f82ec6ad1c7086006fadbcffd4159e1126891d
checksum=3a87bf2c622f0f0fd656fa2c0fe9ee9d8ee28a46e8480b708ce7b94d75c2113a
post_install() {
vlicense LICENSE

View File

@ -5,19 +5,16 @@ revision=1
_githash=77abd2122c19d2eca21599404a2d3aece35081e2
wrksrc="${pkgname}-${_githash}"
build_style=gnu-configure
configure_script="./autogen.sh"
maintainer="Orphaned <orphan@voidlinux.eu>"
hostmakedepends="gnome-common pkg-config gtk-doc libtool glib-devel"
makedepends="gtk+-devel"
license="LGPL-2.1"
homepage="https://github.com/GNOME/gtkimageview"
short_desc="A widget that provides a zoomable and panable view of a GdkPixbuf"
short_desc="Widget that provides a zoomable and panable view of a GdkPixbuf"
distfiles="https://github.com/GNOME/gtkimageview/archive/${_githash}.tar.gz"
checksum=2d61c9957500e515419b2b3b0d9a3d5efb67a6a8384743926121dcd618a9ef35
pre_configure() {
./autogen.sh
}
pre_build() {
sed -e '/CFLAGS/s/-Werror //g' -i configure.in
sed '/DEPRECATED_FLAGS/d' -i configure.in