2022-02-21 06:06:01 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-crownlte
|
|
|
|
pkgdesc="Samsung Galaxy Note 9"
|
2023-01-28 01:35:36 +00:00
|
|
|
pkgver=0.4
|
2023-09-19 16:16:35 +00:00
|
|
|
pkgrel=2
|
2022-02-21 06:06:01 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
linux-samsung-crownlte
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
msm-fb-refresher
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
2022-02-21 23:59:13 +00:00
|
|
|
initfs-hook.sh
|
2022-02-21 06:06:01 +00:00
|
|
|
stylus.conf
|
2022-06-11 19:20:06 +00:00
|
|
|
hciattach
|
|
|
|
10-hciattach.rules
|
2023-01-28 01:35:36 +00:00
|
|
|
10-logind-check-graphical.conf
|
2022-02-21 06:06:01 +00:00
|
|
|
"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-x11
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2023-06-12 00:59:37 +00:00
|
|
|
pkgdesc="WiFi, BT, MFC firmware"
|
2022-06-11 19:20:06 +00:00
|
|
|
depends="firmware-samsung-crownlte bluez-deprecated"
|
|
|
|
|
|
|
|
# hciattach service for Bluetooth
|
2022-02-21 06:06:01 +00:00
|
|
|
mkdir "$subpkgdir"
|
2022-06-11 19:20:06 +00:00
|
|
|
install -Dm755 "$srcdir"/hciattach \
|
2023-01-28 01:35:36 +00:00
|
|
|
-t "$subpkgdir"/etc/init.d
|
2022-06-11 19:20:06 +00:00
|
|
|
install -Dm644 "$srcdir"/10-hciattach.rules \
|
2023-01-28 01:35:36 +00:00
|
|
|
-t "$subpkgdir"/etc/udev/rules.d
|
2022-02-21 06:06:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
x11() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel xorg-server"
|
|
|
|
depends="xf86-input-evdev"
|
|
|
|
install -Dm644 "$srcdir"/stylus.conf \
|
2023-01-28 01:35:36 +00:00
|
|
|
-t "$subpkgdir"/etc/X11/xorg.conf.d
|
|
|
|
install -Dm644 "$srcdir"/10-logind-check-graphical.conf \
|
|
|
|
-t "$subpkgdir"/usr/share/lightdm/lightdm.conf.d
|
2022-02-21 06:06:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2022-02-21 23:59:13 +00:00
|
|
|
4d947f71b2eab1c82e727fb5592c82b27db5180a2ecdc807246d4807fa83b0539dca984e2330f80e4942694d77773fd83d56fb5b77c2f50c574e7815aabbfd1d deviceinfo
|
|
|
|
cec13a1cb076a249eb94d11fb122b1f6b0c3e9558a2ed3c8da3e73a8e2db633131ec8ce838e62da8f53b5500dcb77c6f4adf3c1d2f1cda6fd23cb2ca1ccf6abc initfs-hook.sh
|
2022-02-21 06:06:01 +00:00
|
|
|
29c2f8fbd67f6aa95a34fc465798be71dc360087b4e4fddbcdc9b43a628de384f48c1b9e6a7b3d41c93954baee3b88f08972f0a827d663b0279b06a4b2908bd2 stylus.conf
|
2022-06-11 19:20:06 +00:00
|
|
|
70c4d3b7af9e58729b5caca87c6c0032675c4adfd3852b0e3fc1f866675d503c4f08d3edaf1b1949bf15344840222c1a7ba00384c290fa5e1b7742e1198855a8 hciattach
|
|
|
|
58f72bb12532ce23782389bf9e9eb8eb8afe004dd46d11d48b21b6da6a84660846f79d528d9968a1c1be57716577035fd0da59b3fcda4f197599e92f243dbb45 10-hciattach.rules
|
2023-01-28 01:35:36 +00:00
|
|
|
00addbea452dd3e2cb90e18793becc47d22118e6b99a79b76eb57db02aa8b00b133569beaea81cce4b39c9e556280c1d6ac8ab687016354e2d189734e38768cf 10-logind-check-graphical.conf
|
2022-02-21 06:06:01 +00:00
|
|
|
"
|