mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
gtkimageview: fix cross: upstream simplified build
This commit is contained in:
parent
e786e0067b
commit
2bce21ebe6
2 changed files with 5 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dnote-cli'
|
# Template file for 'dnote-cli'
|
||||||
pkgname=dnote-cli
|
pkgname=dnote-cli
|
||||||
version=0.2.1
|
version=0.3.1
|
||||||
revision=4
|
revision=1
|
||||||
wrksrc=cli-${version}
|
wrksrc=cli-${version}
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/dnote-io/cli"
|
go_import_path="github.com/dnote-io/cli"
|
||||||
|
@ -11,7 +11,7 @@ maintainer="Toyam Cox <Vaelatern@Voidlinux.eu>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://dnote.io/"
|
homepage="https://dnote.io/"
|
||||||
distfiles="https://github.com/dnote-io/cli/archive/v${version}.tar.gz"
|
distfiles="https://github.com/dnote-io/cli/archive/v${version}.tar.gz"
|
||||||
checksum=8a22fd2013f027162caf6482f2f82ec6ad1c7086006fadbcffd4159e1126891d
|
checksum=3a87bf2c622f0f0fd656fa2c0fe9ee9d8ee28a46e8480b708ce7b94d75c2113a
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
|
@ -5,19 +5,16 @@ revision=1
|
||||||
_githash=77abd2122c19d2eca21599404a2d3aece35081e2
|
_githash=77abd2122c19d2eca21599404a2d3aece35081e2
|
||||||
wrksrc="${pkgname}-${_githash}"
|
wrksrc="${pkgname}-${_githash}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_script="./autogen.sh"
|
||||||
maintainer="Orphaned <orphan@voidlinux.eu>"
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
||||||
hostmakedepends="gnome-common pkg-config gtk-doc libtool glib-devel"
|
hostmakedepends="gnome-common pkg-config gtk-doc libtool glib-devel"
|
||||||
makedepends="gtk+-devel"
|
makedepends="gtk+-devel"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
homepage="https://github.com/GNOME/gtkimageview"
|
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"
|
distfiles="https://github.com/GNOME/gtkimageview/archive/${_githash}.tar.gz"
|
||||||
checksum=2d61c9957500e515419b2b3b0d9a3d5efb67a6a8384743926121dcd618a9ef35
|
checksum=2d61c9957500e515419b2b3b0d9a3d5efb67a6a8384743926121dcd618a9ef35
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
./autogen.sh
|
|
||||||
}
|
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -e '/CFLAGS/s/-Werror //g' -i configure.in
|
sed -e '/CFLAGS/s/-Werror //g' -i configure.in
|
||||||
sed '/DEPRECATED_FLAGS/d' -i configure.in
|
sed '/DEPRECATED_FLAGS/d' -i configure.in
|
||||||
|
|
Loading…
Add table
Reference in a new issue