2018-03-05 20:55:05 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname="device-samsung-p4wifi"
|
|
|
|
pkgdesc="Galaxy Tab 10.1"
|
2018-10-23 21:30:15 +00:00
|
|
|
pkgver=0.2
|
2018-12-25 19:25:32 +00:00
|
|
|
pkgrel=2
|
2018-03-05 20:55:05 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="armhf"
|
|
|
|
options="!check !archcheck"
|
2018-10-23 21:30:15 +00:00
|
|
|
depends="postmarketos-base
|
|
|
|
linux-samsung-p4wifi
|
|
|
|
mkbootimg
|
|
|
|
alsa-utils
|
|
|
|
libdrm-grate
|
|
|
|
mesa-grate
|
|
|
|
mesa-grate-gl
|
|
|
|
mesa-grate-egl
|
|
|
|
mesa-grate-dri-swrast
|
|
|
|
mesa-grate-dri-tegra
|
|
|
|
xf86-video-opentegra
|
|
|
|
libvdpau-tegra"
|
2018-03-05 20:55:05 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2018-03-13 19:39:07 +00:00
|
|
|
source="deviceinfo
|
|
|
|
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"/modules-load.conf \
|
|
|
|
"$pkgdir"/etc/modules-load.d/00-${pkgname}.conf
|
|
|
|
install -D -m644 "$srcdir"/modprobe.conf \
|
|
|
|
"$pkgdir"/etc/modprobe.d/00-${pkgname}.conf
|
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
|
2018-12-25 19:25:32 +00:00
|
|
|
sha512sums="803c1dd0b8dd403fbc0cf5cf381c490e1d639bad35a2e6a56c215d264a465fca3ab732a0b7c9984e87ecb87cd00eb90bd8c9b3f08a1d35c1495ecf66eaea62d2 deviceinfo
|
2018-11-29 20:13:56 +00:00
|
|
|
e457d1095b4c5da105d83a3951ca8d4c5074384a1280dcc95f8a8c24aff64c32a807968ad449d335fbafba528050436c283036869fc979aced6e613892e46fca modules-load.conf
|
2018-03-13 19:39:07 +00:00
|
|
|
56b865bab0714aed53bd6535ebefd2f3629ec78786e8f87dcae4637cfacb5912d28dc39d1fe0287d34bb36b4a8371481f54647e1b25190afbcd23ed30fe7edac modprobe.conf
|
|
|
|
559d3f49a2a99445c644f53b1148fbac6963cc27fc77ba735da7b6c742b8d4faecf938943ce598ea71d590ce2297e2ec6f98aec54b2b339c861f92d0e0430434 90-device-samsung-p4wifi-audio.rules
|
|
|
|
0ba8fc472df6a2a420c963d637bebe0cb167f593c50b1cd0dfb654375a1d16de99590dc5e48d0f42e7d44b6fe2ffa9dbfec062a32483d1b5ed32f383cd29ed22 90-device-samsung-p4wifi-jack.rules
|
|
|
|
a62bbae27b3e76e5ba4b3d06fdd3a35e14b69319b213724196b5ab8acf2086bdf6aef3feef20b262294860f03b8b202a094702af458fe1cfff74c5a17a1cd915 HiFi
|
|
|
|
16640080221d6ce6b87eb02bef401a18152008f75e52c0db2eee0a67f1ac65fc9ed053cc2388012f3f661e8f5526e8133af4ae2a5176441fde382597c02a75fa wm8994aif1.conf"
|