From 483c1676ce60c534d8a38215ada8e9b9320e6824 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Fri, 28 Apr 2023 12:34:26 +0000 Subject: [PATCH] libimobiledevice: update to githash 73b6fd1 --- .../addon-depends/libimobiledevice/package.mk | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/addons/addon-depends/libimobiledevice/package.mk b/packages/addons/addon-depends/libimobiledevice/package.mk index bc72d3f4ac..5c17c5c307 100644 --- a/packages/addons/addon-depends/libimobiledevice/package.mk +++ b/packages/addons/addon-depends/libimobiledevice/package.mk @@ -2,12 +2,12 @@ # Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) PKG_NAME="libimobiledevice" -PKG_VERSION="1.3.0" -PKG_SHA256="53f2640c6365cd9f302a6248f531822dc94a6cced3f17128d4479a77bd75b0f6" +PKG_VERSION="73b6fd183872096f20e6d1007429546a317a7cb1" +PKG_SHA256="854cb9e2671fdf5a2fca609e5e247ab498218b1659a2e5e2b47cf7c1392cec46" PKG_LICENSE="GPL" PKG_SITE="http://www.libimobiledevice.org" -PKG_URL="https://github.com/libimobiledevice/libimobiledevice/releases/download/${PKG_VERSION}/libimobiledevice-${PKG_VERSION}.tar.bz2" -PKG_DEPENDS_TARGET="toolchain libusbmuxd openssl" +PKG_URL="https://github.com/libimobiledevice/libimobiledevice/archive/${PKG_VERSION}.tar.gz" +PKG_DEPENDS_TARGET="toolchain libimobiledevice-glue libplist libusbmuxd openssl" PKG_LONGDESC="A cross-platform software library that talks the protocols to support Apple devices." PKG_TOOLCHAIN="autotools" @@ -16,11 +16,11 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \ --without-cython \ --disable-largefile" +configure_package() { + # if using a git hash as a package version - set RELEASE_VERSION + export RELEASE_VERSION="$(sed -n '1,/RE/s/Version \(.*\)/\1/p' ${PKG_BUILD}/NEWS)-git-${PKG_VERSION:0:7}" +} + post_configure_target() { libtool_remove_rpath libtool } - -post_makeinstall_target() { - mkdir -p "${SYSROOT_PREFIX}/usr/include/lib/libimobiledevice" - cp ${PKG_BUILD}/common/utils.h "${SYSROOT_PREFIX}/usr/include/libimobiledevice" -}