diff --git a/common/shlibs b/common/shlibs index 12ade7a11ac..e8b3f05ca50 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/libplist-python3 b/srcpkgs/libplist-python3 new file mode 120000 index 00000000000..8aeda891de2 --- /dev/null +++ b/srcpkgs/libplist-python3 @@ -0,0 +1 @@ +libplist \ No newline at end of file diff --git a/srcpkgs/libplist/libplist-python.INSTALL.msg b/srcpkgs/libplist/libplist-python.INSTALL.msg new file mode 100644 index 00000000000..99f471a80b8 --- /dev/null +++ b/srcpkgs/libplist/libplist-python.INSTALL.msg @@ -0,0 +1 @@ +libvirt-python is no longer provided by Void Linux diff --git a/srcpkgs/libplist/template b/srcpkgs/libplist/template index 97e6918af7d..eb3e8773be5 100644 --- a/srcpkgs/libplist/template +++ b/srcpkgs/libplist/template @@ -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 " 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"