void-packages/srcpkgs/kwave/template

31 lines
1.3 KiB
Bash

# Template file for 'kwave'
pkgname=kwave
version=23.04.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules gettext kconfig kcoreaddons kdoctools
librsvg-utils pkg-config python3 qt5-host-tools qt5-qmake"
makedepends="alsa-lib-devel appstream-glib-devel audiofile-devel doxygen
fftw-devel id3lib-devel ImageMagick karchive-devel kcompletion-devel
kconfig-devel kconfigwidgets-devel kcoreaddons-devel kcrash-devel
kdbusaddons-devel kdoctools-devel ki18n-devel kiconthemes-devel kio-devel
kservice-devel ktexteditor-devel ktextwidgets-devel kxmlgui-devel libmad-devel
libogg-devel librsvg-devel libsamplerate-devel libvorbis-devel opus-devel
pulseaudio-devel qt5-multimedia-devel samurai"
depends="audiofile fftw hicolor-icon-theme id3lib lame libmad libsamplerate
opus twolame"
checkdepends="xvfb-run"
short_desc="Sound editor for KDE"
maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
license="GPL-2.0-or-later"
homepage="https://apps.kde.org/kwave"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#kwave"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=88332d0fce6152ac7ac8f1e3f6c655449d361d179e232a6796776c31a08ad330
post_patch() {
vsed -i doc/CMakeLists.txt -i cmake/KwaveHandbook.cmake \
-e '/${KDOCTOOLS_MEINPROC_EXECUTABLE}/d' \
-e 's/${MEINPROC_EXECUTABLE}/meinproc5/'
}