main/libsparse: remove (!661)
The sparse image tools (img2simg, simg2img, append2simg) are now part of Alpine's android-tools package where they are continously updated. (See https://github.com/nmeum/android-tools/pull/8) Remove "libsparse" as depends from all packages because it is either: - installed automatically by pmbootstrap when needed for deviceinfo_flash_sparse="true" (device-chuwi-hi10plus, device-htc-flounder, device-lg-bullhead, device-semc-anzu, device-xiaomi-kenzo) - seemingly unused(?) (device-asus-z00t, linux-motorola-falcon, linux-motorola-peregrine) [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
dbc13e0626
commit
bdb1bdc87b
9 changed files with 15 additions and 46 deletions
|
@ -2,12 +2,12 @@
|
||||||
pkgname="device-asus-z00t"
|
pkgname="device-asus-z00t"
|
||||||
pkgdesc="Zenfone 2 Laser/Selfie (1080p)"
|
pkgdesc="Zenfone 2 Laser/Selfie (1080p)"
|
||||||
pkgver=0.1
|
pkgver=0.1
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
arch="aarch64"
|
arch="aarch64"
|
||||||
options="!check !archcheck"
|
options="!check !archcheck"
|
||||||
depends="postmarketos-base linux-asus-z00t mkbootimg mesa-dri-swrast libsparse msm-fb-refresher"
|
depends="postmarketos-base linux-asus-z00t mkbootimg mesa-dri-swrast msm-fb-refresher"
|
||||||
makedepends="devicepkg-dev"
|
makedepends="devicepkg-dev"
|
||||||
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||||||
source="
|
source="
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
pkgname="device-chuwi-hi10plus"
|
pkgname="device-chuwi-hi10plus"
|
||||||
pkgdesc="CHUWI Hi10 Plus"
|
pkgdesc="CHUWI Hi10 Plus"
|
||||||
pkgver=0.2
|
pkgver=0.2
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
arch="x86_64"
|
arch="x86_64"
|
||||||
options="!check !archcheck"
|
options="!check !archcheck"
|
||||||
depends="postmarketos-base linux-chuwi-hi10plus mkbootimg mesa-dri-intel libva-intel-driver libsparse wireless-regdb pulseaudio pulseaudio-alsa alsa-plugins-pulse"
|
depends="postmarketos-base linux-chuwi-hi10plus mkbootimg mesa-dri-intel libva-intel-driver wireless-regdb pulseaudio pulseaudio-alsa alsa-plugins-pulse"
|
||||||
makedepends="devicepkg-dev"
|
makedepends="devicepkg-dev"
|
||||||
subpackages="
|
subpackages="
|
||||||
$pkgname-nonfree-firmware:nonfree_firmware
|
$pkgname-nonfree-firmware:nonfree_firmware
|
||||||
|
|
|
@ -2,18 +2,18 @@
|
||||||
pkgname="device-htc-flounder"
|
pkgname="device-htc-flounder"
|
||||||
pkgdesc="Google Nexus 9"
|
pkgdesc="Google Nexus 9"
|
||||||
pkgver=0.1
|
pkgver=0.1
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="gpl-v3"
|
license="gpl-v3"
|
||||||
arch="aarch64"
|
arch="aarch64"
|
||||||
options="!check !archcheck"
|
options="!check !archcheck"
|
||||||
depends="postmarketos-base linux-htc-flounder mkbootimg mesa-dri-swrast libsparse"
|
depends="postmarketos-base linux-htc-flounder mkbootimg mesa-dri-swrast"
|
||||||
makedepends="devicepkg-dev"
|
makedepends="devicepkg-dev"
|
||||||
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||||||
source="deviceinfo"
|
source="deviceinfo"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
devicepkg_build $startdir $pkgname
|
devicepkg_build $startdir $pkgname
|
||||||
}
|
}
|
||||||
package() {
|
package() {
|
||||||
devicepkg_package $startdir $pkgname
|
devicepkg_package $startdir $pkgname
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
pkgname="device-lg-bullhead"
|
pkgname="device-lg-bullhead"
|
||||||
pkgdesc="Google Nexus 5X"
|
pkgdesc="Google Nexus 5X"
|
||||||
pkgver=0.1
|
pkgver=0.1
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
arch="aarch64"
|
arch="aarch64"
|
||||||
options="!check !archcheck"
|
options="!check !archcheck"
|
||||||
depends="postmarketos-base linux-lg-bullhead mkbootimg mesa-dri-swrast libsparse msm-fb-refresher"
|
depends="postmarketos-base linux-lg-bullhead mkbootimg mesa-dri-swrast msm-fb-refresher"
|
||||||
makedepends="devicepkg-dev"
|
makedepends="devicepkg-dev"
|
||||||
source="deviceinfo"
|
source="deviceinfo"
|
||||||
|
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
pkgname=device-semc-anzu
|
pkgname=device-semc-anzu
|
||||||
pkgdesc="Xperia Arc"
|
pkgdesc="Xperia Arc"
|
||||||
pkgver=1
|
pkgver=1
|
||||||
pkgrel=8
|
pkgrel=9
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
arch="armhf"
|
arch="armhf"
|
||||||
options="!check !archcheck"
|
options="!check !archcheck"
|
||||||
depends="postmarketos-base linux-semc-anzu msm-fb-refresher mkbootimg libsparse mesa-dri-swrast"
|
depends="postmarketos-base linux-semc-anzu msm-fb-refresher mkbootimg mesa-dri-swrast"
|
||||||
makedepends="devicepkg-dev"
|
makedepends="devicepkg-dev"
|
||||||
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||||||
source="
|
source="
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
pkgname="device-xiaomi-kenzo"
|
pkgname="device-xiaomi-kenzo"
|
||||||
pkgdesc="Xiaomi Redmi Note 3"
|
pkgdesc="Xiaomi Redmi Note 3"
|
||||||
pkgver=0.1
|
pkgver=0.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
arch="aarch64"
|
arch="aarch64"
|
||||||
options="!check !archcheck"
|
options="!check !archcheck"
|
||||||
depends="postmarketos-base linux-xiaomi-kenzo mkbootimg mesa-dri-swrast mdss-fb-init-hack libsparse"
|
depends="postmarketos-base linux-xiaomi-kenzo mkbootimg mesa-dri-swrast mdss-fb-init-hack"
|
||||||
makedepends="devicepkg-dev"
|
makedepends="devicepkg-dev"
|
||||||
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||||||
source="deviceinfo"
|
source="deviceinfo"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
pkgname="linux-motorola-falcon"
|
pkgname="linux-motorola-falcon"
|
||||||
pkgver=3.4.113
|
pkgver=3.4.113
|
||||||
pkgrel=4
|
pkgrel=5
|
||||||
pkgdesc="Moto G (2013) kernel fork"
|
pkgdesc="Moto G (2013) kernel fork"
|
||||||
arch="armhf"
|
arch="armhf"
|
||||||
_carch="arm"
|
_carch="arm"
|
||||||
|
@ -10,7 +10,6 @@ _flavor="motorola-falcon"
|
||||||
url="https://kernel.org"
|
url="https://kernel.org"
|
||||||
license="GPL2"
|
license="GPL2"
|
||||||
options="!strip !check !tracedeps"
|
options="!strip !check !tracedeps"
|
||||||
depends="libsparse"
|
|
||||||
makedepends="coreutils perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev xz dtbtool gcc6"
|
makedepends="coreutils perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev xz dtbtool gcc6"
|
||||||
|
|
||||||
# Compiler: this kernel was only tested with GCC6. Feel free to make a merge
|
# Compiler: this kernel was only tested with GCC6. Feel free to make a merge
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
pkgname="linux-motorola-peregrine"
|
pkgname="linux-motorola-peregrine"
|
||||||
pkgver=3.4.113
|
pkgver=3.4.113
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="Moto G 4G (2013) kernel fork"
|
pkgdesc="Moto G 4G (2013) kernel fork"
|
||||||
arch="armhf"
|
arch="armhf"
|
||||||
_carch="arm"
|
_carch="arm"
|
||||||
|
@ -10,7 +10,6 @@ _flavor="motorola-peregrine"
|
||||||
url="https://kernel.org"
|
url="https://kernel.org"
|
||||||
license="GPL2"
|
license="GPL2"
|
||||||
options="!strip !check !tracedeps"
|
options="!strip !check !tracedeps"
|
||||||
depends="libsparse"
|
|
||||||
makedepends="coreutils perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev xz dtbtool gcc6"
|
makedepends="coreutils perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev xz dtbtool gcc6"
|
||||||
|
|
||||||
# Compiler: this kernel was only tested with GCC6. Feel free to make a merge
|
# Compiler: this kernel was only tested with GCC6. Feel free to make a merge
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
pkgname=libsparse
|
|
||||||
pkgver="1.0.0"
|
|
||||||
pkgrel=2
|
|
||||||
pkgdesc="Android Sparse library"
|
|
||||||
url="https://android.googlesource.com"
|
|
||||||
arch="all"
|
|
||||||
license="APACHE2"
|
|
||||||
depends="python3"
|
|
||||||
makedepends="zlib-dev"
|
|
||||||
subpackages=""
|
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/anestisb/android-simg2img/archive/${pkgver}.tar.gz"
|
|
||||||
options="!check"
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "$srcdir"/android-simg2img-"$pkgver"
|
|
||||||
sed -i -e 's./usr/bin/env python./usr/bin/env python3.' simg_dump.py
|
|
||||||
make sparse
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "$srcdir"/android-simg2img-"$pkgver"
|
|
||||||
|
|
||||||
for i in append2simg img2simg simg2img simg2simg simg_dump.py; do
|
|
||||||
install -D -m755 "$i" "$pkgdir"/usr/bin/"$i"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
sha512sums="e43ad20760243ee88441d3016dea776224373377a5f0d367fca2da8b44f4dcc17c779ad2aed79b2f04861f4e56ec3472c0f2dc5c8fc12dc87f57d608cfc8faf6 libsparse-1.0.0.tar.gz"
|
|
Loading…
Reference in a new issue