2018-05-05 20:29:02 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-samsung-kminilte
|
2018-05-05 20:29:02 +00:00
|
|
|
pkgdesc="Samsung Galaxy S5 Mini"
|
|
|
|
pkgver=0.1
|
2022-01-20 22:01:52 +00:00
|
|
|
pkgrel=12
|
2018-05-05 20:29:02 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2020-04-06 14:23:55 +00:00
|
|
|
arch="armv7"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2018-05-05 20:29:02 +00:00
|
|
|
depends="postmarketos-base linux-samsung-kminilte mkbootimg mesa-dri-swrast"
|
|
|
|
makedepends="devicepkg-dev"
|
2020-04-05 14:29:46 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2018-08-11 12:33:48 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
fb.modes
|
2020-04-16 07:38:12 +00:00
|
|
|
udev/60-persistent-v4l.rules
|
|
|
|
"
|
2018-05-05 20:29:02 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2018-08-11 12:33:48 +00:00
|
|
|
install -Dm644 "$srcdir"/fb.modes "$pkgdir"/etc/fb.modes
|
2020-04-16 07:38:12 +00:00
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/60-persistent-v4l.rules \
|
|
|
|
"$pkgdir"/etc/udev/rules.d/60-persistent-v4l.rules
|
2018-05-05 20:29:02 +00:00
|
|
|
}
|
|
|
|
|
2020-04-05 14:29:46 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Non-free firmware for Samsung Galaxy S5 Mini"
|
|
|
|
depends="firmware-samsung-kminilte"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
2018-08-23 00:44:46 +00:00
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
190428b4b14c0d180fe23b49c545c0a34463f45935de191d7dba57057c1c689188e6f94b84e1ad790da74d83694f5cda98c1e3f34a16c61937cd51ddd1c2baf4 deviceinfo
|
2020-04-16 07:38:12 +00:00
|
|
|
245efec73f85ef715c877d6c24eb4b7b677d250bd38167dc19b1b0ed84c3ea91049576adbbf21dd48940c08e40f0294a1a01b0ab3e56efd794109a7e7ebc1104 fb.modes
|
2021-09-18 17:06:03 +00:00
|
|
|
b8bf2e3ec166af6acbbfaaa2b57b053473c0b12df007090eecf7a885aee2e3cd5d982819e2ee73e2817e5266b9875dc9240389bca409d5523f3cfa8037fa7870 60-persistent-v4l.rules
|
|
|
|
"
|