void-packages/srcpkgs/gogglesmm/template

29 lines
1.1 KiB
Bash

# Template file for 'gogglesmm'
pkgname=gogglesmm
version=1.2.1
revision=3
archs="x86_64* i686* aarch64* armv7* ppc64*"
build_style=cmake
hostmakedepends="pkg-config desktop-file-utils"
makedepends="libepoxy-devel glu-devel libSM-devel libXcursor-devel libXrandr-devel libXi-devel libXft-devel
libwebp-devel libjpeg-turbo-devel libpng-devel libressl-devel libvorbis-devel libogg-devel libflac-devel
faad2-devel opus-devel taglib-devel sqlite-devel dbus-devel alsa-lib-devel pulseaudio-devel"
depends="hicolor-icon-theme"
short_desc="Music Manager and Player"
maintainer="Jarbowski <jarbowski@cock.lu>"
license="GPL-3.0-or-later"
homepage="http://gogglesmm.github.io/"
distfiles="https://github.com/gogglesmm/gogglesmm/archive/${version}.tar.gz"
checksum=f068667e0a825ac792eda344cbe94c29fe8668ddbdd269c094e5bf168acd2380
nocross="Tries to execute compiled code"
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="PTHREAD_RWLOCK_PREFER_WRITER_NP usage" ;;
esac
# this plugin has little endian only code
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
configure_args+=" -DWITH_MAD=OFF"
else
makedepends+=" libmad-devel"
fi