2020-03-02 20:44:53 +00:00
|
|
|
# Maintainer: ky0ko <ky0ko@disroot.org>
|
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-motorola-def
|
2020-03-02 20:44:53 +00:00
|
|
|
pkgdesc="Motorola Moto One Hyper"
|
|
|
|
pkgver=0.1
|
2022-10-10 19:33:44 +00:00
|
|
|
pkgrel=6
|
2020-03-02 20:44:53 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
subpackages="$pkgname-weston $pkgname-nonfree-firmware:nonfree_firmware"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-motorola-def mkbootimg"
|
2020-03-02 20:44:53 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo weston.ini"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
weston() {
|
|
|
|
install_if="$pkgname weston"
|
|
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Nonfree firmware metapackage for Motorola One Hyper"
|
|
|
|
depends="firmware-motorola-def"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
0b133cd1fc0c3b77766771652c4a11f146c6d8cbc4a75a15675bf53640249096887a4a412a88a43ccee858366a08302e8810b146628cec8d39d137fe3859b0b0 deviceinfo
|
|
|
|
809cac74c2ea02e21359c7f37f90a0efdf90ea1d23082acff6786e6dbaa1c2b5616a4d36de751ac6c73cfa727362bc23df95b0c78bf4dd1d3441ac182372358a weston.ini
|
|
|
|
"
|