summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7aca0c491b1ff230804b3faf86c90aaa12065d17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
pkgname=easyaudiosync
pkgver=1.1.2
pkgrel=1
epoch=0
pkgdesc="Audio library syncing and conversion utility"
arch=(x86_64)
url="https://github.com/complexlogic/EasyAudioSync"
license=(Unlicense)
depends=(qt6-base libavcodec.so libavformat.so libswresample.so libavfilter.so libavutil.so taglib spdlog fmt)
makedepends=(cmake qt6-tools)
provides=(easyaudiosync)
source=(
  https://github.com/complexlogic/EasyAudioSync/releases/download/v${pkgver}/easyaudiosync-${pkgver}-source.tar.xz
)
sha256sums=(
  134a53d8a46c09f9f4744bcbe6f15cf07a01fd4081091fe3bf8a280a871401f5
)

build() {
    cmake -B build -S "${pkgname}-${pkgver}" \
        -DCMAKE_INSTALL_PREFIX="/usr" \
        -DCMAKE_CXX_FLAGS="$CXXFLAGS -DNDEBUG" \
        -DQT_VERSION=6
    cmake --build build
}

package() {
    DESTDIR="$pkgdir" cmake --install build
}