7df8828dfb
[skip ci]: already built successfully in CI
45 lines
1.1 KiB
Text
45 lines
1.1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname="device-samsung-i927"
|
|
pkgdesc="Samsung Captivate Glide"
|
|
pkgver=0.1
|
|
pkgrel=1
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armhf"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base
|
|
linux-samsung-i927
|
|
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"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="deviceinfo
|
|
modules-load.conf"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -D -m644 "$srcdir"/modules-load.conf \
|
|
"$pkgdir"/etc/modules-load.d/00-${pkgname}.conf
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="bcm4330 wifi firmware"
|
|
depends="firmware-samsung-i927"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="9a6677a65bb651bb009115d4cf001277a708d0ea3b65cabd5b453580d8f97101c51008c0c1d4a152f6157dcc2a7bdd24c115d84336b29128f56d2249a1e97c1f deviceinfo
|
|
d8ce60ea7acaabf627ddca2f0887a4cda46f313b7aaf7934bef2fef8a6e0798ccefab849e4571e4e3fcd06ae34c1a6efe3b58b401e2e443416f6200e6d4ea769 modules-load.conf"
|