samsung-j6primelte: Proprietary firmware (MR 2451)
This commit is contained in:
parent
169a653565
commit
8e60170a9e
2 changed files with 33 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
# Maintainer: omame <me@omame.tech>
|
# Maintainer: omame <me@omame.tech>
|
||||||
pkgname=device-samsung-j6primelte
|
pkgname=device-samsung-j6primelte
|
||||||
pkgdesc="Samsung Galaxy J6+"
|
pkgdesc="Samsung Galaxy J6+"
|
||||||
pkgver=0.3
|
pkgver=0.4
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -20,6 +20,7 @@ source="
|
||||||
deviceinfo
|
deviceinfo
|
||||||
brightness
|
brightness
|
||||||
"
|
"
|
||||||
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
devicepkg_build $startdir $pkgname
|
devicepkg_build $startdir $pkgname
|
||||||
|
@ -30,6 +31,12 @@ package() {
|
||||||
install -Dm755 "$srcdir"/brightness "$pkgdir"/etc/local.d/brightness
|
install -Dm755 "$srcdir"/brightness "$pkgdir"/etc/local.d/brightness
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nonfree_firmware() {
|
||||||
|
pkgdesc="Proprietary firmware for things such as Wi-Fi"
|
||||||
|
depends="firmware-samsung-j6primelte wcnss-wlan adsp-audio"
|
||||||
|
mkdir "$subpkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
420369e9a2569615e848d9c84561f28f4416a72ff325d17d55ecd9c7300c94542f8cde842eb300776e1bc5500952b8348816d3e318cbd5c31fbd1215d707815b deviceinfo
|
420369e9a2569615e848d9c84561f28f4416a72ff325d17d55ecd9c7300c94542f8cde842eb300776e1bc5500952b8348816d3e318cbd5c31fbd1215d707815b deviceinfo
|
||||||
85582c47239d5f9cd899f3f6ed9df860e3b44a8855e13a7bc37777b22111f0511cd371a344fb52eb77cb5d1b1989661b07ea1ee6916f425643d13e4ca5261894 brightness
|
85582c47239d5f9cd899f3f6ed9df860e3b44a8855e13a7bc37777b22111f0511cd371a344fb52eb77cb5d1b1989661b07ea1ee6916f425643d13e4ca5261894 brightness
|
||||||
|
|
25
device/testing/firmware-samsung-j6primelte/APKBUILD
Normal file
25
device/testing/firmware-samsung-j6primelte/APKBUILD
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Maintainer: omame <me@omame.tech>
|
||||||
|
pkgname=firmware-samsung-j6primelte
|
||||||
|
pkgver=0.1
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Firmware for the Samsung Galaxy J6+ (j6primelte)"
|
||||||
|
_repository="pmos-j6primelte-firmware-blobs"
|
||||||
|
url="https://github.com/omaemae/$_repository"
|
||||||
|
arch="noarch"
|
||||||
|
license="proprietary"
|
||||||
|
options="!check !archcheck !strip !spdx"
|
||||||
|
|
||||||
|
# Source
|
||||||
|
_commit="c3b880b288658b0810ab5b59255937d573d8f776"
|
||||||
|
source="$pkgname-$_commit.tar.gz::$url/archive/$_commit.tar.gz"
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir"/$_repository-$_commit/blobs
|
||||||
|
for file in $(find * -type f); do
|
||||||
|
install -Dm644 $file "$pkgdir"/lib/firmware/postmarketos/$file
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
7b2c84ec71cb9641a99fb791f630ce4a9128f4f8d73aebaa563f959ae8caddab8e36280ce4e051520664a3dba61d5ba5974ef9d98fcc356314432b61eed87d1b firmware-samsung-j6primelte-c3b880b288658b0810ab5b59255937d573d8f776.tar.gz
|
||||||
|
"
|
Loading…
Reference in a new issue