2020-01-10 10:32:55 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Contributor: Alex Roth <alex@magmastone.net>
|
2017-11-05 20:10:19 +00:00
|
|
|
pkgname="device-samsung-i747m"
|
2018-02-26 22:11:44 +00:00
|
|
|
pkgdesc="Samsung Galaxy SIII (USA/Canada)"
|
2017-11-05 20:10:19 +00:00
|
|
|
pkgver=0.1
|
2020-01-28 14:40:18 +00:00
|
|
|
pkgrel=10
|
2017-11-05 20:10:19 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="armhf"
|
|
|
|
options="!check !archcheck"
|
2018-02-26 22:11:44 +00:00
|
|
|
depends="postmarketos-base linux-samsung-i747m mkbootimg mesa-dri-swrast"
|
2020-01-10 10:32:55 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2017-11-05 20:10:19 +00:00
|
|
|
source="deviceinfo 90-android-touch-dev.rules fb.modes"
|
2018-02-26 22:11:44 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2017-11-05 20:10:19 +00:00
|
|
|
|
2020-01-10 10:32:55 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2017-11-05 20:10:19 +00:00
|
|
|
package() {
|
2020-01-10 10:32:55 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2017-11-05 20:10:19 +00:00
|
|
|
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
|
|
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
|
|
install -Dm644 "$srcdir"/fb.modes \
|
|
|
|
"$pkgdir"/etc/fb.modes
|
|
|
|
}
|
|
|
|
|
2018-02-26 22:11:44 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-samsung-i747m"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2020-03-07 18:48:29 +00:00
|
|
|
sha512sums="eca2bdb42c674adffb1346484cf8175dc17bd3fddace3d841dee765f16549dc7665ca0538d96f715213d32a755ba0697aa47a9312de7f6d432528ff0ddba00e7 deviceinfo
|
2017-11-05 20:10:19 +00:00
|
|
|
1ef4aa9206e6aa61cef80dd4fd4dc2d834e3582e40978d2da8a768964bbaa854a4068fb263e4dcc3cb1a745d42ebf5d457084801dd28fa2de50706ed5a5a9c7c 90-android-touch-dev.rules
|
|
|
|
bd5aba648930678aea38d2a67e584c94f5ab53d235c8f6ce785bc7e31db00e1cdf08fb84fd3fe78bd7b409a4120b2c7beadf77e028ec8580d4df48248a2c414f fb.modes"
|