2020-12-21 20:15:35 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-coreprimevelte
|
|
|
|
pkgdesc="Samsung Galaxy Core Prime LTE"
|
2023-10-01 11:07:00 +00:00
|
|
|
pkgver=0.2
|
|
|
|
pkgrel=0
|
2020-12-21 20:15:35 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2023-07-20 16:59:39 +00:00
|
|
|
depends="postmarketos-base mkbootimg u-boot-tools pxa-mkbootimg"
|
2020-12-21 20:15:35 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2023-07-20 16:59:39 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
2022-08-10 15:36:47 +00:00
|
|
|
source="deviceinfo 90-coreprimevelte.conf"
|
2020-12-21 20:15:35 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2023-07-20 16:59:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
kernel_downstream() {
|
|
|
|
pkgdesc="Downstream kernel"
|
|
|
|
depends="linux-samsung-coreprimevelte"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
2022-08-10 15:36:47 +00:00
|
|
|
install -Dm444 $startdir/90-coreprimevelte.conf $pkgdir/etc/sysctl.d/90-coreprimevelte.conf
|
2020-12-21 20:15:35 +00:00
|
|
|
}
|
|
|
|
|
2023-07-20 16:59:39 +00:00
|
|
|
kernel_mainline() {
|
|
|
|
pkgdesc="Mainline kernel (for development only)"
|
|
|
|
depends="linux-samsung-coreprimevelte-mainline"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2022-08-10 16:15:04 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wi-Fi firmware"
|
|
|
|
depends="firmware-samsung-pxa1908"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2022-05-21 21:43:25 +00:00
|
|
|
sha512sums="
|
2023-10-01 11:07:00 +00:00
|
|
|
e8e9e29780feb17cd869b4182b09d507bf939d9eb9076e02b1bcf6dda7a9ecc0c5bee4c6c8846cb9b3d7d354697941cc7efb04c79ba2ffb1d3116f4ddc808397 deviceinfo
|
2022-08-10 15:36:47 +00:00
|
|
|
4854cc57b86e1199dbc165110514e672dabf45044fe9f7ebbde5b2b24768fb5497273b5f38612cf2dfeffc9bf0648c725114b4fa01165bf7fb02f7d741ee5806 90-coreprimevelte.conf
|
2022-05-21 21:43:25 +00:00
|
|
|
"
|