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-11-29 06:27:44 +00:00
|
|
|
pkgrel=3
|
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-11-29 06:27:44 +00:00
|
|
|
sha512sums="76c9c0b1875ff6ede19c22847afe28627aa1007e2a1ec4529cde4ed798ea14a6fef95a4669a44183b815250a7abb7d6605371590129fc89985c4fdf981865819 deviceinfo"
|