pmaports/device/testing/device-samsung-klimtlte/APKBUILD

53 lines
1.3 KiB
Text
Raw Normal View History

# Maintainer: Henrik Grimler <henrik@grimler.se>
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-klimtlte
pkgdesc="Samsung Galaxy Tab S 8.4 LTE"
pkgver=1.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
postmarketos-base
postmarketos-update-kernel
mkbootimg
"
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="
$pkgname-kernel-downstream:kernel_downstream
$pkgname-kernel-mainline:kernel_mainline
$pkgname-nonfree-firmware:nonfree_firmware
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
kernel_downstream() {
pkgdesc="Display and wifi works (see device table for details)"
depends="linux-samsung-klimtlte msm-fb-refresher"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_mainline() {
pkgdesc="Mainline WIP (usb networking works but not much else)"
depends="linux-postmarketos-exynos5"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
nonfree_firmware() {
pkgdesc="Non-free firmware for the Samsung Galaxy Tab S"
depends="firmware-samsung-klimt"
mkdir "$subpkgdir"
}
sha512sums="
81702e216fadefd2a93c3c03a9961068758ba1b20c1fd5945c2c1e551cc0361ca87d4d63854961778628aaa0242cff11e5146968286685a7b44d5a03d35861f2 deviceinfo
"