2021-12-20 21:34:29 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-a7
|
|
|
|
pkgdesc="Samsung Galaxy A7 (2015)"
|
2022-11-17 20:03:57 +00:00
|
|
|
pkgver=5
|
|
|
|
pkgrel=0
|
2021-12-20 21:34:29 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
2022-11-17 20:03:57 +00:00
|
|
|
linux-postmarketos-qcom-msm8916
|
2021-12-20 21:34:29 +00:00
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
2022-09-25 07:53:02 +00:00
|
|
|
soc-qcom-msm8939
|
2021-12-20 21:34:29 +00:00
|
|
|
soc-qcom-msm8916-rproc
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
2022-04-03 09:04:48 +00:00
|
|
|
phoc.ini
|
2021-12-20 21:34:29 +00:00
|
|
|
"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
2022-05-05 14:50:55 +00:00
|
|
|
$pkgname-phosh
|
2021-12-20 21:34:29 +00:00
|
|
|
"
|
|
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
|
|
|
depends="firmware-qcom-adreno-a420 msm-firmware-loader firmware-samsung-a7-wcnss-nv"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2022-02-12 21:28:38 +00:00
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname postmarketos-ui-phosh"
|
2022-04-03 09:04:48 +00:00
|
|
|
install -Dm644 "$srcdir"/phoc.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
2022-02-12 21:28:38 +00:00
|
|
|
}
|
|
|
|
|
2021-12-20 21:34:29 +00:00
|
|
|
sha512sums="
|
2022-09-27 08:07:17 +00:00
|
|
|
4688739fe0a163b1b02e545a83fcca50ed5f3d3a42e3751a0dde7eea477a5f433fa6e765f607796020c2ada2704cc636ee96927f89813e71fbb8d5da4a2f0af3 deviceinfo
|
2022-05-05 14:50:55 +00:00
|
|
|
25d2518d66e612df1f218e00544a282fa730dfe801bb0f8a7c928eb1a54aa9e5a167bd76fb00358c87dd8fd86564303c956c8a7460ab27e7eb96e44e80beb919 phoc.ini
|
2021-12-20 21:34:29 +00:00
|
|
|
"
|