void-packages/srcpkgs/ahoviewer/template

37 lines
1.1 KiB
Bash

# Template file for 'ahoviewer'
pkgname=ahoviewer
version=1.6.5
revision=1
build_style=gnu-configure
configure_args="--enable-libsecret --enable-gst --enable-zip"
hostmakedepends="automake pkg-config libcurl-devel"
makedepends="gtkmm2-devel glibmm-devel libconfig++-devel libcurl-devel
libxml2-devel libzip-devel libsecret-devel gstreamer1-devel
gst-plugins-bad1-devel wayland-devel"
depends="gst-plugins-bad1 gst-plugins-good1"
short_desc="GTK2 image viewer, manga reader, and booru browser"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="MIT"
homepage="https://github.com/ahodesuka/ahoviewer"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=a14e32b4a8095c9f8b4b607c090a50cc8ac1076550e57b5a9303c54089068152
nocross="https://travis-ci.org/void-linux/void-packages/jobs/490108528#L1022"
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
post_patch() {
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
echo "ahoviewer_LDADD += -latomic" >> src/Makefile.am
fi
}
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense LICENSE
}