f1e0404fb8
[ci:ignore-count] [ci:skip-vercheck] needed for the postmarketos-ui-* packages in this series [ci:skip-build] already built ui-* packages in CI, and device pacakges are just trivial deviceinfo change (manually built some just to verify)
52 lines
1.3 KiB
Text
52 lines
1.3 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-samsung-skomer
|
|
pkgdesc="Samsung Galaxy Xcover 2"
|
|
pkgver=4
|
|
pkgrel=1
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armv7"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-stericsson mesa-dri-gallium"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
$pkgname-kwin
|
|
$pkgname-phosh
|
|
"
|
|
source="
|
|
deviceinfo
|
|
kwin.sh
|
|
rootston.ini
|
|
"
|
|
|
|
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
|
|
}
|
|
|
|
phosh() {
|
|
install_if="$pkgname postmarketos-ui-phosh"
|
|
install -Dm644 "$srcdir"/rootston.ini \
|
|
"$subpkgdir"/etc/phosh/rootston.ini
|
|
}
|
|
|
|
sha512sums="
|
|
c2db40438578f28b3318938a5d902a34bfdd93feea70ed77c3e46ec12618957aa0c27fff78ec8152b50bcb5de8ba0321f427fee37e380a63e2944946b7cd6934 deviceinfo
|
|
685ec71484a932c59f83f1039d4d18a010a5849342e96d9e15ae8ce64374aac15073f9c51d7d9f270c60e70d2ea15c685b8f528cdc40f991b093b9227cba6a48 kwin.sh
|
|
95576332f1ad579d30359df9a3efcc3f478c56688509b5c470a70e8ae41466dbb397fb6db7578b5c54e13795ab8cf869b5c63ba775951817a8bb3d4c682bdfd5 rootston.ini
|
|
"
|