2021-11-26 07:04:37 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-hlte
|
|
|
|
pkgdesc="Samsung Galaxy Note 3"
|
2022-10-05 15:48:28 +00:00
|
|
|
pkgver=2
|
|
|
|
pkgrel=0
|
2021-11-26 07:04:37 +00:00
|
|
|
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-qcom-adreno-a330
|
|
|
|
firmware-samsung-hlte-bt
|
|
|
|
firmware-samsung-hlte-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
|
2022-10-05 15:48:28 +00:00
|
|
|
db18eaa446dac811c0a471d95ddf6adb8469342c0456720ff66788a3782fcaf2fe349138e5f7ef99f891d5c4874d60448b4101d23948060bee1427280e6e249d deviceinfo
|
2021-11-26 07:04:37 +00:00
|
|
|
"
|