27 lines
864 B
Bash
27 lines
864 B
Bash
# Template file for 'flacon'
|
|
pkgname=flacon
|
|
version=6.0.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=3c073ad29cc91601b9ecd66058b644ed2b1c12f3c0a96cbaa9e0167baf7acf75
|
|
|
|
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
|