6f074ad61d
Some devices have 04e8:6860 as their USB ID. Add it to deviceinfo. [ci:ignore-count] [ci:skip-build]: already built successfully in CI
51 lines
1.2 KiB
Text
51 lines
1.2 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-samsung-a7
|
|
pkgdesc="Samsung Galaxy A7 (2015)"
|
|
pkgver=4.1
|
|
pkgrel=1
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
linux-postmarketos-qcom-msm8939
|
|
mkbootimg
|
|
postmarketos-base
|
|
soc-qcom-msm8939
|
|
soc-qcom-msm8916-rproc
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
source="
|
|
deviceinfo
|
|
phoc.ini
|
|
"
|
|
subpackages="
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
$pkgname-phosh
|
|
"
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
|
depends="firmware-qcom-adreno-a420 msm-firmware-loader firmware-samsung-a7-wcnss-nv"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
phosh() {
|
|
install_if="$pkgname postmarketos-ui-phosh"
|
|
install -Dm644 "$srcdir"/phoc.ini \
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
|
}
|
|
|
|
sha512sums="
|
|
4688739fe0a163b1b02e545a83fcca50ed5f3d3a42e3751a0dde7eea477a5f433fa6e765f607796020c2ada2704cc636ee96927f89813e71fbb8d5da4a2f0af3 deviceinfo
|
|
25d2518d66e612df1f218e00544a282fa730dfe801bb0f8a7c928eb1a54aa9e5a167bd76fb00358c87dd8fd86564303c956c8a7460ab27e7eb96e44e80beb919 phoc.ini
|
|
"
|