pkgname-nonfree-firmware packages have been not allowed for years, but nearly every device package just didn't fix that. With the new grep check, these need to be fixed no matter what. The changing of `replaces=` to include the full name of the package and not the pkgname variable is to work around limitations of the grep ci check, as it cannot differentiate between a nonfree-firmware subpackage and a string stating its replacement. A workaround for that is to use the whole package name, as the grep check checks for the pkgname variable. Signed-off-by: Aster Boese <asterboese@mailbox.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8958>
56 lines
1.6 KiB
Bash
56 lines
1.6 KiB
Bash
# Co-Maintainer: Ingo Reitz <9l@9lo.re>
|
|
# Co-Maintainer: WeirdTreeThing <bradyn127@protonmail.com>
|
|
maintainer="Alicja Michalska <ellyqw@mainlining.org>"
|
|
pkgname=device-google-trogdor
|
|
pkgdesc="Google Trogdor Chromebooks"
|
|
pkgver=13
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
alsa-ucm-conf
|
|
depthcharge-tools
|
|
firmware-google-trogdor
|
|
linux-firmware-ath10k
|
|
linux-firmware-qca
|
|
linux-firmware-qcom
|
|
linux-postmarketos-qcom-sc7180
|
|
msm-cros-efs-loader
|
|
postmarketos-base
|
|
postmarketos-cros-common
|
|
soc-qcom-sc7180
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
source="
|
|
deviceinfo
|
|
kernel-cmdline.conf
|
|
modules-initfs
|
|
99-google-trogdor-accel.rules
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
install -Dm644 "$srcdir"/99-google-trogdor-accel.rules\
|
|
"$pkgdir"/usr/lib/udev/rules.d/99-google-trogdor-accel.rules
|
|
}
|
|
|
|
openrc() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
|
depends="eudev-hwids"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
40911658bfc9b70dd96c70b71ddbece4f08d0e618f0ad7816e48ce66f683dc11ffe7d57d16822228f206e0576db7832d96b66659b3a72f3f4aa7959dd8cb82e5 deviceinfo
|
|
14b67d4842a2f1cc637c56ca50a1f6d4a18a4e0524ce4cd9cdd9d0becbf7c4d9dcb9be33251c31bf6e8c452c1a08d6c113b231980593a6b418d731f09ea8f9f4 kernel-cmdline.conf
|
|
558623af5a636401af3f99ec963b8cee6eaf8b59b52c9c7ce45d41693663d340305e0733857e44398053ce0ecc24f0d48b478bf591cca5feb3982a58cdf6a761 modules-initfs
|
|
c9e0be258575e2af67509b55d373a5e4da00ba338e6ff30859926e20aabe60a0ea657002e5b47bd579b55ff3be75a772c1f63d3adc05feb0a0d23c1fc52292b8 99-google-trogdor-accel.rules
|
|
"
|