2018-01-20 00:50:14 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2024-01-31 15:45:09 +00:00
|
|
|
# Maintainer: Jenneron <jenneron@protonmail.com>
|
2024-02-01 06:18:21 +00:00
|
|
|
# Co-Maintainer: Alexandre Marquet <tb@a-marquet.fr>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-samsung-manta
|
2018-01-20 00:50:14 +00:00
|
|
|
pkgdesc="Google Nexus 10"
|
2024-07-19 13:34:37 +00:00
|
|
|
pkgver=8
|
|
|
|
pkgrel=0
|
2018-01-20 00:50:14 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2021-02-24 15:06:32 +00:00
|
|
|
arch="armv7"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2024-01-31 15:52:13 +00:00
|
|
|
depends="
|
|
|
|
linux-postmarketos-exynos5
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
"
|
2018-01-20 00:50:14 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2022-02-08 20:26:59 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
2024-01-31 16:23:16 +00:00
|
|
|
modules-initfs
|
2023-04-11 21:40:34 +00:00
|
|
|
100-wlan-mac.rules
|
|
|
|
wifi-macaddr.sh
|
2022-02-08 20:26:59 +00:00
|
|
|
networkmanager.conf
|
2024-02-05 04:23:44 +00:00
|
|
|
hwclock
|
2022-02-08 20:26:59 +00:00
|
|
|
"
|
2024-02-14 09:37:43 +00:00
|
|
|
replaces="openrc" # for hwclock configuration
|
2018-01-20 00:50:14 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2022-02-08 20:26:59 +00:00
|
|
|
|
|
|
|
install -D -m644 "$srcdir"/networkmanager.conf \
|
|
|
|
"$pkgdir"/etc/NetworkManager/conf.d/10-manta.conf
|
|
|
|
|
2023-04-11 21:40:34 +00:00
|
|
|
install -Dm744 "$srcdir"/wifi-macaddr.sh \
|
|
|
|
-t "$pkgdir"/usr/lib/device-samsung-manta/
|
2022-02-08 20:26:59 +00:00
|
|
|
|
2023-04-11 21:40:34 +00:00
|
|
|
install -Dm644 "$srcdir"/100-wlan-mac.rules \
|
|
|
|
-t "$pkgdir"/usr/lib/udev/rules.d/
|
2024-01-09 17:54:04 +00:00
|
|
|
|
2024-06-05 05:29:10 +00:00
|
|
|
mkdir -p "$pkgdir"/etc/modules-load.d
|
|
|
|
echo "ds2482" \
|
|
|
|
> "$pkgdir"/etc/modules-load.d/ds2482.conf
|
|
|
|
|
2024-01-09 17:54:04 +00:00
|
|
|
mkdir -p "$pkgdir"/etc/modprobe.d
|
|
|
|
echo "options ds2482 active_pullup=0" \
|
|
|
|
> "$pkgdir"/etc/modprobe.d/ds2482.conf
|
2024-02-05 04:23:44 +00:00
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/hwclock \
|
|
|
|
-t "$pkgdir"/etc/conf.d/
|
2022-02-08 20:26:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Firmware for Samsung Manta (Nexus 10)"
|
2023-04-11 21:40:34 +00:00
|
|
|
depends="
|
|
|
|
firmware-samsung-manta
|
|
|
|
linux-firmware-brcm
|
|
|
|
linux-firmware-s5p-mfc
|
|
|
|
"
|
2022-02-08 20:26:59 +00:00
|
|
|
mkdir "$subpkgdir"
|
2018-01-20 00:50:14 +00:00
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
2024-07-19 13:34:37 +00:00
|
|
|
9a566c5be457834f0cfa5750ced12ed1c26019dd24c311f4c8b3bf8b6417658c2868a6b2b6d2eb73b75a67e3bb707d8ae8016f80342d2b467d1e44eff7303269 deviceinfo
|
2024-01-31 16:23:16 +00:00
|
|
|
e00c58936fa4340f8531538136ad028d002342a4399b68d26190b931831108007486257f9d8a48c3ed454696b45d176b1497d624c33ace21e61eba33ac7ce136 modules-initfs
|
2023-04-11 21:40:34 +00:00
|
|
|
37a18d36e1e08ddcc605de73214dc02a9e7737f6a66b2e4be301fca816bbf3c2ba6b5ead1f12c745fd0fa019e2a8e959e4fc20386ad94ca7277d4c7d7f9fb703 100-wlan-mac.rules
|
2024-02-03 08:44:20 +00:00
|
|
|
cfba48f87335ed8810004e02db165203149532ade7be206947f8195bbcc14d61bf3a898378566aca7295ba08784665f462442bf5e74d7f58b2cc62d996376317 wifi-macaddr.sh
|
2023-04-11 21:40:34 +00:00
|
|
|
5c3a692f22a29fca792c114c6d94ff1bf0d6921f068f207a2894a8f99c73dcc319e7c803ed7adfe64eb3e60088f37e2a2730118b2ed57aa01b35415664085567 networkmanager.conf
|
2024-02-05 04:23:44 +00:00
|
|
|
8a9756c66bf1eacd6a9717abf772a198123391deac7e32a520666dd6f72c4c5b09d1a4791437c8902f62cf4b49106ace195d57082972b1cb4c843c8e1b065875 hwclock
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|