void-packages/srcpkgs/gogglesmm/template

31 lines
1.2 KiB
Bash

# Template file for 'gogglesmm'
pkgname=gogglesmm
version=1.2.2
revision=1
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 openssl-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="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://gogglesmm.github.io/"
changelog="https://raw.githubusercontent.com/gogglesmm/gogglesmm/master/ChangeLog"
distfiles="https://github.com/gogglesmm/gogglesmm/archive/${version}.tar.gz"
checksum=e9d576584ea48346cd3b577967ccb40bf67113b91e8252d62052be3725b9d9fa
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