mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 12:54:32 +02:00
72 lines
2.5 KiB
Text
72 lines
2.5 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Marco Schröder <marco.schroeder96@gmail.com>
|
|
pkgname=amazfish
|
|
pkgver=2.5.0
|
|
pkgrel=1
|
|
_commit_qble="8994af4aa82617b98cd4b63518441a2596652b2b"
|
|
_commit_libwatchfish="d5e4bf96f880757b617bb605fd6ddb4e2cf88a22"
|
|
pkgdesc="Companion application for Huami Devices (such as Amazfit Bip, Cor, MiBand2/3 and GTS and GTS) and the Pinetime Infinitime"
|
|
url="https://github.com/piggz/harbour-amazfish"
|
|
# armhf blocked by kdb
|
|
arch="all !armhf"
|
|
license="GPL-3.0-or-later"
|
|
depends="
|
|
bluez
|
|
bluez-qt
|
|
kdb-sqlite
|
|
kirigami2
|
|
nemo-qml-plugin-dbus
|
|
qt5-qtconnectivity
|
|
qt5-qtquickcontrols
|
|
"
|
|
makedepends="
|
|
icu-dev
|
|
karchive5-dev
|
|
kdb-dev
|
|
qt5-qtbase-dev
|
|
qt5-qtconnectivity-dev
|
|
qt5-qtlocation-dev
|
|
qt5-qttools-dev
|
|
qtmpris-dev
|
|
"
|
|
source="https://github.com/piggz/harbour-amazfish/archive/$pkgver/harbour-amazfish-$pkgver.tar.gz
|
|
https://github.com/piggz/qble/archive/$_commit_qble/qble-$_commit_qble.tar.gz
|
|
https://github.com/piggz/libwatchfish/archive/$_commit_libwatchfish/libwatchfish-$_commit_libwatchfish.tar.gz
|
|
amazfish-launcher.sh
|
|
amazfish.desktop
|
|
"
|
|
options="!check" # No tests
|
|
builddir="$srcdir/harbour-amazfish-$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
rmdir qble daemon/libwatchfish
|
|
mv "$srcdir/qble-$_commit_qble" qble
|
|
mv "$srcdir/libwatchfish-$_commit_libwatchfish" daemon/libwatchfish
|
|
}
|
|
|
|
build() {
|
|
qmake-qt5 \
|
|
PREFIX=/usr \
|
|
FLAVOR=kirigami
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
|
|
install -Dm644 "$srcdir"/amazfish.desktop -t "$pkgdir"/etc/xdg/autostart/
|
|
install -Dm755 "$srcdir"/amazfish-launcher.sh "$pkgdir"/usr/libexec/amazfish-launcher
|
|
|
|
# We don't ship systemd
|
|
rm -r "$pkgdir"/usr/lib/systemd
|
|
}
|
|
|
|
sha512sums="
|
|
2a2253b10b8bd5c147a71daf7f50ce33c6c1d2621453b9eb2e9331134865f664055159dd9b5c5d5190d3fd6f65874f515ac72d7ac5aeec10be1a4ea79e9614de harbour-amazfish-2.5.0.tar.gz
|
|
5292f296270b22cf82928ed74ebcc9f8f7ac4b7e51f5079f4fc681510a8aa9100689968f7db2739d6b0b9155c45708fc3b1a13a59ea336207556dab70a51e67c qble-8994af4aa82617b98cd4b63518441a2596652b2b.tar.gz
|
|
3bc025b2aa2e75a07188b0135a965054648bc147abc90da48269d7e8bdcacd78160d89baaf01bedd5429575ca89a08f12b78b27137146014bd40e855848be9b9 libwatchfish-d5e4bf96f880757b617bb605fd6ddb4e2cf88a22.tar.gz
|
|
a17c0d6578e0d6878099f9c913e54100c44dbb94cf8803f2780d5709ec08136daa832ec2ffe947fb8a91e02320f01041d0e763bcc08350270af36d89f767ca14 amazfish-launcher.sh
|
|
930f2cae5f88559a83dd46d11d2161a9239efdd46ad6b91dc530eb4a7863f197a7865f9599973b71bcc7d1e2346c848ea7b9a57f5b714560d101b0f384c0f4d1 amazfish.desktop
|
|
"
|