30 lines
922 B
Text
30 lines
922 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-oppo-find-7a
|
|
pkgdesc="OPPO Find 7a"
|
|
pkgver=0.1
|
|
pkgrel=7
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armv7"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-oppo-find-7a mkbootimg mesa-dri-swrast msm-fb-refresher"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="deviceinfo initfs-hook.sh"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Firmware blobs"
|
|
depends="firmware-oppo-find-7a"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="8392a9f72d06bf682b2f6b1e3699c1129032da53498bbe76ed11ca8f9f763e03c4a682f5b7ad442c45b3d576597a3fe5673d40cc91cd82b61f0fd68f4bc3980f deviceinfo
|
|
fe4ea91d89f4c1f93efed0bbee8b6ddadccaa2bf0623b15fb598758dfe1fa347aaf3d60b4a67e270a1716ffaae98c158ea6d574d0ca2e4895c7ee768c357abdc initfs-hook.sh"
|