pmaports/device/testing/device-samsung-i9300/APKBUILD
Henrik Grimler b4f0904794
samsung-i9300: set gpu_accelerated=true (MR 2546)
kmscube and phosh seem to run without any issues whatsoever, and there
are no lima-related warnings or error in dmesg.
2021-09-25 11:51:27 +02:00

65 lines
1.9 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-i9300
pkgdesc="Samsung Galaxy SIII"
pkgver=1
pkgrel=4
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base mkbootimg mesa-dri-gallium"
makedepends="devicepkg-dev"
install="$pkgname.post-install"
subpackages="
$pkgname-kernel-downstream:kernel_downstream
$pkgname-kernel-mainline-i9300-warning:kernel_mainline_i9300_warning
$pkgname-kernel-mainline-i9305-warning:kernel_mainline_i9305_warning
$pkgname-nonfree-firmware:nonfree_firmware
"
source="
deviceinfo
90-android-touch-dev.rules
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
}
kernel_downstream() {
pkgdesc="Display and wifi works (see device table for details)"
depends="linux-samsung-i9300"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_mainline_i9300_warning() {
pkgdesc="(SIII) mainline WIP
*** WARNING: reported to cause hardware failure:
https://postmarketos.org/i9305 ***"
depends="linux-postmarketos-exynos4"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_mainline_i9305_warning() {
pkgdesc="(SIII LTE) mainline WIP
*** WARNING: reported to cause hardware failure:
https://postmarketos.org/i9305 ***"
depends="linux-postmarketos-exynos4"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
nonfree_firmware() {
pkgdesc="WiFi firmware"
depends="firmware-samsung-i9300"
mkdir "$subpkgdir"
}
sha512sums="
f97a9bd936dcb7df636fe6be6ed946592fb88b53a3ff6c26ea1e8bf37e3c2a81a7866d7653a69d6730bad5735af03a7e250082419b11b7572a89fc4fc2136a1a deviceinfo
d70a03210458c771f94db920a8d3162a03fc7727f0fbafef4c1575ebc659c937c082f5c7a4dcdd1572925b973d628c6f4cf895c3b8b2a59af8142824468fe7c4 90-android-touch-dev.rules
"