void-packages/srcpkgs/kwave/template

31 lines
1.4 KiB
Bash

# Template file for 'kwave'
pkgname=kwave
version=22.12.1
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=e3fddf477a0b5d1736f0edf939a0204ca6c10c8b2cf922182aac1eee60f67433
post_patch() {
vsed -i doc/CMakeLists.txt -i cmake/KwaveHandbook.cmake \
-e '/${KDOCTOOLS_MEINPROC_EXECUTABLE}/d' \
-e 's/${MEINPROC_EXECUTABLE}/meinproc5/'
}