2021-03-12 08:42:13 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-santos10wifi
|
|
|
|
pkgdesc="Samsung Galaxy Tab 3 10.1 Wi-Fi"
|
|
|
|
pkgver=0.1
|
2023-06-05 21:11:15 +00:00
|
|
|
pkgrel=5
|
2021-03-12 08:42:13 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="x86"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="postmarketos-base linux-samsung-santos10wifi mkbootimg"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-x11
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
|
|
|
|
|
|
|
source="deviceinfo
|
|
|
|
xorg.conf"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
x11() {
|
|
|
|
install_if="$pkgname xorg-server"
|
|
|
|
depends="
|
|
|
|
xf86-input-libinput
|
|
|
|
xf86-video-fbdev"
|
|
|
|
install -Dm644 "$srcdir"/xorg.conf \
|
|
|
|
"$subpkgdir"/etc/X11/xorg.conf.d/10-santos10wifi.conf
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wi-Fi firmware"
|
|
|
|
depends="firmware-samsung-santos10wifi"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2023-06-05 21:11:15 +00:00
|
|
|
sha512sums="
|
|
|
|
4ec6257f7221528359510c6468773352215d50a8e1b0b79560a24391a686ffa766f69b09d6550898d9e4708d79d3df6f50f3be7d62ff2778d48aa76ad00e5b8d deviceinfo
|
|
|
|
2511fa519813061531757996fbbbb9eecae1a136d2e13149fd7afe04d19982c7eaa5ced8df57860bb816186f206915fcbd4a9e34fdf92b2c6efe3320a223c328 xorg.conf
|
|
|
|
"
|