54 lines
1.0 KiB
Bash
54 lines
1.0 KiB
Bash
name='solid'
|
|
version='6.7.0'
|
|
release='3'
|
|
desc='Hardware integration and detection.'
|
|
homepage='https://community.kde.org/Frameworks'
|
|
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
|
architectures=('amd64')
|
|
license=('LGPL-2.0-only' 'LGPL-3.0-only')
|
|
|
|
deps=(
|
|
'libgcc'
|
|
'glibc'
|
|
'libimobiledevice'
|
|
'libplist'
|
|
'media-player-info'
|
|
'qt6-qtbase'
|
|
'systemd-libs'
|
|
'udisks2'
|
|
'upower'
|
|
'util-linux'
|
|
)
|
|
build_deps=(
|
|
'doxygen'
|
|
'extra-cmake-modules'
|
|
'qt6-qtdeclarative'
|
|
'qt6-doctools'
|
|
'qt6-qttools-devel'
|
|
)
|
|
opt_deps=(
|
|
'qt6-qtdeclarative: ktranscript plugin and QML bindings'
|
|
)
|
|
|
|
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
|
|
checksums=('SKIP')
|
|
|
|
prepare() {
|
|
cd $name-$version
|
|
patch -p1 < $scriptdir/wrong_argument_qchar.diff
|
|
}
|
|
|
|
build() {
|
|
cmake -B build -S $name-$version \
|
|
-DBUILD_TESTING=OFF \
|
|
-DBUILD_QCH=ON
|
|
cmake --build build -j$(($(nproc) - 1))
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
|
|
|