2022-06-06 08:35:47 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-cprime
|
|
|
|
pkgdesc="Samsung Galaxy Core Prime"
|
|
|
|
pkgver=1
|
2023-08-02 17:06:01 +00:00
|
|
|
pkgrel=1
|
2022-06-06 08:35:47 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
postmarketos-base
|
|
|
|
mkbootimg
|
|
|
|
linux-postmarketos-qcom-msm8916
|
|
|
|
soc-qcom-msm8916
|
|
|
|
soc-qcom-msm8916-rproc
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2022-06-06 08:35:47 +00:00
|
|
|
phoc.ini
|
|
|
|
"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-phosh
|
|
|
|
"
|
|
|
|
_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-a300 msm-firmware-loader firmware-samsung-cprime-wcnss-nv"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname postmarketos-ui-phosh"
|
|
|
|
install -Dm644 "$srcdir"/phoc.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-08-02 17:06:01 +00:00
|
|
|
ff7adbba50b2c57f3fa7f94e1f84dd7f43d31a1e37a263dbaf01034bede9abd234203297748b082850a88402eda7bd6f91bd31819fd7200a2781d1f19af58896 deviceinfo
|
|
|
|
3a4fa08725a49cfacbdab434d1c1d82f1f51250551c4e12563eb193714d6e27a127ea94f369d6ad9a25c04e739dbc272bcbdfbb0fc9d93247dfff5a3fbc36975 modules-initfs
|
2022-06-06 08:35:47 +00:00
|
|
|
9793dfd1ea066fbadeca874401a0c7c9b735b98054ccfbafa0b8d99e47ef78e28c971c544905ae556da50b55037e6970ab79be2e0a28672d9acb6f9d7d77093b phoc.ini
|
|
|
|
"
|