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
|
2024-01-16 04:44:29 +00:00
|
|
|
pkgdesc="Samsung Galaxy S5 (G900F/G9006/G9008/G9009W)"
|
|
|
|
pkgver=7
|
|
|
|
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="
|
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
|
2024-01-16 04:44:29 +00:00
|
|
|
$pkgname-kernel-klte:kernel_klte
|
|
|
|
$pkgname-kernel-kltechn:kernel_kltechn
|
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
|
|
|
|
}
|
|
|
|
|
2024-01-16 04:44:29 +00:00
|
|
|
kernel_klte() {
|
|
|
|
pkgdesc="For G900F"
|
|
|
|
depends="linux-postmarketos-qcom-msm8974"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_kltechn() {
|
|
|
|
pkgdesc="For Chinese variants G9006/G9008/G9009W (kltechn)"
|
|
|
|
depends="linux-postmarketos-qcom-msm8974"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
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
|
2024-01-17 05:00:24 +00:00
|
|
|
f61410dcd28dcc4aa720c73c4df2864aae67845ff53dd2165a3cb49aed5f7555372675278879d6ef8acc0529cf2df83a1ae605dd1913f175865d1552288c772b deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
0e123f1ce1255395addf08218c7ca7947c7dbd0a81f578ff1c96c53c51bb2c616cd50b390fa92f6fc67ed9c73957f8dd8390213df1520e2d97b9ff256ddbb954 modules-initfs
|
2021-06-26 23:49:18 +00:00
|
|
|
"
|