2019-05-08 21:44:19 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-oppo-find-7a
|
2019-05-08 21:44:19 +00:00
|
|
|
pkgdesc="OPPO Find 7a"
|
|
|
|
pkgver=0.1
|
2023-06-17 14:51:32 +00:00
|
|
|
pkgrel=11
|
2019-05-08 21:44:19 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-oppo-find-7a mkbootimg msm-fb-refresher"
|
2019-05-08 21:44:19 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2019-05-30 22:05:39 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
source="deviceinfo initfs-hook.sh"
|
2019-05-08 21:44:19 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2019-05-30 22:05:39 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Firmware blobs"
|
|
|
|
depends="firmware-oppo-find-7a"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
2019-05-08 21:44:19 +00:00
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
46728fea1aa8c5bc63bcaa0f75fd528f3af48f5a4336ac21cda0fbb7f100f5f657c21e23c4a393d80a1fda05b33727dd4436650c65937958336f0c8ba189356c deviceinfo
|
|
|
|
fe4ea91d89f4c1f93efed0bbee8b6ddadccaa2bf0623b15fb598758dfe1fa347aaf3d60b4a67e270a1716ffaae98c158ea6d574d0ca2e4895c7ee768c357abdc initfs-hook.sh
|
|
|
|
"
|