mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #6852 from heitbaum/pkgtoolchain1
migrate to cmake and meson builds
This commit is contained in:
commit
074c452bfd
@ -10,7 +10,5 @@ PKG_URL="https://github.com/mm2/Little-CMS/releases/download/lcms${PKG_VERSION}/
|
||||
PKG_DEPENDS_TARGET="toolchain tiff"
|
||||
PKG_LONGDESC="An small-footprint color management engine, with special focus on accuracy and performance."
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
|
||||
--enable-static"
|
||||
PKG_MESON_OPTS_TARGET="--default-library static"
|
||||
|
@ -10,11 +10,7 @@ PKG_SITE="https://github.com/open-source-parsers/jsoncpp/"
|
||||
PKG_URL="https://github.com/open-source-parsers/jsoncpp/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A C++ library for interacting with JSON."
|
||||
PKG_TOOLCHAIN="cmake"
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET="-DJSONCPP_WITH_TESTS=OFF \
|
||||
-DJSONCPP_WITH_EXAMPLE=OFF \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DBUILD_STATIC_LIBS=ON \
|
||||
-DBUILD_OBJECT_LIBS=OFF"
|
||||
PKG_MESON_OPTS_TARGET="-Dtests=false \
|
||||
--default-library static"
|
||||
|
@ -9,9 +9,12 @@ PKG_SITE="http://www.linuxfromscratch.org/blfs/view/cvs/basicnet/nghttp2.html"
|
||||
PKG_URL="https://github.com/nghttp2/nghttp2/releases/download/v${PKG_VERSION}/nghttp2-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="nghttp2 is an implementation of HTTP/2 and its header compression algorithm, HPACK."
|
||||
PKG_TOOLCHAIN="configure"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-lib-only"
|
||||
PKG_CMAKE_OPTS_TARGET="-DENABLE_DOC=OFF \
|
||||
-DENABLE_FAILMALLOC=OFF \
|
||||
-DENABLE_LIB_ONLY=ON \
|
||||
-DENABLE_SHARED_LIB=ON \
|
||||
-DENABLE_STATIC_LIB=OFF"
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -r "${INSTALL}/usr/share"
|
||||
|
Loading…
x
Reference in New Issue
Block a user