de2bba9e58
Download: https://wiki.postmarketos.org/index.php?title=Special:CargoExport&tables=Devices&&fields=Codename%2C+Released&&group+by=Codename&order+by=%60Codename%60%2C+%60Released%60&limit=5000&format=csv cd device for device in device-*; do year=$(grep -oP "${device#device-},\K2\d{3}" ../results.csv) [[ -n "$year" ]] || continue sed -i "s/deviceinfo_date=\"\"/deviceinfo_year=\"$year\"/" "$device/deviceinfo" done devices=$(git ls-files -m -- . | xargs dirname | sort -u | xargs echo) pmbootstrap checksum $devices
30 lines
812 B
Text
30 lines
812 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Contributor: William O-D
|
|
pkgname="device-samsung-espresso10"
|
|
pkgdesc="Samsung Galaxy Tab 2 (10.1 inch)"
|
|
pkgver=0.1
|
|
pkgrel=10
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armhf"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-samsung-espresso10 mkbootimg mesa-dri-swrast"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wifi firmware"
|
|
depends="firmware-samsung-espresso10"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="a6cb9b1ab65e627f9454c0ae48904bb9c762c6339a90870ebfe4a2aca0f5920b5aefc648eef89c3b7f87718511efd4b706ef5fbc479703be38e4606a941c22f3 deviceinfo"
|