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
|
2019-03-11 08:41:05 +00:00
|
|
|
pkgrel=5
|
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"
|
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
|
|
|
}
|
|
|
|
|
2019-03-11 08:41:05 +00:00
|
|
|
sha512sums="186911ec5eb189826aa515e467d95270adbb1ae0eef36133a1ec3928ddab38a1cbd1bbbeaf2965bc02f5b1d1b603e360229c54fd9118b40558ab9e8066a72448 deviceinfo"
|