mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-27 01:03:18 +02:00
libimobiledevice: remove in Gentoo's favour
This commit is contained in:
parent
3ad1ec6a8e
commit
6cc14e4c06
7 changed files with 0 additions and 209 deletions
|
|
@ -1,2 +0,0 @@
|
|||
DIST libimobiledevice-glue-1.0.0.gh.tar.gz 43281 BLAKE2B 6948d18cba94e41ecc98dbad7061386c361758eb82500802021adda519b9f832326e41ccd9a0564df72322c85a7db9f50dd1d1fad2d4be6783bd51d7e0010963 SHA512 a8dea2ebeb87e793f426f90fe5095fa836a743253d97a45f62fb4865166e0dfefe82d76bcfb01434c3f6df4a21223ac93f45d98f2624b16973cdd931db5e69ed
|
||||
DIST libimobiledevice-glue-1.1.0.gh.tar.gz 46384 BLAKE2B 5b8954d7580d529d66f84f679df278252b22a9793dbe4f6e95529e861931677544ccc3493595740d7788d3885f5ee1682acc03b7db1c5407889daf0a86ce09b3 SHA512 4814306372407a7d35e5df22326bb76ece808548a4c44e250ec5efc08c3f9823a719be71072af2e09aa61dcc98d93cd62a85ac15595191686094a276181a281b
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Library with common code used by the libraries and tools around the libimobiledevice project"
|
||||
HOMEPAGE="https://www.libimobiledevice.org/"
|
||||
SRC_URI="https://github.com/libimobiledevice/libimobiledevice-glue/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
#SLOT="0/2.0-6" # based on SONAME of libusbmuxd-2.0.so
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="
|
||||
>=app-pda/libplist-2.3.0:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
#define version in AC_INIT
|
||||
sed -i -e "s|m4_esyscmd(./git-version-gen \$RELEASE_VERSION)|${PV}|g" configure.ac || die
|
||||
eautoreconf
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Library with common code used by the libraries and tools around the libimobiledevice project"
|
||||
HOMEPAGE="https://www.libimobiledevice.org/"
|
||||
SRC_URI="https://github.com/libimobiledevice/libimobiledevice-glue/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
#SLOT="0/2.0-6" # based on SONAME of libusbmuxd-2.0.so
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="
|
||||
>=app-pda/libplist-2.3.0:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
#define version in AC_INIT
|
||||
sed -i -e "s|m4_esyscmd(./git-version-gen \$RELEASE_VERSION)|${PV}|g" configure.ac || die
|
||||
eautoreconf
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
|
||||
<upstream>
|
||||
<remote-id type="github">libimobiledevice/libimobiledevice-glue</remote-id>
|
||||
</upstream>
|
||||
|
||||
</pkgmetadata>
|
||||
|
|
@ -1 +0,0 @@
|
|||
DIST libimobiledevice-1.3.0_p20240111.tar.gz 404662 BLAKE2B 73859d9664f618720bd840409b2fbaf9d7842bbfe69704d30f5e7a611b7cdceb57c9e8e78ad94fee6b329e271618de1a34efcd9b8d8feefa19daa03515386964 SHA512 fa35682969ad8d98c554306f15e7e845502a4ba0594c66dca8dd75300018c906641d702759b34de92d8221427b905085adf1017436a5c1e7a21e95172ba22ca4
|
||||
|
|
@ -1,116 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit autotools python-r1
|
||||
|
||||
HASH_COMMIT="f723a44513eb5ba5797da24bc2b63d9f09600a6e"
|
||||
|
||||
DESCRIPTION="Support library to communicate with Apple iPhone/iPod Touch devices"
|
||||
HOMEPAGE="https://www.libimobiledevice.org/"
|
||||
SRC_URI="https://github.com/libimobiledevice/libimobiledevice/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
# While COPYING* doesn't mention 'or any later version', all the headers do, hence use +
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0/1.0-6" # based on SONAME of libimobiledevice-1.0.so
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="doc gnutls python static-libs"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="
|
||||
app-pda/libimobiledevice-glue
|
||||
>=app-pda/libplist-2.3.0:=
|
||||
>=app-pda/libusbmuxd-2.0.2:=
|
||||
gnutls? (
|
||||
dev-libs/libgcrypt:0
|
||||
>=dev-libs/libtasn1-1.1
|
||||
>=net-libs/gnutls-2.2.0
|
||||
)
|
||||
!gnutls? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
app-pda/libplist[python(-),${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
# <cython-3 for bug #898666
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/doxygen )
|
||||
python? ( <dev-python/cython-3[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
BUILD_DIR="${S}_build"
|
||||
|
||||
S=${WORKDIR}/${PN}-${HASH_COMMIT}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
#define git-version-gen $RELEASE_VERSION
|
||||
echo ${PV} > .tarball-version
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local ECONF_SOURCE=${S}
|
||||
|
||||
local myeconfargs=( $(use_enable static-libs static) )
|
||||
use gnutls && myeconfargs+=( --disable-openssl )
|
||||
|
||||
do_configure() {
|
||||
mkdir -p "${BUILD_DIR}" || die
|
||||
pushd "${BUILD_DIR}" >/dev/null || die
|
||||
econf "${myeconfargs[@]}" "${@}"
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
do_configure_python() {
|
||||
# Bug 567916
|
||||
local -x PYTHON_LDFLAGS="$(python_get_LIBS)"
|
||||
do_configure "$@"
|
||||
}
|
||||
|
||||
do_configure --without-cython
|
||||
use python && python_foreach_impl do_configure_python
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_compile() {
|
||||
emake -C "${BUILD_DIR}"/cython \
|
||||
VPATH="${S}/cython:$1/cython" \
|
||||
imobiledevice_la_LIBADD="$1/src/libimobiledevice-1.0.la"
|
||||
}
|
||||
|
||||
emake -C "${BUILD_DIR}"
|
||||
use python && python_foreach_impl python_compile "${BUILD_DIR}"
|
||||
|
||||
if use doc; then
|
||||
doxygen "${BUILD_DIR}"/doxygen.cfg || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_install() {
|
||||
emake -C "${BUILD_DIR}/cython" install \
|
||||
DESTDIR="${D}" \
|
||||
VPATH="${S}/cython:$1/cython"
|
||||
}
|
||||
|
||||
emake -C "${BUILD_DIR}" install DESTDIR="${D}"
|
||||
use python && python_foreach_impl python_install "${BUILD_DIR}"
|
||||
use doc && dodoc docs/html/*
|
||||
|
||||
if use python; then
|
||||
insinto /usr/include/${PN}/cython
|
||||
doins cython/imobiledevice.pxd
|
||||
fi
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>matthew@gentoo.org</email>
|
||||
<name>Matthew Smith</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">libimobiledevice/libimobiledevice</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue