pmaports/device/testing/device-samsung-j7eltetmo/APKBUILD
Pablo Correa Gómez ea93a6d07f
device/*: rebuild all devices to relocate deviceinfo (MR 4283)
[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2023-09-25 09:21:03 +02:00

37 lines
849 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-j7eltetmo
pkgdesc="Samsung Galaxy J7 (T-Mobile)"
pkgver=0.1
pkgrel=3
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-samsung-j7eltetmo
mkbootimg
msm-fb-refresher
postmarketos-base
"
makedepends="devicepkg-dev"
source="
deviceinfo
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
# Disable v4l udev rules, because if enabled the device will fail to boot
# when VIDEO_EXYNOS_FIMC_IS is enabled.
mkdir -p "$pkgdir"/etc/udev/rules.d
ln -s /dev/null "$pkgdir"/etc/udev/rules.d/60-persistent-v4l.rules
}
sha512sums="
6b8e11fbb398f52908c4bc350aad57e384115231f2cabe18badad692101a5317a502160aafe56a752551e30c78f6543f41ce30f09dcf7df1aa183be29f937341 deviceinfo
"