2018-06-28 22:03:50 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2018-02-02 19:59:14 +00:00
|
|
|
pkgname="device-samsung-klte"
|
|
|
|
pkgdesc="Samsung Galaxy S5"
|
2018-05-13 19:47:32 +00:00
|
|
|
pkgver=0.2
|
2018-12-25 19:25:32 +00:00
|
|
|
pkgrel=4
|
2018-02-02 19:59:14 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="armhf"
|
|
|
|
options="!check !archcheck"
|
2018-05-13 19:47:32 +00:00
|
|
|
depends="postmarketos-base mkbootimg msm-fb-refresher"
|
2018-02-02 19:59:14 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2018-05-13 19:47:32 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
|
|
"
|
2018-02-02 19:59:14 +00:00
|
|
|
source="deviceinfo"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2018-05-13 19:47:32 +00:00
|
|
|
kernel_downstream() {
|
|
|
|
pkgdesc="Display and touchscreen works (see device table for details)"
|
|
|
|
depends="linux-samsung-klte"
|
2018-10-15 19:54:15 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
2018-05-13 19:47:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline() {
|
|
|
|
pkgdesc="For kernel development only (most features aren't working)"
|
|
|
|
depends="linux-postmarketos-qcom"
|
2018-10-15 19:54:15 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
2018-05-13 19:47:32 +00:00
|
|
|
}
|
|
|
|
|
2018-12-25 19:25:32 +00:00
|
|
|
sha512sums="f810d1ff1089824ace21c9b4da990bf802b6cd0f6247b5ad2b7434e504e427bb6d6f6171e3a6e6f2c1204c5e9e3d48e9c7a3141e7c1ae4b0ab4ad402cd923eba deviceinfo"
|