8b4e160ce5
[ci:skip-build] already built successfully in CI
53 lines
1.3 KiB
Text
53 lines
1.3 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-samsung-crownlte
|
|
pkgdesc="Samsung Galaxy Note 9"
|
|
pkgver=0.2
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
linux-samsung-crownlte
|
|
mesa-dri-gallium
|
|
mkbootimg
|
|
postmarketos-base
|
|
msm-fb-refresher
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
source="
|
|
deviceinfo
|
|
initfs-hook.sh
|
|
stylus.conf
|
|
"
|
|
subpackages="
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
$pkgname-x11
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="WiFi firmware"
|
|
depends="firmware-samsung-crownlte"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
x11() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel xorg-server"
|
|
depends="xf86-input-evdev"
|
|
install -Dm644 "$srcdir"/stylus.conf \
|
|
"$subpkgdir"/etc/X11/xorg.conf.d/stylus.conf
|
|
}
|
|
|
|
sha512sums="
|
|
4d947f71b2eab1c82e727fb5592c82b27db5180a2ecdc807246d4807fa83b0539dca984e2330f80e4942694d77773fd83d56fb5b77c2f50c574e7815aabbfd1d deviceinfo
|
|
cec13a1cb076a249eb94d11fb122b1f6b0c3e9558a2ed3c8da3e73a8e2db633131ec8ce838e62da8f53b5500dcb77c6f4adf3c1d2f1cda6fd23cb2ca1ccf6abc initfs-hook.sh
|
|
29c2f8fbd67f6aa95a34fc465798be71dc360087b4e4fddbcdc9b43a628de384f48c1b9e6a7b3d41c93954baee3b88f08972f0a827d663b0279b06a4b2908bd2 stylus.conf
|
|
"
|