27 lines
864 B
Bash
27 lines
864 B
Bash
# Template file for 'flacon'
|
|
pkgname=flacon
|
|
version=6.1.0
|
|
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=b6af83ed30697ed82369d3eefaf8fcceabea69fc86a1d6d1a5594cc5768bad7b
|
|
|
|
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
|