mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
flacon: update to 12.0.0, switch to qt6
This commit is contained in:
parent
457620c821
commit
a6a3a55f9e
1 changed files with 11 additions and 7 deletions
|
@ -1,10 +1,11 @@
|
||||||
# Template file for 'flacon'
|
# Template file for 'flacon'
|
||||||
pkgname=flacon
|
pkgname=flacon
|
||||||
version=9.0.0
|
version=12.0.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config"
|
configure_args="-DUSE_QT6=ON -DUSE_QT5=OFF"
|
||||||
makedepends="qt5-tools-devel uchardet-devel taglib-devel"
|
hostmakedepends="pkg-config qt6-tools qt6-base"
|
||||||
|
makedepends="qt6-tools-devel qt6-widgets uchardet-devel taglib-devel"
|
||||||
depends="ffmpeg hicolor-icon-theme"
|
depends="ffmpeg hicolor-icon-theme"
|
||||||
short_desc="Audio File Encoder. Splits audio tracks into separate tracks"
|
short_desc="Audio File Encoder. Splits audio tracks into separate tracks"
|
||||||
maintainer="travankor <travankor@tuta.io>"
|
maintainer="travankor <travankor@tuta.io>"
|
||||||
|
@ -12,11 +13,14 @@ license="LGPL-2.1-or-later"
|
||||||
homepage="https://flacon.github.io/"
|
homepage="https://flacon.github.io/"
|
||||||
changelog="https://flacon.github.io/changelog/"
|
changelog="https://flacon.github.io/changelog/"
|
||||||
distfiles="https://github.com/Flacon/flacon/archive/v${version}.tar.gz"
|
distfiles="https://github.com/Flacon/flacon/archive/v${version}.tar.gz"
|
||||||
checksum=a83d5fe297ceb6408b7f63c56a6be336fe1c6d06ebedcc0c84a3f7dd234140e4
|
checksum=78199ff925b7cd0ffeb628d47909ca4172f8ff0d8fd8192bb537e0c012e6f4c6
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
post_configure() {
|
||||||
hostmakedepends+=" qt5-host-tools qt5-qmake"
|
if [ "$CROSS_BUILD" ]; then
|
||||||
fi
|
# use host lrelease instead of target binary which breaks compilation
|
||||||
|
vsed -i build/build.ninja -e "s|${XBPS_CROSS_BASE}/usr/lib.*/qt6/bin/lrelease|/usr/lib/qt6/bin/lrelease|g"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vdoc "${FILESDIR}/README.voidlinux"
|
vdoc "${FILESDIR}/README.voidlinux"
|
||||||
|
|
Loading…
Add table
Reference in a new issue