2020-06-21 12:35:57 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-skomer
|
|
|
|
pkgdesc="Samsung Galaxy Xcover 2"
|
2021-07-02 20:17:05 +00:00
|
|
|
pkgver=4
|
2021-06-04 09:08:04 +00:00
|
|
|
pkgrel=0
|
2020-06-21 12:35:57 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
2020-08-18 07:49:04 +00:00
|
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-stericsson mesa-dri-gallium"
|
2020-06-21 12:35:57 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-kwin
|
2021-06-04 09:08:04 +00:00
|
|
|
$pkgname-phosh
|
2020-06-21 12:35:57 +00:00
|
|
|
"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
kwin.sh
|
2021-06-04 09:08:04 +00:00
|
|
|
rootston.ini
|
2020-06-21 12:35:57 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="WiFi/BT firmware"
|
|
|
|
depends="firmware-samsung-u8500"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
kwin() {
|
|
|
|
install_if="$pkgname kwin"
|
|
|
|
install -Dm644 "$srcdir"/kwin.sh "$subpkgdir"/etc/profile.d/kwin.sh
|
|
|
|
}
|
|
|
|
|
2021-06-04 09:08:04 +00:00
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname postmarketos-ui-phosh"
|
|
|
|
install -Dm644 "$srcdir"/rootston.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/rootston.ini
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2021-07-01 11:23:13 +00:00
|
|
|
a14172ea41ac008c111533c69b032e1b3b16d7a7ce08b6c9c5285ce037adc3b198fea0229afe39f988b019b79be14621cafbd17e533211efd73f05367dfe0801 deviceinfo
|
2021-06-04 09:08:04 +00:00
|
|
|
685ec71484a932c59f83f1039d4d18a010a5849342e96d9e15ae8ce64374aac15073f9c51d7d9f270c60e70d2ea15c685b8f528cdc40f991b093b9227cba6a48 kwin.sh
|
2021-07-02 20:17:05 +00:00
|
|
|
95576332f1ad579d30359df9a3efcc3f478c56688509b5c470a70e8ae41466dbb397fb6db7578b5c54e13795ab8cf869b5c63ba775951817a8bb3d4c682bdfd5 rootston.ini
|
2021-06-04 09:08:04 +00:00
|
|
|
"
|