pmaports/device/testing/device-samsung-klte/APKBUILD

56 lines
1.4 KiB
Text
Raw Normal View History

2018-06-28 22:03:50 +00:00
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-klte
pkgdesc="Samsung Galaxy S5 (G900F)"
pkgver=6
pkgrel=3
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-msm8974
lk2nd-msm8974
mkbootimg
postmarketos-base
swclock-offset
"
makedepends="devicepkg-dev"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
"
source="
bt-module-deps.conf
deviceinfo
modules-initfs
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="GPU, Wi-Fi, Bluetooth firmware"
depends="
firmware-qcom-adreno-a330
firmware-samsung-klte-bt
firmware-samsung-klte-wifi
msm-firmware-loader
msm-modem
"
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
d872a8ef8b034a09506257cf31ed2009f271f78115a55a901989652bbad0a380f4fa369d37c47a9e84ab1628f0af9397375e875c2a32ab10f582050745b4e1ad deviceinfo
0e123f1ce1255395addf08218c7ca7947c7dbd0a81f578ff1c96c53c51bb2c616cd50b390fa92f6fc67ed9c73957f8dd8390213df1520e2d97b9ff256ddbb954 modules-initfs
"