libplist: 2.1.0 bump, ready for testing

This commit is contained in:
blshkv 2019-11-24 08:35:32 +08:00
parent 027e393718
commit b3ce6e5ef0
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
4 changed files with 128 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST libplist-1.12.tar.bz2 384321 BLAKE2B baf1aba25ba21988fd4360ec864d173480c267261c1ad4ae8211c10f1863b5a47c8a63c96684c1bb6008ee7e0a39977751eebc5db311bc1aef329dbd99eac8d9 SHA512 8af40d8f457ca9a8a9061e9429698c696200714cc05dcbe981e900106c52cd5222edb9dd8d8976bccd0c8997508ed14fb2e10f0ed29383f2ad4f7c5eb7eec0b3
DIST libplist-2.0.0.tar.bz2 421405 BLAKE2B 2f6e22c871ad3b5ace2a2c6aab09706e8a8c1759f1656c5c07164e5b89a1b5eae24d2d7472e0dcca7eddd96b641715acfe5a0a791b0b994ec5fbcdf70627acf9 SHA512 81508bf6773483528816725c3b5b868563b84fd7810999404072e5ea9efa7fc9f11ef997f32208e4421aa26b15edd0c65f87c67c1472e8c4e356f1e9fe7740ee
DIST libplist-2.1.0.tar.gz 175912 BLAKE2B c6261396edec1f09c5ac6ce36aec29a6b669984ddb4e5c8aac3c90d3454c978d07e71f2a5c7aeaf4f6a3c4cd8b97114aff100fd82e1b1a2e20b90643cddbe714 SHA512 c06a500c16775974e48a503fa484849a96e2aed50c18cab2a4002f92a64a22b20fb6fee991ac115dc4e55d7d7894d8e9f30c35ea96bc4ade943de031559d7453

View file

@ -0,0 +1,87 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{6,7} )
inherit autotools eutils python-r1
DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
HOMEPAGE="http://www.libimobiledevice.org/"
SRC_URI="https://github.com/libimobiledevice/libplist/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0/3.2.0" # based on SONAME of libplist.so
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="python static-libs"
RDEPEND="python? ( ${PYTHON_DEPS} )"
DEPEND="${RDEPEND}
virtual/pkgconfig
python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DOCS=( AUTHORS NEWS README )
BUILD_DIR="${S}_build"
src_prepare() {
default
NOCONFIGURE=1 ./autogen.sh
eautoreconf
}
src_configure() {
local ECONF_SOURCE=${S}
local myeconfargs=( $(use_enable static-libs static) )
do_configure() {
mkdir -p "${BUILD_DIR}" || die
pushd "${BUILD_DIR}" >/dev/null || die
econf "${myeconfargs[@]}" "${@}"
popd >/dev/null || die
}
do_configure_python() {
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 -j1 \
VPATH="${S}/cython:${native_builddir}/cython" \
plist_la_LIBADD="${native_builddir}/src/libplist.la"
}
local native_builddir=${BUILD_DIR}
pushd "${BUILD_DIR}" >/dev/null || die
emake -j1
use python && python_foreach_impl python_compile
popd >/dev/null || die
}
src_install() {
python_install() {
emake -C "${BUILD_DIR}/cython" -j1 \
VPATH="${S}/cython:${native_builddir}/cython" \
DESTDIR="${D}" install
}
local native_builddir=${BUILD_DIR}
pushd "${BUILD_DIR}" >/dev/null || die
emake -j1 DESTDIR="${D}" install
use python && python_foreach_impl python_install
popd >/dev/null || die
if use python ; then
insinto /usr/include/plist/cython
doins cython/plist.pxd
fi
find "${D}" -name '*.la' -type f -delete || die
}

View file

@ -1,3 +1,4 @@
DIST libusbmuxd-1.0.10.tar.bz2 292649 BLAKE2B 7ec9a576cb20f7e87cf1f31e57e66100c496e5809142d225df9b3cc295a71546bed2d90f41df3144f7316ce0aec5f08fad850c528e27f336bf96e9578bcffd04 SHA512 180cde2e9d0860d07d29813e68abf8ca807f75e98424b50acfc1ce941ba4260922959e1047a7d2bc754470c08ed55d0a15c9367487bd41c635a52b4fbf8ff535
DIST libusbmuxd-1.1.0_pre20190118.tar.gz 38771 BLAKE2B 082609ee72b68629b5eded757e3f90df707c6822f512b7c76c8742f25a676d95261a76ca048664451b6e9fb6fe7041262ab65f1da00ecd1b7751c44eb9e471da SHA512 c7ade150c3afc580e816aed59a49928b39c883231c231c854d2b64e9b2b92881bb838cd2b61604fdc1950d7497d0297c0a133ae26a25f87f8c1b66e4f26c8398
DIST libusbmuxd-1.1.0_pre20190328.tar.gz 40839 BLAKE2B e422cafb88ec8d0f55dfebb2a25436eeed75546ac90af88ac19d6d2072baa9f2a5819ca0b4ac4b12b3c939f6bf42617533dfd0f2b17f2614c929b24397166716 SHA512 95a9b81150aa72c829285cf69834b383011ac891c87386048b5b4cdde03074b14e01f000ae5e19dac55edf2e634b96f95f6a14de88b19361194b73ddb9bff3c8
DIST libusbmuxd-2.0.0.tar.gz 42107 BLAKE2B 1e913c595b546b9d1768f1c6af303bd674571fdbdbefaaa7c2554c01b6c0ffea66ddf9535d32631fe7a5f864a0e5044d092ff9567c5c54b2c47a57b6517a9936 SHA512 5e071210b548eac18c1356e41d5a71f961acdc5546cf6857884f218ade69d9700149133af68ead2ee23b2751a594d2d2d7d98048b3ecc29549a81a9aa3bafb80

View file

@ -0,0 +1,39 @@
# Copyright 1999-2019 Pentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
DESCRIPTION="USB multiplex daemon for use with Apple iPhone/iPod Touch devices"
HOMEPAGE="http://www.libimobiledevice.org/"
SRC_URI="https://github.com/libimobiledevice/libusbmuxd/archive/${PV}.tar.gz -> ${P}.tar.gz"
# tools/iproxy.c is GPL-2+, everything else is LGPL-2.1+
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0/2" # based on SONAME of libusbmuxd.so
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
IUSE="kernel_linux static-libs"
RDEPEND=">=app-pda/libplist-2.1:=
virtual/libusb:1
!=app-pda/usbmuxd-1.0.9
!<app-pda/usbmuxd-1.0.8_p1"
DEPEND="${RDEPEND}
virtual/os-headers
virtual/pkgconfig"
#DOCS=( AUTHORS README )
src_prepare() {
default
NOCONFIGURE=1 ./autogen.sh
eautoreconf
eapply_user
}
src_configure() {
local myeconfargs=( $(use_enable static-libs static) )
use kernel_linux || myeconfargs+=( --without-inotify )
econf "${myeconfargs[@]}"
}