4c0ec94eb4
Port based on an unofficial LineageOS port from https://www.los-legacy.de/17.1/zerofltexx, using kernel from https://github.com/Exynos7420/android_kernel_samsung_exynos7420/ What works: - Kernel boots - Display and touch input (tested with Weston) - USB networking - Wifi For now only including Wifi drivers, as I wasn't yet able to successfully test audio and camera subsystems (but I intentionally left these firmware files commented out in the APKBUILD file). [ci:skip-build]: already built successfully in CI
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-samsung-zeroltexx
|
|
pkgdesc="Samsung Galaxy S6 edge"
|
|
pkgver=0.1
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-samsung-zeroltexx mkbootimg mesa-dri-gallium msm-fb-refresher"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo
|
|
udev/60-persistent-v4l.rules
|
|
"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
install="$pkgname.post-install"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -Dm644 "$srcdir"/60-persistent-v4l.rules \
|
|
"$pkgdir"/etc/udev/rules.d/60-persistent-v4l.rules
|
|
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Non-free firmware for the Samsung Galaxy S6 edge"
|
|
depends="firmware-samsung-zero"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
|
|
sha512sums="0dc3899d396587d90d03b31932c14debe67b7fe1b10be0308720f6382748ecaaf5338fccae4c239fb3aa877f835e769b65a15d641fcdd77258f3a80410072dd8 deviceinfo
|
|
b8bf2e3ec166af6acbbfaaa2b57b053473c0b12df007090eecf7a885aee2e3cd5d982819e2ee73e2817e5266b9875dc9240389bca409d5523f3cfa8037fa7870 60-persistent-v4l.rules"
|