aports/testing/copyq/APKBUILD
ptrcnull aa604b6a58 testing/copyq: rebuild against new Qt(?)
Error relocating /usr/bin/copyq: _ZN10QTableView9dropEventEP10QDropEvent: symbol not found
Error relocating /usr/bin/copyq: _ZN9QtPrivate54hasRegisteredMutableViewFunctionToIterableMetaSequenceE9QMetaType: symbol not found
et al.
2024-12-12 18:42:39 +01:00

43 lines
1.1 KiB
Text

# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=copyq
_pkgname=CopyQ
pkgver=9.1.0
pkgrel=1
pkgdesc="Clipboard manager with searchable and editable history"
url="https://github.com/hluk/CopyQ"
arch="all !armhf"
license="GPL-3.0-or-later"
makedepends="
cmake
extra-cmake-modules
knotifications-dev
kstatusnotifieritem-dev
libxfixes-dev
libxtst-dev
qt6-qtsvg-dev
qt6-qttools-dev
qt6-qtwayland-dev
samurai
"
options="!check" # upstream does not provide check
subpackages="$pkgname-doc $pkgname-bash-completion"
source="$pkgname-$pkgver.tar.gz::https://github.com/hluk/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_QT6=ON
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
d87964b876de28be860a17490d9816f5224a25565f84916ee4ca39f83d2e7c5d57dafdf9f54667c43fd93d232e1e1f1f32064e6435aad6abab086398e6ae246d copyq-9.1.0.tar.gz
"