mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-28 00:42:25 +01:00
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-applications
|
|
maintainer="team/kde <bribbers@disroot.org>"
|
|
pkgname=libkcompactdisc
|
|
pkgver=24.12.2
|
|
pkgrel=0
|
|
# armhf blocked by extra-cmake-modules
|
|
arch="all !armhf"
|
|
url="https://www.kde.org/applications/multimedia/"
|
|
pkgdesc="Library for interfacing with CDs"
|
|
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
kcoreaddons-dev
|
|
ki18n-dev
|
|
phonon-dev
|
|
qt6-qtbase-dev
|
|
samurai
|
|
solid-dev
|
|
"
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
_repo_url="https://invent.kde.org/multimedia/libkcompactdisc.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/libkcompactdisc-$pkgver.tar.xz"
|
|
options="!check" # No usable tests
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DBUILD_WITH_QT6=ON \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
ctest --test-dir build --output-on-failure
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
17f9d3865c34b8c9fba6e81454303430493b89b1430301c9992e4e5b4ed7ea14f7edf47a8bb9207e26a78abef2238cc8beb0a2c815d7d4394b65561d6c93211c libkcompactdisc-24.12.2.tar.xz
|
|
"
|