2020-01-10 16:36:18 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Contributor: Filip Matijević <filip.matijevic.pz@gmail.com>
|
2018-01-21 15:09:38 +00:00
|
|
|
pkgname=device-nokia-n9
|
2018-01-09 16:42:55 +00:00
|
|
|
pkgver=1
|
2020-01-28 14:40:18 +00:00
|
|
|
pkgrel=9
|
2018-01-09 16:42:55 +00:00
|
|
|
pkgdesc="Nokia N9"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="armhf"
|
2018-01-09 16:42:55 +00:00
|
|
|
license="MIT"
|
2018-02-26 22:11:44 +00:00
|
|
|
depends="postmarketos-base linux-nokia-n9 ofono watchdog-kick"
|
2020-01-10 16:36:18 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2018-01-09 16:42:55 +00:00
|
|
|
subpackages="$pkgname-weston:weston"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
initfs-hook.sh
|
|
|
|
weston.ini
|
|
|
|
"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2018-01-09 16:42:55 +00:00
|
|
|
|
2020-01-10 16:36:18 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2018-01-09 16:42:55 +00:00
|
|
|
package() {
|
2020-01-10 16:36:18 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2018-01-09 16:42:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
weston() {
|
|
|
|
install_if="$pkgname weston"
|
|
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
|
|
|
}
|
|
|
|
|
2018-02-26 22:11:44 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="linux-firmware"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2018-12-25 19:25:32 +00:00
|
|
|
sha512sums="dd0457232d9cb7bb33a2e1895797d1e2ca8684f4ec99804de9752315270e4d5e4b532fe38d8bb1bc483ca0620695810b88bf65fd1bf6a97189efc48c2e6d12d2 deviceinfo
|
2018-01-09 16:42:55 +00:00
|
|
|
61d9e6bf94f3b9cab0ccb2e18c18e5886a08aae5e70fe5e7b7d7cc2a8d655dc11cdec603731c4328dd288f13ba3aa9328f2fc46e7a473be3da31767786978b05 initfs-hook.sh
|
2018-05-05 14:27:13 +00:00
|
|
|
de794566118f1744d068a94e6a75b61d43f6749a4b0871a5270fa7a2048164d609c71fcffa61845c2a7dd4cb5fbeb72c0e4f8b73b382f36d6ff0bcc9b8a5ae25 weston.ini"
|