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
|
|
|
|
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
|
2022-03-29 17:18:19 +00:00
|
|
|
lk2nd-msm8974
|
2021-06-26 23:49:18 +00:00
|
|
|
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
|
2022-10-04 20:34:45 +00:00
|
|
|
a154abce697d51b62266a0bb76cc9d3dcb94ab055ba2aacb3823370796f597c0fcc91bd46fe4f36cde24410b5873814e594b69c00f9a51d12a217a2b75dfc61b deviceinfo
|
2021-06-26 23:49:18 +00:00
|
|
|
"
|