void-packages/srcpkgs/flacon/template
2021-05-24 19:20:29 -03:00

27 lines
864 B
Bash

# Template file for 'flacon'
pkgname=flacon
version=7.0.1
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="qt5-tools-devel uchardet-devel"
depends="ffmpeg hicolor-icon-theme"
short_desc="Audio File Encoder. Splits audio tracks into separate tracks"
maintainer="travankor <travankor@tuta.io>"
license="LGPL-2.1-or-later"
homepage="https://flacon.github.io/"
changelog="https://flacon.github.io/changelog/"
distfiles="https://github.com/Flacon/flacon/archive/v${version}.tar.gz"
checksum=f63b959099e7b97b02a7f9ccf2c922a99de6c0d1ec83e74c436fd10e41630b6e
post_extract() {
# no support for 64-bit atomics on these platforms in qt
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
vsed -i 's/QAtomicInteger<quint64>/QAtomicInteger<quint32>/' \
converter/splitter.cpp
fi
}
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake"
fi