2020-01-10 16:49:40 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Contributor: Oliver Smith <ollieparanoid@postmarketos.org>
|
2017-05-26 20:26:25 +00:00
|
|
|
pkgname=device-samsung-i9100
|
|
|
|
pkgver=1
|
2020-03-17 22:58:50 +00:00
|
|
|
pkgrel=27
|
2017-05-26 20:26:25 +00:00
|
|
|
pkgdesc="Samsung Galaxy SII"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2020-03-17 22:58:50 +00:00
|
|
|
arch="armv7"
|
2017-05-31 17:10:29 +00:00
|
|
|
license="MIT"
|
2018-02-26 22:11:44 +00:00
|
|
|
depends="postmarketos-base linux-samsung-i9100 libsamsung-ipc mesa-dri-swrast"
|
2020-01-10 16:49:40 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2017-09-14 18:18:12 +00:00
|
|
|
install="$pkgname.post-install"
|
2018-02-26 22:11:44 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2017-09-14 18:18:12 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
90-android-touch-dev.rules
|
|
|
|
"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2017-05-26 20:26:25 +00:00
|
|
|
|
2020-01-10 16:49:40 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2017-05-26 20:26:25 +00:00
|
|
|
package() {
|
2020-01-10 16:49:40 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2017-09-11 15:29:22 +00:00
|
|
|
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
|
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
2017-05-26 20:26:25 +00:00
|
|
|
}
|
|
|
|
|
2018-02-26 22:11:44 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-samsung-i9100"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2020-03-17 22:58:50 +00:00
|
|
|
sha512sums="906ec6fe4552fb6eb2d0c330637e4249ac4ef51f9fab53a47fb0dc288a56ca3aae4e6393a6f5c05ac6345748f79369c604fcac4355e017a558197a205ebddea9 deviceinfo
|
2019-04-11 08:05:15 +00:00
|
|
|
089635daddd88eec35451bfe98dc3713035e3623c896dd21305b990ecf422e8fbb54e010cf347919bbb3a7385f639ab119280477fe0783df3228168d97d96fc6 90-android-touch-dev.rules"
|