de2bba9e58
Download: https://wiki.postmarketos.org/index.php?title=Special:CargoExport&tables=Devices&&fields=Codename%2C+Released&&group+by=Codename&order+by=%60Codename%60%2C+%60Released%60&limit=5000&format=csv cd device for device in device-*; do year=$(grep -oP "${device#device-},\K2\d{3}" ../results.csv) [[ -n "$year" ]] || continue sed -i "s/deviceinfo_date=\"\"/deviceinfo_year=\"$year\"/" "$device/deviceinfo" done devices=$(git ls-files -m -- . | xargs dirname | sort -u | xargs echo) pmbootstrap checksum $devices
40 lines
2 KiB
Text
40 lines
2 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Contributor: Michael Hamann <michael@content-space.de>
|
|
pkgname="device-samsung-n5110"
|
|
pkgdesc="Samsung Galaxy Note 8.0 (Wi-Fi)"
|
|
pkgver=0.1
|
|
pkgrel=5
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armhf"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-samsung-n5110 mkbootimg mesa-dri-swrast"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo pointercal asound.state Kona_WM1811/hifi.conf Kona_WM1811/Kona_WM1811.conf Kona_WM1811/lp.conf 90-$pkgname.rules"
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -D -m644 "$srcdir"/pointercal \
|
|
"$pkgdir"/etc/pointercal
|
|
|
|
install -D -m644 "$srcdir"/asound.state \
|
|
"$pkgdir"/var/lib/alsa/asound.state
|
|
|
|
install -D -m644 "$srcdir"/Kona_WM1811.conf \
|
|
"$pkgdir"/usr/share/alsa/ucm/Kona_WM1811/Kona_WM1811.conf
|
|
|
|
install -D -m644 "$srcdir"/hifi.conf \
|
|
"$pkgdir"/usr/share/alsa/ucm/Kona_WM1811/hifi.conf
|
|
|
|
install -D -m644 "$srcdir"/lp.conf \
|
|
"$pkgdir"/usr/share/alsa/ucm/Kona_WM1811/lp.conf
|
|
}
|
|
|
|
sha512sums="b3504047c832d67831a45363e4669fc77401a03a8ca908bc58d125b7f19ce4e82daadfb16b4f9122f01982b0e91dc6aba73acd95bb70f14b5795442ffbf56cd6 deviceinfo
|
|
3143f3c2d884480531dffd970753e884048bae68533a05b457483b0fa2448d7c9150bb649d25056ebe8879675284148f431447644d265cc7440b35320523cd4e pointercal
|
|
dbbe2516c347708f72ef2e8fb6a110e6b18234c72f7173940a9a3727c6fd357b449df7c0a5ba223d2571b90249714d811307c3155b8d76974ecb1fe92c5abe98 asound.state
|
|
1edafcded27093f6d71b2459e92e59390dfbea50c866612f7b78943dd4b96057649b2ffa677956a2b160956c5d12e8eff76ace7ec91134bafba2b632b461c660 hifi.conf
|
|
f885a785caabd7e1d2ccf456a6ad4fa90bf01f76ba94c902a0d55268a8eddbad4b591db524a2359f1b676929d426e892db4597189e91fcd8df06bc54e3555b92 Kona_WM1811.conf
|
|
3e0afbb20975be711613a5787635cd4b2b58e2232387e4d6f6910a7b45467fefc57cb4160f00a52db73089fa9523560e1360b045242235eac1cdb6e6f813b06b lp.conf
|
|
1be171ab5d36aa6f75c740b7aabe62a78c6d2c1f016b706900f04e1f0e20bf25d090f32d029160c6d626e978a004732b9654dde336748ca47326b9a2e06e34b2 90-device-samsung-n5110.rules"
|