libplist: update to 2.2.0.
This commit is contained in:
parent
cedb4394fe
commit
92a1dc2acd
@ -1058,8 +1058,8 @@ libisc.so.1606 bind-libs-9.16.6_1
|
||||
libisccc.so.1600 bind-libs-9.16.2_1
|
||||
libisccfg.so.1601 bind-libs-9.16.7_1
|
||||
libns.so.1604 bind-libs-9.16.5_1
|
||||
libplist.so.3 libplist-1.12_1
|
||||
libplist++.so.3 libplist++-1.12_1
|
||||
libplist-2.0.so.3 libplist-2.2.0_1
|
||||
libplist++-2.0.so.3 libplist++-2.2.0_1
|
||||
libnsbmp.so.0 libnsbmp-0.0.3_1
|
||||
libnsgif.so.0 libnsgif-0.0.3_1
|
||||
libparserutils.so.0 libparserutils-0.1.1_1
|
||||
|
1
srcpkgs/libplist-python3
Symbolic link
1
srcpkgs/libplist-python3
Symbolic link
@ -0,0 +1 @@
|
||||
libplist
|
1
srcpkgs/libplist/libplist-python.INSTALL.msg
Normal file
1
srcpkgs/libplist/libplist-python.INSTALL.msg
Normal file
@ -0,0 +1 @@
|
||||
libvirt-python is no longer provided by Void Linux
|
@ -1,22 +1,23 @@
|
||||
# Template file for 'libplist'
|
||||
pkgname=libplist
|
||||
version=2.1.0
|
||||
version=2.2.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static"
|
||||
hostmakedepends="automake libtool pkgconf python-devel python-Cython"
|
||||
makedepends="python-devel libglib-devel libxml2-devel"
|
||||
hostmakedepends="automake libtool pkgconf python3 python3-Cython"
|
||||
makedepends="python3-devel libglib-devel libxml2-devel"
|
||||
short_desc="Apple Property List library"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="LGPL-2.1-only"
|
||||
homepage="https://github.com/libimobiledevice/libplist/"
|
||||
homepage="https://libimobiledevice.org"
|
||||
changelog="https://raw.githubusercontent.com/libimobiledevice/libplist/master/NEWS"
|
||||
distfiles="https://github.com/libimobiledevice/libplist/archive/${version}.tar.gz"
|
||||
checksum=4b33f9af3f9208d54a3c3e1a8c149932513f451c98d1dd696fe42c06e30b7f03
|
||||
checksum=7e654bdd5d8b96f03240227ed09057377f06ebad08e1c37d0cfa2abe6ba0cee2
|
||||
|
||||
pre_configure() {
|
||||
sed -i 's,-L$(libdir),,g' cython/Makefile.am
|
||||
export PYTHON_CPPFLAGS=" -I${XBPS_CROSS_BASE}/usr/include/python2.7"
|
||||
export PYTHON_LDFLAGS=" -L${XBPS_CROSS_BASE}/usr/lib -lpython2.7"
|
||||
export PYTHON_CPPFLAGS=" -I${XBPS_CROSS_BASE}/${py3_inc}"
|
||||
export PYTHON_LDFLAGS=" -L${XBPS_CROSS_BASE}/usr/lib -lpython${py3_ver}"
|
||||
autoreconf -fi
|
||||
sed -i "s#\$PYTHON-config#__DOES_NOT_EXIST__#" configure
|
||||
}
|
||||
@ -24,16 +25,23 @@ pre_configure() {
|
||||
libplist++_package() {
|
||||
short_desc+=" - C++ runtime library"
|
||||
pkg_install() {
|
||||
vmove usr/lib/libplist++.so.*
|
||||
vmove usr/lib/libplist++*.so.*
|
||||
}
|
||||
}
|
||||
|
||||
libplist-python_package() {
|
||||
build_style=meta
|
||||
short_desc+=" - Python2 bindings (removed package)"
|
||||
}
|
||||
|
||||
libplist-python3_package() {
|
||||
lib32disabled=yes
|
||||
short_desc+=" - Python bindings"
|
||||
short_desc+=" - Python3 bindings"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python2.7
|
||||
vmove "${py3_lib}"
|
||||
}
|
||||
}
|
||||
|
||||
libplist-devel_package() {
|
||||
depends="libxml2-devel libplist++>=${version}_${revision} libplist>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
Loading…
x
Reference in New Issue
Block a user