# Template file for 'gnubg' pkgname=gnubg version=1.06.001 revision=1 build_style=gnu-configure configure_args="--disable-cputest ax_cv_gcc_x86_cpuid_0x00000001=0" if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then configure_args+=" --enable-simd=sse2" fi hostmakedepends="pkg-config python-devel gdk-pixbuf-devel" if [ "$CROSS_BUILD" ]; then hostmakedepends+=" ${pkgname}" fi makedepends="libcurl-devel libglib-devel gtk+-devel gtkglext-devel python-devel libcanberra-devel readline-devel readline sqlite-devel" short_desc="GNU Backgammon game" maintainer="Leah Neukirchen " license="GPL-3" homepage="http://www.gnubg.org" distfiles="http://www.gnubg.org/media/sources/$pkgname-release-$version-sources.tar.gz" checksum=eb70460ec5e03fca20e0711f76334d5d68519fa04ba0474f9445e4bd821cdf6a LDFLAGS="-Wl,--no-as-needed -lm -lreadline" case "$XBPS_TARGET_MACHINE" in arm*) broken="https://build.voidlinux.eu/builders/armv7l_builder/builds/6536/steps/shell_3/logs/stdio" ;; esac pre_configure() { if [ "$CROSS_BUILD" ]; then makeweights < gnubg.weights > gnubg.wd makebearoff -o 6 -s 7999999 -f gnubg_os0.bd makebearoff -t 6x6 -f gnubg_ts0.bd fi }