pmaports/device/testing/device-samsung-klte/APKBUILD
Alexey Minnekhanov e67fca2b12
device-samsung-klte: remove downstream port (MR 2279)
* cleanup, remove unused files
* depend on swclock-offset

[ci:skip-build] Already built on CI in MR
2021-06-27 18:33:23 +03:00

46 lines
1.2 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-klte
pkgdesc="Samsung Galaxy S5 (G900F)"
pkgver=0.5
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-msm8974
mesa-dri-gallium
mkbootimg
postmarketos-base
swclock-offset
"
makedepends="devicepkg-dev"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
"
source="
bt-module-deps.conf
deviceinfo
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="GPU, Wi-Fi, Bluetooth firmware"
depends="firmware-adreno firmware-samsung-klte-bt firmware-samsung-klte-wifi"
mkdir "$subpkgdir"
# This config makes sense only if non-free firmware is installed
install -Dm644 "$srcdir"/bt-module-deps.conf \
"$subpkgdir"/etc/modprobe.d/bt-module-deps.conf
}
sha512sums="
6cef5f8ae1785ac16e6fe84bfc861ac50cdfb94db35d764f44a25c960e123cb82f6e56f45362a5340c62a3d5ac225f2689afd4f6964cb88305a0892ba44214f0 bt-module-deps.conf
960a429cce47bf53f578fef6a52066cab2f35649284c925fc18de8c7f31f4215fd315a96b216b6194afcbd94a14c758490d9da3e26f0a47c37811b47450f664e deviceinfo
"