2023-07-03 16:02:49 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-on7xelte
|
|
|
|
pkgdesc="Samsung Galaxy J7 Prime"
|
|
|
|
pkgver=0.1
|
2023-06-05 21:11:15 +00:00
|
|
|
pkgrel=4
|
2023-07-03 16:02:49 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
linux-samsung-on7xelte
|
|
|
|
mkbootimg
|
|
|
|
msm-fb-refresher
|
|
|
|
postmarketos-base
|
2023-09-11 17:41:06 +00:00
|
|
|
samsungipcd
|
2023-07-03 16:02:49 +00:00
|
|
|
"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware $pkgname-lightdm"
|
|
|
|
makedepends="devicepkg-dev"
|
2023-09-11 17:41:06 +00:00
|
|
|
install="$pkgname.post-install"
|
2023-07-03 16:02:49 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
lightdm.conf
|
2023-09-11 17:41:06 +00:00
|
|
|
mount-efs.rc-init
|
|
|
|
samsungipcd.rc-conf
|
2023-07-03 16:02:49 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2023-09-11 17:41:06 +00:00
|
|
|
|
|
|
|
# Mounting EFS Partition
|
|
|
|
install -Dm755 mount-efs.rc-init "$pkgdir"/etc/init.d/mount-efs
|
|
|
|
|
|
|
|
# Modem Configuration - samsungipcd
|
|
|
|
install -Dm644 samsungipcd.rc-conf "$pkgdir"/etc/conf.d/samsungipcd
|
2023-07-03 16:02:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Proprietary Firmware blobs"
|
|
|
|
depends="firmware-samsung-on7xelte"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
lightdm() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel lightdm"
|
|
|
|
install -Dm644 lightdm.conf \
|
|
|
|
"$subpkgdir"/etc/lightdm/lightdm.conf.d/00-on7xelte.conf
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-06-05 21:11:15 +00:00
|
|
|
c3bc3d148916699b6c2843f9bc8b53103345bc352f8803ba174a1555b086c0a3f9e9755de28b5519a705eec2db77f7b3afa5cc872ea8cd7a003e99cb1803991a deviceinfo
|
2023-07-03 16:02:49 +00:00
|
|
|
baee319b6d2f49a15680b0f322ec3e398a071d73fbf7713d14f26a1d027f8950457a482ac3f019605af3dfcf25bbb33ebaa0ffde181f7f96d911d56251c81eef lightdm.conf
|
2023-09-11 17:41:06 +00:00
|
|
|
efbe3d6217854c0131e61f9f3722100d349cb0673f4923bc3d56dae30a6346b0c33e676a39fc4c080150f6ea9457bf268abf870eea916a7d5daae1a22642a2b8 mount-efs.rc-init
|
|
|
|
3e5bb764529010d2b6b1f2759a7799f665d140aebcee2dd63433e68cd4282e09b5d3b34fb7c21e737595b406501e7f02ece4592651c60e4c2b9419de4aedb438 samsungipcd.rc-conf
|
2023-07-03 16:02:49 +00:00
|
|
|
"
|