2020-10-07 09:51:22 +00:00
|
|
|
# Maintainer: Minecrell <minecrell@minecrell.net>
|
2018-03-11 15:59:09 +00:00
|
|
|
pkgname=qrtr
|
2024-04-28 16:15:51 +00:00
|
|
|
pkgver=1.1
|
|
|
|
pkgrel=0
|
2018-03-11 15:59:09 +00:00
|
|
|
pkgdesc="Userspace reference for net/qrtr in the Linux kernel"
|
2024-04-28 16:15:51 +00:00
|
|
|
url="https://github.com/linux-msm/qrtr"
|
2018-03-11 15:59:09 +00:00
|
|
|
arch="all"
|
|
|
|
license="BSD-3-Clause"
|
2019-07-17 15:03:58 +00:00
|
|
|
depends_dev="linux-headers"
|
2024-04-28 16:15:51 +00:00
|
|
|
makedepends="$depends_dev meson"
|
|
|
|
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs $pkgname-pmtest"
|
2018-03-11 15:59:09 +00:00
|
|
|
source="
|
2024-04-28 16:15:51 +00:00
|
|
|
qrtr-$pkgver.tar.gz::https://github.com/linux-msm/qrtr/archive/refs/tags/v$pkgver.tar.gz
|
|
|
|
0001-meson-Specify-project-and-library-version.patch
|
2023-09-25 14:44:33 +00:00
|
|
|
lookup-test.files
|
|
|
|
lookup-test.sh
|
2019-07-17 15:03:58 +00:00
|
|
|
"
|
2018-03-11 15:59:09 +00:00
|
|
|
options="!check"
|
|
|
|
|
|
|
|
build() {
|
2024-04-28 16:15:51 +00:00
|
|
|
abuild-meson \
|
|
|
|
-Dqrtr-ns=disabled \
|
|
|
|
-Dsystemd-service=disabled \
|
|
|
|
. output
|
|
|
|
meson compile -C output
|
2018-03-11 15:59:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2024-04-28 16:15:51 +00:00
|
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
2020-03-06 18:48:03 +00:00
|
|
|
|
2018-03-11 15:59:09 +00:00
|
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
|
|
|
}
|
|
|
|
|
2023-09-25 14:44:33 +00:00
|
|
|
pmtest() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-mkinitfs-hook-ci"
|
|
|
|
|
|
|
|
install -Dm755 "$srcdir"/lookup-test.sh \
|
|
|
|
"$subpkgdir"/usr/libexec/pmos-tests-initramfs/10-qrtr-lookup.sh
|
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/lookup-test.files \
|
|
|
|
"$subpkgdir"/usr/share/mkinitfs/files/10-qrtr-lookup.files
|
|
|
|
}
|
|
|
|
|
2022-07-01 16:00:28 +00:00
|
|
|
sha512sums="
|
2024-04-28 16:15:51 +00:00
|
|
|
68cc8731d500b2e7f5702471a3c239f415bd97035678d972d40d28ceb58bcaa1ee271816fd2002776a2d370611fc9e5e54a79d1a16ce2bce258b9411d9aec824 qrtr-1.1.tar.gz
|
|
|
|
9209bdc7d06bc231f191230b88bbb666edee82ad03da95bcc00d29ac47144f89f0430f5c649820f6cece4edcdb1991d1bfb94a5d59bb12ca415968797e956c76 0001-meson-Specify-project-and-library-version.patch
|
2023-09-25 14:44:33 +00:00
|
|
|
00b26c284b2765ddc46cf4b9eb4013e09ae96dfa4a9ac1c49f608a735579bbb442cda2a116417131c5dec234aca224bac824a2167f280990a04c90bc3065a51d lookup-test.files
|
|
|
|
6daecca1be580176cc275a07e87086151fe2426a4f032264a305a5deb49d888acd29e05e6efbabb1693cd5ebdfb62a7543138d2149c9a1154d1451b3d854dfdc lookup-test.sh
|
2022-07-01 16:00:28 +00:00
|
|
|
"
|