7fc133578e
According to the wiki pages, some interfaces can't be built for the armhf architecture. This device is configured to armhf but it actually supports armv7 architecture. Tested with a samsung-i9300.
36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-samsung-i9305
|
|
pkgver=1
|
|
pkgrel=27
|
|
pkgdesc="Samsung Galaxy SIII LTE"
|
|
url="https://postmarketos.org"
|
|
arch="armv7"
|
|
license="MIT"
|
|
depends="postmarketos-base linux-samsung-i9305 mkbootimg mesa-dri-swrast"
|
|
makedepends="devicepkg-dev"
|
|
install="$pkgname.post-install"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="
|
|
deviceinfo
|
|
90-android-touch-dev.rules
|
|
"
|
|
options="!check !archcheck"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wifi firmware"
|
|
depends="firmware-samsung-i9305"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="08b1afd30769b9d958713bf60d928212f338ed3b84e72663f6a239b67e7a3738275c38dccb4fce2c880af41b9354058b85f4b597ef9f36cc16c987c29ff14a21 deviceinfo
|
|
d70a03210458c771f94db920a8d3162a03fc7727f0fbafef4c1575ebc659c937c082f5c7a4dcdd1572925b973d628c6f4cf895c3b8b2a59af8142824468fe7c4 90-android-touch-dev.rules"
|