2018-03-05 20:55:05 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 07:50:09 +00:00
|
|
|
pkgname=device-samsung-p4wifi
|
2018-03-05 20:55:05 +00:00
|
|
|
pkgdesc="Galaxy Tab 10.1"
|
2024-04-02 12:52:52 +00:00
|
|
|
pkgver=1
|
|
|
|
pkgrel=0
|
2018-03-05 20:55:05 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2019-02-25 22:55:42 +00:00
|
|
|
arch="armv7"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2018-10-23 21:30:15 +00:00
|
|
|
depends="postmarketos-base
|
2021-10-10 21:25:21 +00:00
|
|
|
linux-postmarketos-grate
|
2018-10-23 21:30:15 +00:00
|
|
|
mkbootimg
|
2024-01-02 18:19:11 +00:00
|
|
|
alsa-utils"
|
2018-03-05 20:55:05 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2020-01-28 21:47:38 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware $pkgname-x11"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
modules-initfs
|
2018-03-13 19:39:07 +00:00
|
|
|
modules-load.conf
|
|
|
|
modprobe.conf
|
|
|
|
90-device-samsung-p4wifi-audio.rules
|
|
|
|
90-device-samsung-p4wifi-jack.rules
|
|
|
|
HiFi
|
|
|
|
wm8994aif1.conf"
|
2018-03-05 20:55:05 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2018-03-13 19:39:07 +00:00
|
|
|
|
|
|
|
install -D -m644 "$srcdir"/HiFi \
|
|
|
|
"$pkgdir"/usr/share/alsa/ucm/wm8994aif1/HiFi
|
|
|
|
install -D -m644 "$srcdir"/wm8994aif1.conf \
|
|
|
|
"$pkgdir"/usr/share/alsa/ucm/wm8994aif1/wm8994aif1.conf
|
|
|
|
install -D -m644 "$srcdir"/90-device-samsung-p4wifi-audio.rules \
|
|
|
|
"$pkgdir"/etc/udev/rules.d/90-device-samsung-p4wifi-audio.rules
|
|
|
|
install -D -m644 "$srcdir"/90-device-samsung-p4wifi-jack.rules \
|
|
|
|
"$pkgdir"/etc/udev/rules.d/90-device-samsung-p4wifi-jack.rules
|
2018-03-05 20:55:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="bcm4330 wifi firmware"
|
|
|
|
depends="firmware-samsung-p4wifi"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2020-01-28 21:47:38 +00:00
|
|
|
x11() {
|
|
|
|
install_if="$pkgname xorg-server"
|
2024-01-02 18:19:11 +00:00
|
|
|
depends="xf86-video-opentegra libvdpau-tegra"
|
2020-01-28 21:47:38 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
2023-06-05 21:11:15 +00:00
|
|
|
a67848704ec28500a64d2816f723cdf745091ded49ebf29fcc5c31aeac01c6aea1362b60d28f11126e50119d4da222ca632190759d12a30ccb8b36b444abb12b deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
fbadf335fb8659afaf98a44abdda2198be4f1f803c522784e1009390f591815d8e79ceb233e3d75adddc675881053771e877412748ef356ac7af66a14ab07a01 modules-initfs
|
2018-11-29 20:13:56 +00:00
|
|
|
e457d1095b4c5da105d83a3951ca8d4c5074384a1280dcc95f8a8c24aff64c32a807968ad449d335fbafba528050436c283036869fc979aced6e613892e46fca modules-load.conf
|
2018-03-13 19:39:07 +00:00
|
|
|
56b865bab0714aed53bd6535ebefd2f3629ec78786e8f87dcae4637cfacb5912d28dc39d1fe0287d34bb36b4a8371481f54647e1b25190afbcd23ed30fe7edac modprobe.conf
|
2022-10-14 11:46:40 +00:00
|
|
|
f5df6715d460eff0b6017d11eeb6135a225791ec1700eaea2cc2747e3bbe3d0cce5dba5aad87abf562a0b7a6d8c2bce3d6cb7fe69689bc786d697ed2f4b86514 90-device-samsung-p4wifi-audio.rules
|
2019-02-27 19:16:09 +00:00
|
|
|
03022552bdfc5c66acf0fd69f3a913cd24c5bdedb1a7f6db5ddee295eef27e27dabee727798cdb0000851f42d242474421d3a56a4405f8b2046080eba93fce06 90-device-samsung-p4wifi-jack.rules
|
|
|
|
b973ed600914140006616f7205e66a2efff67002069dfd0fb731da254954d5f193d02cc687a41dd2e5ee698692b9cdd7cf1c3c4b3f3dd846372bbdced11acd39 HiFi
|
2021-09-18 17:06:03 +00:00
|
|
|
e801765eedfb5b88e191811bcb98915559cb11c500ababced3abed3afe3b46a3cdfe393eb0265c2756a0e9d13b5067ae2208e02d91621cbd6834cf12f3f07ba6 wm8994aif1.conf
|
|
|
|
"
|