void-packages/srcpkgs/kwave/template

31 lines
1.3 KiB
Bash

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