56 lines
1.5 KiB
Text
56 lines
1.5 KiB
Text
|
# Reference: <https://postmarketos.org/devicepkg>
|
||
|
pkgname=device-samsung-t03g
|
||
|
pkgdesc="Samsung Galaxy Note II (GSM)"
|
||
|
pkgver=1
|
||
|
pkgrel=0
|
||
|
url="https://postmarketos.org"
|
||
|
license="MIT"
|
||
|
arch="armv7"
|
||
|
options="!check !archcheck"
|
||
|
depends="
|
||
|
alsa-ucm-conf
|
||
|
linux-postmarketos-exynos4
|
||
|
mesa-dri-gallium
|
||
|
mkbootimg
|
||
|
postmarketos-base
|
||
|
soc-samsung-exynos4412-haptics
|
||
|
"
|
||
|
makedepends="devicepkg-dev"
|
||
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||
|
source="
|
||
|
deviceinfo
|
||
|
ucm/Midas.conf
|
||
|
ucm/HiFi.conf
|
||
|
modules-load.conf
|
||
|
"
|
||
|
|
||
|
build() {
|
||
|
devicepkg_build $startdir $pkgname
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
devicepkg_package $startdir $pkgname
|
||
|
|
||
|
# Alsa UCM configs
|
||
|
install -Dm644 "$srcdir"/Midas.conf \
|
||
|
"$pkgdir"/usr/share/alsa/ucm2/conf.d/Midas/Midas.conf
|
||
|
install -Dm644 "$srcdir"/HiFi.conf \
|
||
|
"$pkgdir"/usr/share/alsa/ucm2/conf.d/Midas/HiFi.conf
|
||
|
}
|
||
|
|
||
|
nonfree_firmware() {
|
||
|
pkgdesc="WiFi & Bluetooth firmware"
|
||
|
depends="
|
||
|
firmware-samsung-midas-bluetooth
|
||
|
firmware-samsung-midas-wifi
|
||
|
"
|
||
|
mkdir "$subpkgdir"
|
||
|
}
|
||
|
|
||
|
sha512sums="
|
||
|
6988a69d5f061f9e697373902f25c08c25dbabcc660f8b0b0c7af97012335ab305b21e7da4d02c65013d6a948e93caed25464a3afff5472d735b135e34415e72 deviceinfo
|
||
|
caa81e8ab6753c0ca24c22fb6742288765dfbf2469b8b8c35c5789edfcee546ef1c3b14ad6e540c417f434258399300f17d312b58157635eafab134587ef94cc Midas.conf
|
||
|
a56ce19331a8997b1cc493b8ab6b16ecfc423254a380e13a9461ec94ec5bc124cb3283256ef8cc014db60937a5e7404c6f7728bc2cc2494a70c612ccb3fd4105 HiFi.conf
|
||
|
56a2bdffc273cb0a581192e65378ff50e71c7bc8a696af7d5e7c165a53c005aae104c4514c68afb668454c5a94ce78bd509f8a40e3401d67e16636b1ed81d051 modules-load.conf
|
||
|
"
|