2018-06-28 22:03:50 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-samsung-klte
|
2021-06-26 23:49:18 +00:00
|
|
|
pkgdesc="Samsung Galaxy S5 (G900F)"
|
2022-03-03 15:50:53 +00:00
|
|
|
pkgver=4
|
|
|
|
pkgrel=0
|
2018-02-02 19:59:14 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2019-03-11 08:41:05 +00:00
|
|
|
arch="armv7"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2020-11-21 00:35:40 +00:00
|
|
|
depends="
|
2021-06-26 23:49:18 +00:00
|
|
|
linux-postmarketos-qcom-msm8974
|
|
|
|
mesa-dri-gallium
|
2020-11-21 00:35:40 +00:00
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
2021-06-26 23:49:18 +00:00
|
|
|
swclock-offset
|
|
|
|
"
|
2018-02-02 19:59:14 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2018-05-13 19:47:32 +00:00
|
|
|
subpackages="
|
2019-04-19 12:40:44 +00:00
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
2019-06-02 02:49:02 +00:00
|
|
|
"
|
|
|
|
source="
|
2021-03-17 01:10:15 +00:00
|
|
|
bt-module-deps.conf
|
2019-06-02 02:49:02 +00:00
|
|
|
deviceinfo
|
2018-05-13 19:47:32 +00:00
|
|
|
"
|
2018-02-02 19:59:14 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2019-04-19 12:40:44 +00:00
|
|
|
nonfree_firmware() {
|
2021-06-26 23:49:18 +00:00
|
|
|
pkgdesc="GPU, Wi-Fi, Bluetooth firmware"
|
2021-07-07 08:48:49 +00:00
|
|
|
depends="
|
2021-10-23 08:08:54 +00:00
|
|
|
firmware-qcom-adreno-a330
|
2021-07-07 08:48:49 +00:00
|
|
|
firmware-samsung-klte-bt
|
|
|
|
firmware-samsung-klte-wifi
|
2021-09-23 18:27:32 +00:00
|
|
|
msm-firmware-loader
|
2021-09-14 08:58:40 +00:00
|
|
|
msm-modem
|
2021-07-07 08:48:49 +00:00
|
|
|
"
|
|
|
|
|
2020-03-29 18:04:28 +00:00
|
|
|
mkdir "$subpkgdir"
|
2021-03-17 01:10:15 +00:00
|
|
|
# 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
|
2020-03-29 18:04:28 +00:00
|
|
|
}
|
|
|
|
|
2021-06-26 23:49:18 +00:00
|
|
|
sha512sums="
|
2021-03-17 01:10:15 +00:00
|
|
|
6cef5f8ae1785ac16e6fe84bfc861ac50cdfb94db35d764f44a25c960e123cb82f6e56f45362a5340c62a3d5ac225f2689afd4f6964cb88305a0892ba44214f0 bt-module-deps.conf
|
2021-09-01 02:01:58 +00:00
|
|
|
ddbf2140fdc4b3c50a78a5c946d2bec75debec68a89bfac6e1ad7b112af7c38e916ac056dbe69e266c229e3543427471375d3f5f362dcf35765e86a6bc0f4024 deviceinfo
|
2021-06-26 23:49:18 +00:00
|
|
|
"
|