pmaports/device/archived/linux-motorola-ocean-downstream/APKBUILD

49 lines
1.7 KiB
Text
Raw Permalink Normal View History

device: rename unmaintained to archived (MR 5046) Unmaintained is a name which on multiple occasions have seen lead to confusion with people having the impression that unmaintained is for all unmaintained devices, which is not how we're really using it. Many devices in testing do not actually have a maintainer, yet there has been no push to move these out of there and into unmaintained. I think this is a result of that unmaintained was introduced not to keep unmaintained ports but rather a place to store ports that have a better replacement but where the inferior one still holds some sort of value, such as for debugging purposes. These ports also are not necessarily entirely unmaintained and see more fixes than many ports in testing. While one approach to solving this problem could be to simply moving all unmaintained ports to unmaintained, I think this comes with some problems: It would require an initial effort to figure out which ports are indeed unmaintained and which just don't have a maintained noted in the package, and given how many ports there are in testing this would be a big endeavour. It would also require continuous work on moving ports into unmaintained as the maintainers go silent if we are to keep testing and unmaintained's state consistent with reality. Additionally, just because a port doesn't have a maintainer on paper doens't mean that there aren't people who aren't willing to fix it up if there are issues that arise. As such, I think the way to go is renaming unmaintained to better reflect the original intent. Thanks to Luca Weiss for suggesting "archive", and to Arnav Singh for suggesting that "archived" would match the other category names better.
2024-04-18 17:19:42 +00:00
# Archived: Downstream port, only for testing. Use mainline port (motorola-ocean)!
# Reference: <https://postmarketos.org/vendorkernel>
# Kernel config based on: arch/arm64/configs/ocean_defconfig
pkgname=linux-motorola-ocean-downstream
pkgver=4.9.206
pkgrel=1
pkgdesc="Motorola Moto G7 Power kernel fork"
arch="aarch64"
_carch="arm64"
_flavor="motorola-ocean"
url="https://kernel.org"
license="GPL-2.0-only"
options="!strip !check !tracedeps pmb:cross-native"
makedepends="bash bc bison devicepkg-dev flex openssl-dev perl dtc"
# Source
_repository="android_kernel_motorola_sdm632"
_commit="8f94fe92fabc32ead1a726545adcc16d4d233058"
_config="config-$_flavor.$arch"
source="
$pkgname-$_commit.tar.gz::https://github.com/erfanoabdi/$_repository/archive/$_commit.tar.gz
$_config
disable_skip_initramfs.patch
"
builddir="$srcdir/$_repository-$_commit"
_outdir="out"
prepare() {
default_prepare
. downstreamkernel_prepare
}
build() {
unset LDFLAGS
DTC_EXT="dtc" make O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
}
package() {
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor" "$_outdir"
}
sha512sums="
20ff9ba981b3818df07ffc7421357e19e12cd50d5fb7b9b2bcc7aaa8bf82dbf8d60b92f91142dc10aa12b253a7a8403f7bbb8096cbbbacf3624646b8fd951c72 linux-motorola-ocean-downstream-8f94fe92fabc32ead1a726545adcc16d4d233058.tar.gz
4238c3feec82d1944a2e4c13cedd6856efa6425a2258502fb8b3b2590ad15ceb970c557f078b4210f435f9d3e93c0e56122735622c4d05bfaaa52bf71b412858 config-motorola-ocean.aarch64
186ab6850d93497cb54b97bb36c884d8b75140b7f37ce2971725364376fb1f0975b92ccf7fb01e438a13dd17552642463ff6f945fa09b5f9ba9ac72f344a42d8 disable_skip_initramfs.patch
"