a85db1dc7b
At the moment we have Contributor: lines on some packages (but not all of them), but often they don't represent the actual contributors to the package very well. E.g. when we added them retroactively to the device packages we only added the initial contributor (which isn't necessarily the person who made most of the work for a device...) The Git history is the most representative source for figuring out who contributed to a package, so there is no reason to duplicate that into the APKBUILD. [skip ci]: way too many packages
68 lines
2.2 KiB
Text
68 lines
2.2 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-samsung-golden
|
|
pkgdesc="Samsung Galaxy S III mini"
|
|
pkgver=1
|
|
pkgrel=5
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armv7"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base mkbootimg"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
"
|
|
source="
|
|
deviceinfo
|
|
kwin.sh
|
|
downstream/init-usb-hook.sh
|
|
downstream/modules-load-wifi.conf
|
|
downstream/module-config.conf
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
kernel_downstream() {
|
|
pkgdesc="Downstream kernel"
|
|
depends="linux-samsung-golden mesa-dri-swrast"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
# USB
|
|
install -Dm644 "$srcdir"/init-usb-hook.sh \
|
|
"$subpkgdir"/etc/postmarketos-mkinitfs/hooks/00-init_usb.sh
|
|
|
|
# WiFi kernel module configuration
|
|
install -Dm644 "$srcdir"/modules-load-wifi.conf \
|
|
"$subpkgdir"/etc/modules-load.d/00-load-wifi.conf
|
|
install -Dm644 "$srcdir"/module-config.conf \
|
|
"$subpkgdir"/etc/modprobe.d/00-module-config.conf
|
|
}
|
|
|
|
kernel_mainline() {
|
|
pkgdesc="Mainline kernel"
|
|
depends="linux-postmarketos-novathor mesa-git-dri-gallium"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
# Plasma Mobile
|
|
install -Dm644 "$srcdir"/kwin.sh "$subpkgdir"/etc/profile.d/kwin.sh
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="WiFi/BT firmware"
|
|
depends="firmware-samsung-golden"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="bd33d9e25ac79fdbfe25a945fd2383a439446bf53af02dd97d8cb4e2807a42e0978722041044f0b0ac0f903f2d130d810b38d9db00e82690642fac311ca2624f deviceinfo
|
|
685ec71484a932c59f83f1039d4d18a010a5849342e96d9e15ae8ce64374aac15073f9c51d7d9f270c60e70d2ea15c685b8f528cdc40f991b093b9227cba6a48 kwin.sh
|
|
769f76b2b0dc5279c514181f6cc915c045562df0c1fe08c54b6588d11ff2c75441a3a4f78d6dde669c82e1c572a66bdde475da3e289d334e3255fcf15430c044 init-usb-hook.sh
|
|
61e8becbf6fa7c1c6c42e481083f5981ae7af33a48cbc53e817d8ac2c6a8e4f67a54b32ae3b8f5f25f7b412165a849dc93a629110dc47b0d16927bf2a12eb7e1 modules-load-wifi.conf
|
|
436900f627e4ec7e8359bfa6b5d0ac98c69cdd3f3b5e68d23354fa87d79beef866afd6c4cf27b97e9b608cce44fe8d116594f3b08520c9c05624bcf58b61c7f1 module-config.conf"
|