39 lines
1.6 KiB
Bash
39 lines
1.6 KiB
Bash
# Template file for 'kwave'
|
|
pkgname=kwave
|
|
version=24.08.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=c3aae51974a9143bb37c509cc123c00424cc51735dc12b015430f0839bf844da
|
|
|
|
post_patch() {
|
|
vsed -i doc/CMakeLists.txt -i cmake/KwaveHandbook.cmake \
|
|
-e '/${KDOCTOOLS_MEINPROC_EXECUTABLE}/d' \
|
|
-e 's/${MEINPROC_EXECUTABLE}/meinproc5/'
|
|
}
|
|
|
|
post_install() {
|
|
# svgz files are not loading as icons, svg files works
|
|
for f in "${DESTDIR}"/usr/share/icons/hicolor/scalable/{actions,apps}/*.svgz; do
|
|
mv "$f" "${f%z}.gz"
|
|
gzip -d "${f%z}.gz"
|
|
done
|
|
}
|