device/device-sony-amami: fix APKBUILD (!874)
This commit is contained in:
parent
868b67e32a
commit
dcd83e579e
1 changed files with 11 additions and 7 deletions
|
@ -1,13 +1,14 @@
|
||||||
|
# Reference: <https://postmarketos.org/devicepkg>
|
||||||
|
# Contributor: Attila Szöllősi <ata@openmailbox.org>
|
||||||
pkgname=device-sony-amami
|
pkgname=device-sony-amami
|
||||||
pkgver=3
|
pkgver=3
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="Sony Xperia Z1 Compact"
|
pkgdesc="Sony Xperia Z1 Compact"
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
arch="armv7"
|
arch="armv7"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
depends="postmarketos-base mkbootimg mdss-fb-init-hack mesa-dri-swrast"
|
depends="postmarketos-base mkbootimg mdss-fb-init-hack mesa-dri-swrast"
|
||||||
makedepends=""
|
makedepends="devicepkg-dev"
|
||||||
install=""
|
|
||||||
subpackages="
|
subpackages="
|
||||||
$pkgname-kernel-downstream:kernel_downstream
|
$pkgname-kernel-downstream:kernel_downstream
|
||||||
$pkgname-kernel-mainline:kernel_mainline
|
$pkgname-kernel-mainline:kernel_mainline
|
||||||
|
@ -16,9 +17,12 @@ subpackages="
|
||||||
source="deviceinfo 90-android-touch-dev.rules fb.modes"
|
source="deviceinfo 90-android-touch-dev.rules fb.modes"
|
||||||
options="!check !archcheck"
|
options="!check !archcheck"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
devicepkg_build $startdir $pkgname
|
||||||
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -D -m644 "$srcdir/deviceinfo" \
|
devicepkg_package $startdir $pkgname
|
||||||
"$pkgdir/etc/deviceinfo"
|
|
||||||
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
||||||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||||
install -D -m644 "$srcdir"/fb.modes \
|
install -D -m644 "$srcdir"/fb.modes \
|
||||||
|
@ -28,13 +32,13 @@ package() {
|
||||||
kernel_downstream() {
|
kernel_downstream() {
|
||||||
pkgdesc="Display and wifi works (see device table for details)"
|
pkgdesc="Display and wifi works (see device table for details)"
|
||||||
depends="linux-sony-amami"
|
depends="linux-sony-amami"
|
||||||
mkdir "$subpkgdir"
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||||
}
|
}
|
||||||
|
|
||||||
kernel_mainline() {
|
kernel_mainline() {
|
||||||
pkgdesc="For kernel development only (most features aren't working)"
|
pkgdesc="For kernel development only (most features aren't working)"
|
||||||
depends="linux-postmarketos-mainline"
|
depends="linux-postmarketos-mainline"
|
||||||
mkdir "$subpkgdir"
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||||
}
|
}
|
||||||
|
|
||||||
nonfree_firmware() {
|
nonfree_firmware() {
|
||||||
|
|
Loading…
Reference in a new issue