mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-09 23:14:11 +02:00
47 lines
1.2 KiB
Text
47 lines
1.2 KiB
Text
# 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=25.04.0
|
|
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
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
96b796273749e4c11c22be6fb51bd6b44a13097d5f969535389b15a7b64cf07c5048bbe9c6b95f7420bf373197161ec121ea749cce4a0fc7358482666eee18c6 libkcompactdisc-25.04.0.tar.xz
|
|
"
|