Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3611 from MilhouseVH/le92_pigz
buildsystem: use pigz when compressing images [backport]
- Loading branch information
Showing
4 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) | ||
|
||
PKG_NAME="pigz" | ||
PKG_VERSION="2.4" | ||
PKG_SHA256="e228e7d18b34c4ece8d596eb6eee97bde533c6beedbb728d07d3abe90b4b1b52" | ||
PKG_LICENSE="Other" | ||
PKG_SITE="https://zlib.net/pigz/" | ||
PKG_URL="https://github.com/madler/pigz/archive/v${PKG_VERSION}.tar.gz" | ||
PKG_DEPENDS_HOST="make:host zlib:host" | ||
PKG_LONGDESC="a parallel implementation of the gzip file compressor" | ||
PKG_TOOLCHAIN="manual" | ||
|
||
make_host() { | ||
make CPPFLAGS="${CPPFLAGS} -I${TOOLCHAIN}/include" \ | ||
LDFLAGS="${LDFLAGS}" \ | ||
CXX="${CXX}" \ | ||
CC="${CC}" \ | ||
pigz | ||
} | ||
|
||
makeinstall_host() { | ||
mkdir -p $TOOLCHAIN/bin | ||
cp pigz ${TOOLCHAIN}/bin | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) | ||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) | ||
|
||
PKG_NAME="toolchain" | ||
PKG_VERSION="" | ||
PKG_LICENSE="GPL" | ||
PKG_SITE="https://libreelec.tv" | ||
PKG_URL="" | ||
PKG_DEPENDS_TARGET="configtools:host make:host xz:host sed:host pkg-config:host autoconf:host automake:host intltool:host libtool:host autoconf-archive:host gcc:host bison:host flex:host cmake:host xmlstarlet:host p7zip:host ninja:host meson:host" | ||
PKG_DEPENDS_TARGET="configtools:host make:host xz:host sed:host pkg-config:host autoconf:host automake:host intltool:host libtool:host autoconf-archive:host gcc:host bison:host flex:host cmake:host xmlstarlet:host p7zip:host pigz:host ninja:host meson:host" | ||
PKG_SECTION="virtual" | ||
PKG_LONGDESC="LibreELEC.tv' toolchain to compile all packages" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters