2020-01-10 10:32:55 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2017-10-04 17:20:17 +00:00
|
|
|
pkgname=device-samsung-i9305
|
|
|
|
pkgver=1
|
2020-05-17 13:33:49 +00:00
|
|
|
pkgrel=26
|
2017-10-04 17:20:17 +00:00
|
|
|
pkgdesc="Samsung Galaxy SIII LTE"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="armhf"
|
2017-10-04 17:20:17 +00:00
|
|
|
license="MIT"
|
2018-02-26 22:11:44 +00:00
|
|
|
depends="postmarketos-base linux-samsung-i9305 mkbootimg mesa-dri-swrast"
|
2020-01-10 10:32:55 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2017-10-04 17:20:17 +00:00
|
|
|
install="$pkgname.post-install"
|
2018-02-26 22:11:44 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2017-10-04 17:20:17 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
90-android-touch-dev.rules
|
|
|
|
"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2017-10-04 17:20:17 +00:00
|
|
|
|
2020-01-10 10:32:55 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2017-10-04 17:20:17 +00:00
|
|
|
package() {
|
2020-01-10 10:32:55 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2017-10-04 17:20:17 +00:00
|
|
|
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
|
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
|
|
}
|
|
|
|
|
2018-02-26 22:11:44 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-samsung-i9305"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2020-05-17 13:33:49 +00:00
|
|
|
sha512sums="67763e348fa209f4891e00cb2ada26edc20132f56851e54e1ee05b6408abf5398ef9c661bc4d2fd3e5f3df1e84ad687cfb218d59c000f8ec612c2aa446a3336c deviceinfo
|
2019-04-11 08:05:15 +00:00
|
|
|
d70a03210458c771f94db920a8d3162a03fc7727f0fbafef4c1575ebc659c937c082f5c7a4dcdd1572925b973d628c6f4cf895c3b8b2a59af8142824468fe7c4 90-android-touch-dev.rules"
|