2021-08-19 02:30:54 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2022-03-05 01:00:55 +00:00
|
|
|
# Maintainer: omame <me@omame.xyz>
|
2021-08-19 02:30:54 +00:00
|
|
|
pkgname=device-samsung-j6primelte
|
|
|
|
pkgdesc="Samsung Galaxy J6+"
|
2022-03-05 01:00:55 +00:00
|
|
|
pkgver=0.5
|
2024-01-21 22:56:08 +00:00
|
|
|
pkgrel=3
|
2021-08-19 02:30:54 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
linux-samsung-j6primelte
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
msm-fb-refresher
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
2022-03-05 01:00:55 +00:00
|
|
|
brightness.start
|
2021-08-19 02:30:54 +00:00
|
|
|
"
|
2021-08-19 17:04:46 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2021-08-19 02:30:54 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2022-03-05 01:00:55 +00:00
|
|
|
install -Dm755 "$srcdir"/brightness.start -t "$pkgdir"/etc/local.d
|
2021-08-19 02:30:54 +00:00
|
|
|
}
|
|
|
|
|
2021-08-19 17:04:46 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Proprietary firmware for things such as Wi-Fi"
|
|
|
|
depends="firmware-samsung-j6primelte wcnss-wlan adsp-audio"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-08-19 02:30:54 +00:00
|
|
|
sha512sums="
|
2021-09-18 17:06:03 +00:00
|
|
|
2b66b119564ed469927d7f41e6abf3fb20c99c8a022da9478b0ece1ecbf50a9527925d8c2b87a91fc2b9575741b295bd4dfb0057e3ce41c231b2f0fd82da0bd9 deviceinfo
|
2022-03-05 01:00:55 +00:00
|
|
|
7456a61514aabc557c77acacbac18cf167d0f675470cd6529f62c35fc0e1278ef3ca497f48ded813627e86e383664fa15ac124c45dd5c8558c746aee73e5fc10 brightness.start
|
2021-08-19 02:30:54 +00:00
|
|
|
"
|