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-10-04 20:34:45 +00:00
|
|
|
pkgver=6
|
2024-01-21 22:56:08 +00:00
|
|
|
pkgrel=4
|
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
|
2022-03-29 17:18:19 +00:00
|
|
|
lk2nd-msm8974
|
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
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
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
|
2023-08-02 17:06:01 +00:00
|
|
|
d872a8ef8b034a09506257cf31ed2009f271f78115a55a901989652bbad0a380f4fa369d37c47a9e84ab1628f0af9397375e875c2a32ab10f582050745b4e1ad deviceinfo
|
|
|
|
0e123f1ce1255395addf08218c7ca7947c7dbd0a81f578ff1c96c53c51bb2c616cd50b390fa92f6fc67ed9c73957f8dd8390213df1520e2d97b9ff256ddbb954 modules-initfs
|
2021-06-26 23:49:18 +00:00
|
|
|
"
|