a31244d28a
* Travis and Coveralls badges * aports: instead of <https://github.com/postmarketOS>, use <https://postmarketos.org> * References to full URLs to issues and pull requests replaced with a hash and the number * grsec check: simplify error message, remove link to github issue (nobody is using that anymore anyway)
45 lines
1.3 KiB
Text
45 lines
1.3 KiB
Text
pkgname=device-sony-amami
|
|
pkgver=2
|
|
pkgrel=0
|
|
pkgdesc="Sony Xperia Z1 Compact"
|
|
url="https://postmarketos.org"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="postmarketos-base mkbootimg mdss-fb-init-hack mesa-dri-swrast"
|
|
makedepends=""
|
|
install=""
|
|
subpackages="
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
"
|
|
source="deviceinfo 90-android-touch-dev.rules"
|
|
options="!check"
|
|
|
|
package() {
|
|
install -D -m644 "$srcdir/deviceinfo" \
|
|
"$pkgdir/etc/deviceinfo"
|
|
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
}
|
|
|
|
kernel_downstream() {
|
|
pkgdesc="Display and wifi works (see device table for details)"
|
|
depends="linux-sony-amami"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
kernel_mainline() {
|
|
pkgdesc="For kernel development only (most features aren't working)"
|
|
depends="linux-postmarketos-mainline"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wifi firmware"
|
|
depends="firmware-sony-amami"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="e6daf310a259483da1e1e8be66693dea876f8d1fa6db001c37035d913d7de6e5f1be4a40fae7dcaff404d1953b4c5a58b31d8e6b593b72b56b64ba78f859717c deviceinfo
|
|
8b6034c0338ab4c7d648f47983aad6da07e427e7dba47baabf85a1b3ddeeda47c8d7fbcd547a302c9a759b2943ee30d3e82c3b368d8582833a058e4671638a9e 90-android-touch-dev.rules"
|