Skip to content

Commit

Permalink
Merge pull request LibreELEC#3373 from antonlacon/libidn2
Browse files Browse the repository at this point in the history
image: add libidn2 to system image
  • Loading branch information
MilhouseVH committed May 9, 2019
2 parents d6593e0 + e8db57f commit 1816bad
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 10 deletions.
Expand Up @@ -7,7 +7,7 @@ PKG_SHA256="4ebc271e9e5cea84a683375a0f7e91086e5dac90c5d51bb3f169f75386107a62"
PKG_LICENSE="GPLv3"
PKG_SITE="http://lftp.yar.ru/"
PKG_URL="http://lftp.yar.ru/ftp/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain readline openssl zlib"
PKG_DEPENDS_TARGET="toolchain readline openssl zlib libidn2"
PKG_LONGDESC="A sophisticated ftp/http client, and a file transfer program supporting a number of network protocols."

PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
Expand Down
3 changes: 3 additions & 0 deletions packages/addons/service/tvheadend42/changelog.txt
@@ -1,3 +1,6 @@
119
- Use system libidn2

118
- update to 4.2.7-44
- fix tv_grab_file usage of & in urls
Expand Down
3 changes: 1 addition & 2 deletions packages/addons/service/tvheadend42/package.mk
Expand Up @@ -5,7 +5,7 @@ PKG_NAME="tvheadend42"
PKG_VERSION="5c218500579d5bd1c1f7e7a4b5f7f0fb35baa626"
PKG_SHA256="a9fe5a4c36aa185e3f0a73a709f0dc05794ae9c12f5d888985b559ff68a2508d"
PKG_VERSION_NUMBER="4.2.7-44"
PKG_REV="118"
PKG_REV="119"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.tvheadend.org"
Expand Down Expand Up @@ -114,7 +114,6 @@ addon() {
cp -PL $(get_build_dir gnutls)/.INSTALL_PKG/usr/lib/libgnutls.so.30 $ADDON_BUILD/$PKG_ADDON_ID/lib
cp -PL $(get_build_dir nettle)/.install_pkg/usr/lib/libnettle.so.6 $ADDON_BUILD/$PKG_ADDON_ID/lib
cp -PL $(get_build_dir nettle)/.install_pkg/usr/lib/libhogweed.so.4 $ADDON_BUILD/$PKG_ADDON_ID/lib
cp -PL $(get_build_dir libidn2)/.install_pkg/usr/lib/libidn2.so.4 $ADDON_BUILD/$PKG_ADDON_ID/lib
cp -PL $(get_build_dir gmp)/.install_pkg/usr/lib/libgmp.so.10 $ADDON_BUILD/$PKG_ADDON_ID/lib

# set only version (revision will be added by buildsystem)
Expand Down
3 changes: 3 additions & 0 deletions packages/addons/tools/ffmpeg-tools/changelog.txt
@@ -1,3 +1,6 @@
106
- Use system libidn2

105
- Removed FDK-AAC
- Build with GNUTLS
Expand Down
3 changes: 1 addition & 2 deletions packages/addons/tools/ffmpeg-tools/package.mk
Expand Up @@ -3,7 +3,7 @@

PKG_NAME="ffmpeg-tools"
PKG_VERSION="1.0"
PKG_REV="105"
PKG_REV="106"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://libreelec.tv"
Expand All @@ -25,7 +25,6 @@ addon() {
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib
cp -PL $(get_build_dir gmp)/.install_pkg/usr/lib/libgmp.so.10 $ADDON_BUILD/$PKG_ADDON_ID/lib
cp -PL $(get_build_dir gnutls)/.INSTALL_PKG/usr/lib/libgnutls.so.30 $ADDON_BUILD/$PKG_ADDON_ID/lib
cp -PL $(get_build_dir libidn2)/.install_pkg/usr/lib/libidn2.so.4 $ADDON_BUILD/$PKG_ADDON_ID/lib
cp -PL $(get_build_dir nettle)/.install_pkg/usr/lib/libhogweed.so.4 $ADDON_BUILD/$PKG_ADDON_ID/lib
cp -PL $(get_build_dir nettle)/.install_pkg/usr/lib/libnettle.so.6 $ADDON_BUILD/$PKG_ADDON_ID/lib
}
4 changes: 2 additions & 2 deletions packages/sysutils/systemd/package.mk
Expand Up @@ -8,7 +8,7 @@ PKG_SHA256="ec22be9a5dd94c9640e6348ed8391d1499af8ca2c2f01109198a414cff6c6cba"
PKG_LICENSE="LGPL2.1+"
PKG_SITE="http://www.freedesktop.org/wiki/Software/systemd"
PKG_URL="https://github.com/systemd/systemd/archive/v$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain libcap kmod util-linux entropy"
PKG_DEPENDS_TARGET="toolchain libcap kmod util-linux entropy libidn2"
PKG_LONGDESC="A system and session manager for Linux, compatible with SysV and LSB init scripts."

PKG_MESON_OPTS_TARGET="--libdir=/usr/lib \
Expand All @@ -31,7 +31,7 @@ PKG_MESON_OPTS_TARGET="--libdir=/usr/lib \
-Dlibcryptsetup=false \
-Dlibcurl=false \
-Dlibidn=false \
-Dlibidn2=false \
-Dlibidn2=true \
-Dlibiptc=false \
-Dqrencode=false \
-Dgcrypt=false \
Expand Down
12 changes: 10 additions & 2 deletions packages/textproc/libidn2/package.mk
Expand Up @@ -2,10 +2,18 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)

PKG_NAME="libidn2"
PKG_VERSION="2.1.0"
PKG_SHA256="032398dbaa9537af43f51a8d94e967e3718848547b1b2a4eb3138b20cad11d32"
PKG_VERSION="2.1.1a"
PKG_SHA256="57666bcf6ecf54230d7bac95c392379561954b57a673903aed4d3336b3048b72"
PKG_LICENSE="LGPL3"
PKG_SITE="https://www.gnu.org/software/libidn/"
PKG_URL="http://ftpmirror.gnu.org/gnu/libidn/libidn2-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Free software implementation of IDNA2008, Punycode and TR46."

PKG_CONFIGURE_OPTS_TARGET="--disable-doc \
--enable-shared \
--disable-static"

post_makeinstall_target() {
safe_remove ${INSTALL}/usr/bin
}
2 changes: 1 addition & 1 deletion packages/virtual/libc/package.mk
Expand Up @@ -7,7 +7,7 @@ PKG_VERSION=""
PKG_LICENSE="GPL"
PKG_SITE="https://libreelec.tv"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain glibc tz"
PKG_DEPENDS_TARGET="toolchain glibc tz libidn2"
PKG_DEPENDS_INIT="toolchain glibc:init"
PKG_SECTION="virtual"
PKG_LONGDESC="Meta package for installing various tools and libs needed for libc"
Expand Down

0 comments on commit 1816bad

Please sign in to comment.