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 BUILDTIME="$(date --utc)"
|
||||
|
||||
cat > "${PKG_BUILD}/go.mod" << EOF
|
||||
cat >"${PKG_BUILD}/go.mod" <<EOF
|
||||
module github.com/docker/cli
|
||||
|
||||
go 1.18
|
||||
|
@ -31,7 +31,7 @@ configure_target() {
|
||||
export VERSION=${PKG_VERSION}
|
||||
export BUILDTIME="$(date --utc)"
|
||||
|
||||
cat > "${PKG_BUILD}/go.mod" << EOF
|
||||
cat >"${PKG_BUILD}/go.mod" <<EOF
|
||||
module github.com/docker/docker
|
||||
|
||||
go 1.18
|
||||
|
@ -13,7 +13,7 @@ PKG_LONGDESC="Tini is a simplest init system."
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@ pre_configure_target() {
|
||||
cd ${PKG_BUILD}
|
||||
rm -rf .${TARGET_NAME}
|
||||
|
||||
# HW encoders
|
||||
# HW encoders
|
||||
|
||||
# Generic
|
||||
if [[ "${TARGET_ARCH}" = "x86_64" ]]; then
|
||||
@ -69,7 +69,7 @@ pre_configure_target() {
|
||||
--enable-encoder=libx265"
|
||||
fi
|
||||
|
||||
# Encoders
|
||||
# Encoders
|
||||
PKG_FFMPEG_ENCODERS="\
|
||||
`#Video encoders` \
|
||||
--enable-libvpx \
|
||||
@ -91,7 +91,7 @@ pre_configure_target() {
|
||||
--enable-libvorbis \
|
||||
--enable-encoder=libvorbis"
|
||||
|
||||
# X11 grab for screen recording
|
||||
# X11 grab for screen recording
|
||||
if [ "${DISPLAYSERVER}" = "x11" ]; then
|
||||
PKG_FFMPEG_LIBS+=" -lX11"
|
||||
PKG_FFMPEG_X11_GRAB="\
|
||||
@ -165,6 +165,6 @@ configure_target() {
|
||||
--enable-libxml2 \
|
||||
\
|
||||
`#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 \
|
||||
--disable-shared"
|
||||
|
||||
post_makeinstall_target(){
|
||||
post_makeinstall_target() {
|
||||
cp ${PKG_BUILD}/id3tag.pc ${SYSROOT_PREFIX}/usr/lib/pkgconfig
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ fi
|
||||
|
||||
post_makeinstall_target() {
|
||||
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
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
|
@ -23,8 +23,8 @@ PKG_CONFIGURE_OPTS_TARGET="LIBS=-lpthread \
|
||||
--disable-canusb"
|
||||
|
||||
pre_configure_target() {
|
||||
# When cross-compiling, configure can't set linux version
|
||||
# forcing it
|
||||
# When cross-compiling, configure can't set linux version
|
||||
# forcing it
|
||||
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"
|
||||
|
||||
pre_configure_target() {
|
||||
# nmap fails to build in subdirs
|
||||
# nmap fails to build in subdirs
|
||||
cd ${PKG_BUILD}
|
||||
rm -rf .${TARGET_NAME}
|
||||
|
||||
|
@ -26,4 +26,3 @@ make_target() {
|
||||
python setup.py build
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -20,6 +20,6 @@ makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/bin
|
||||
cp -p dool ${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
|
||||
}
|
||||
|
@ -18,4 +18,3 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_utempter_h=no \
|
||||
--disable-use-locale \
|
||||
--disable-telnet \
|
||||
--disable-socket-dir"
|
||||
|
||||
|
@ -23,7 +23,7 @@ pre_configure_target() {
|
||||
}
|
||||
|
||||
pre_make_target() {
|
||||
cat > Make.config <<EOF
|
||||
cat >Make.config <<EOF
|
||||
PLUGINLIBDIR = /usr/lib/vdr
|
||||
PREFIX = /usr
|
||||
VIDEODIR = /storage/videos
|
||||
|
Loading…
x
Reference in New Issue
Block a user