mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
cleanup packages: addons/addon-depends/
This commit is contained in:
parent
e2dde32012
commit
6352bca894
@ -24,7 +24,7 @@ configure_target() {
|
|||||||
export VERSION=${PKG_VERSION}
|
export VERSION=${PKG_VERSION}
|
||||||
export BUILDTIME="$(date --utc)"
|
export BUILDTIME="$(date --utc)"
|
||||||
|
|
||||||
cat > "${PKG_BUILD}/go.mod" << EOF
|
cat >"${PKG_BUILD}/go.mod" <<EOF
|
||||||
module github.com/docker/cli
|
module github.com/docker/cli
|
||||||
|
|
||||||
go 1.18
|
go 1.18
|
||||||
|
@ -31,7 +31,7 @@ configure_target() {
|
|||||||
export VERSION=${PKG_VERSION}
|
export VERSION=${PKG_VERSION}
|
||||||
export BUILDTIME="$(date --utc)"
|
export BUILDTIME="$(date --utc)"
|
||||||
|
|
||||||
cat > "${PKG_BUILD}/go.mod" << EOF
|
cat >"${PKG_BUILD}/go.mod" <<EOF
|
||||||
module github.com/docker/docker
|
module github.com/docker/docker
|
||||||
|
|
||||||
go 1.18
|
go 1.18
|
||||||
|
@ -13,7 +13,7 @@ PKG_LONGDESC="Tini is a simplest init system."
|
|||||||
|
|
||||||
PKG_MAKE_OPTS_TARGET="tini-static"
|
PKG_MAKE_OPTS_TARGET="tini-static"
|
||||||
|
|
||||||
pre_configure_target(){
|
pre_configure_target() {
|
||||||
sed -i "s|@tini_VERSION_GIT@| - git.${PKG_VERSION}|" ${PKG_BUILD}/src/tiniConfig.h.in
|
sed -i "s|@tini_VERSION_GIT@| - git.${PKG_VERSION}|" ${PKG_BUILD}/src/tiniConfig.h.in
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ pre_configure_target() {
|
|||||||
cd ${PKG_BUILD}
|
cd ${PKG_BUILD}
|
||||||
rm -rf .${TARGET_NAME}
|
rm -rf .${TARGET_NAME}
|
||||||
|
|
||||||
# HW encoders
|
# HW encoders
|
||||||
|
|
||||||
# Generic
|
# Generic
|
||||||
if [[ "${TARGET_ARCH}" = "x86_64" ]]; then
|
if [[ "${TARGET_ARCH}" = "x86_64" ]]; then
|
||||||
@ -69,7 +69,7 @@ pre_configure_target() {
|
|||||||
--enable-encoder=libx265"
|
--enable-encoder=libx265"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Encoders
|
# Encoders
|
||||||
PKG_FFMPEG_ENCODERS="\
|
PKG_FFMPEG_ENCODERS="\
|
||||||
`#Video encoders` \
|
`#Video encoders` \
|
||||||
--enable-libvpx \
|
--enable-libvpx \
|
||||||
@ -91,7 +91,7 @@ pre_configure_target() {
|
|||||||
--enable-libvorbis \
|
--enable-libvorbis \
|
||||||
--enable-encoder=libvorbis"
|
--enable-encoder=libvorbis"
|
||||||
|
|
||||||
# X11 grab for screen recording
|
# X11 grab for screen recording
|
||||||
if [ "${DISPLAYSERVER}" = "x11" ]; then
|
if [ "${DISPLAYSERVER}" = "x11" ]; then
|
||||||
PKG_FFMPEG_LIBS+=" -lX11"
|
PKG_FFMPEG_LIBS+=" -lX11"
|
||||||
PKG_FFMPEG_X11_GRAB="\
|
PKG_FFMPEG_X11_GRAB="\
|
||||||
@ -165,6 +165,6 @@ configure_target() {
|
|||||||
--enable-libxml2 \
|
--enable-libxml2 \
|
||||||
\
|
\
|
||||||
`#Advanced options` \
|
`#Advanced options` \
|
||||||
--disable-hardcoded-tables \
|
--disable-hardcoded-tables
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,6 @@ PKG_LONGDESC="A library for id3 tagging."
|
|||||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||||
--disable-shared"
|
--disable-shared"
|
||||||
|
|
||||||
post_makeinstall_target(){
|
post_makeinstall_target() {
|
||||||
cp ${PKG_BUILD}/id3tag.pc ${SYSROOT_PREFIX}/usr/lib/pkgconfig
|
cp ${PKG_BUILD}/id3tag.pc ${SYSROOT_PREFIX}/usr/lib/pkgconfig
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,7 @@ fi
|
|||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
mkdir -p ${SYSROOT_PREFIX}/usr/lib/pkgconfig
|
mkdir -p ${SYSROOT_PREFIX}/usr/lib/pkgconfig
|
||||||
cat > ${SYSROOT_PREFIX}/usr/lib/pkgconfig/mad.pc << "EOF"
|
cat >${SYSROOT_PREFIX}/usr/lib/pkgconfig/mad.pc <<"EOF"
|
||||||
prefix=/usr
|
prefix=/usr
|
||||||
exec_prefix=${prefix}
|
exec_prefix=${prefix}
|
||||||
libdir=${exec_prefix}/lib
|
libdir=${exec_prefix}/lib
|
||||||
|
@ -23,8 +23,8 @@ PKG_CONFIGURE_OPTS_TARGET="LIBS=-lpthread \
|
|||||||
--disable-canusb"
|
--disable-canusb"
|
||||||
|
|
||||||
pre_configure_target() {
|
pre_configure_target() {
|
||||||
# When cross-compiling, configure can't set linux version
|
# When cross-compiling, configure can't set linux version
|
||||||
# forcing it
|
# forcing it
|
||||||
sed -i -e 's/ac_cv_linux_vers=unknown/ac_cv_linux_vers=2/' ../configure
|
sed -i -e 's/ac_cv_linux_vers=unknown/ac_cv_linux_vers=2/' ../configure
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
|||||||
--with-zenmap=no"
|
--with-zenmap=no"
|
||||||
|
|
||||||
pre_configure_target() {
|
pre_configure_target() {
|
||||||
# nmap fails to build in subdirs
|
# nmap fails to build in subdirs
|
||||||
cd ${PKG_BUILD}
|
cd ${PKG_BUILD}
|
||||||
rm -rf .${TARGET_NAME}
|
rm -rf .${TARGET_NAME}
|
||||||
|
|
||||||
|
@ -26,4 +26,3 @@ make_target() {
|
|||||||
python setup.py build
|
python setup.py build
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,6 +20,6 @@ makeinstall_target() {
|
|||||||
mkdir -p ${INSTALL}/usr/bin
|
mkdir -p ${INSTALL}/usr/bin
|
||||||
cp -p dool ${INSTALL}/usr/bin
|
cp -p dool ${INSTALL}/usr/bin
|
||||||
cp -pr plugins ${INSTALL}/usr/bin
|
cp -pr plugins ${INSTALL}/usr/bin
|
||||||
printf "#!/bin/sh\n\necho \"\${0} has been replaced by dool\"" > ${INSTALL}/usr/bin/dstat
|
printf "#!/bin/sh\n\necho \"\${0} has been replaced by dool\"" >${INSTALL}/usr/bin/dstat
|
||||||
chmod 755 ${INSTALL}/usr/bin/dstat
|
chmod 755 ${INSTALL}/usr/bin/dstat
|
||||||
}
|
}
|
||||||
|
@ -18,4 +18,3 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_utempter_h=no \
|
|||||||
--disable-use-locale \
|
--disable-use-locale \
|
||||||
--disable-telnet \
|
--disable-telnet \
|
||||||
--disable-socket-dir"
|
--disable-socket-dir"
|
||||||
|
|
||||||
|
@ -48,8 +48,8 @@ pre_makeinstall_target() {
|
|||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
(
|
(
|
||||||
cd ${INSTALL}/storage/.kodi/addons/virtual.system-tools/data/vim
|
cd ${INSTALL}/storage/.kodi/addons/virtual.system-tools/data/vim
|
||||||
rm -r doc tutor gvimrc_example.vim
|
rm -r doc tutor gvimrc_example.vim
|
||||||
mv vimrc_example.vim vimrc
|
mv vimrc_example.vim vimrc
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@ pre_configure_target() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pre_make_target() {
|
pre_make_target() {
|
||||||
cat > Make.config <<EOF
|
cat >Make.config <<EOF
|
||||||
PLUGINLIBDIR = /usr/lib/vdr
|
PLUGINLIBDIR = /usr/lib/vdr
|
||||||
PREFIX = /usr
|
PREFIX = /usr
|
||||||
VIDEODIR = /storage/videos
|
VIDEODIR = /storage/videos
|
||||||
|
Loading…
x
Reference in New Issue
Block a user