2022-07-27 11:02:32 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
|
|
|
|
pkgname=device-samsung-a6plte
|
|
|
|
pkgdesc="Samsung Galaxy A6+ (2018)"
|
2023-10-18 12:41:46 +00:00
|
|
|
pkgver=1.4
|
|
|
|
pkgrel=0
|
2022-07-27 11:02:32 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
linux-postmarketos-qcom-msm8953
|
|
|
|
lk2nd-msm8953
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
soc-qcom-msm8916
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware $pkgname-phosh"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2022-07-27 11:02:32 +00:00
|
|
|
gpu-nobin.sh
|
|
|
|
phoc.ini
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
|
|
|
|
install -D -m644 "$srcdir"/gpu-nobin.sh \
|
|
|
|
"$pkgdir"/etc/profile.d/gpu-nobin.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="WiFi, Bluetooth, ADSP, Venus and GPU Firmware"
|
2023-10-01 02:45:09 +00:00
|
|
|
depends="
|
|
|
|
firmware-samsung-a6plte
|
|
|
|
linux-firmware-qcom
|
|
|
|
msm-firmware-loader"
|
2022-07-27 11:02:32 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel phosh"
|
|
|
|
install -Dm644 "$srcdir"/phoc.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-09-18 08:14:59 +00:00
|
|
|
5cf251bd1e6826235a11648cd761206ba425afb801d6ee9a4529ed519cc79494edfbadac64b81c03785c0a5c70d224c3f997e1921d9a586681834807b680867a deviceinfo
|
2023-10-18 12:41:46 +00:00
|
|
|
e178cc887ce85bd0fd6eb4c8cb8a4869e1d82c5cb4549c7ea12b2ae8a13b35ffa85dd8d529b8e8612710379687a42a6c2c135857c0c537cf7db99ddd955e2b9f modules-initfs
|
2022-07-27 11:02:32 +00:00
|
|
|
bea40516cf51b4ad0609cc21ca56c19eb9cb2b1be45cddf486264d9c526469f1abad313a95a4f938ccbd0c023d08884aefe8d850746a97075999de11b4a2ff4c gpu-nobin.sh
|
|
|
|
38409d4ce48db4624539dbfd695d3c6e1596a29fd7c3004a41368b28cba646495d05360420ad728f82c63d6ddeeca71d09944df06ebaca120aedd9cc2b436eb3 phoc.ini
|
|
|
|
"
|