diff --git a/common/shlibs b/common/shlibs index 4ff4ea3d7fb..c413ed1e4fe 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2398,7 +2398,7 @@ libnetfilter_queue.so.1 libnetfilter_queue-1.0.2_1 libfilezilla.so.0 libfilezilla-0.3.1_1 libtommath.so.1 libtommath-1.0_1 libKF5ItemViews.so.5 kitemviews-5.26.0_1 -libunicorn.so.0 unicorn-0.9_1 +libunicorn.so.1 unicorn-1.0_1 libglyphy.so.0 glyphy-0.0.20160104_1 libSwiften.so.0 swiften-2.0_1 libfreehand-0.1.so.1 libfreehand-0.1.1_1 diff --git a/srcpkgs/unicorn/template b/srcpkgs/unicorn/template index 2588f47b7ff..bbe891a5d24 100644 --- a/srcpkgs/unicorn/template +++ b/srcpkgs/unicorn/template @@ -1,23 +1,19 @@ # Template file for 'unicorn' pkgname=unicorn -version=0.9 -revision=3 +version=1.0 +revision=1 only_for_archs="x86_64 x86_64-musl i686 i686-musl" -hostmakedepends="pkg-config python-devel python3-devel" -makedepends="glib-devel" +hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools" short_desc="Lightweight multi-platform, multi-architecture CPU emulator framework" maintainer="Michael Gehring " license="GPL-2" homepage="http://www.unicorn-engine.org/" distfiles="https://github.com/unicorn-engine/unicorn/archive/${version}.tar.gz" -checksum=1ca03b1c8f6360335567b528210713461e839d47c4eb7c676ba3aa4f72b8cf10 +checksum=27efa24e465f3eca9a1fa8f7f456f6fecd91beeba0b4be21b34308040047def9 post_extract() { # don't build the samples echo "clean:" > samples/Makefile - # fix unicorn.pc paths - sed 's,libdir=$(LIBDIR),libdir=$(PREFIX)/${LIBDIRARCH},g' -i Makefile - sed 's,includedir=$(INCDIR),includedir=$(PREFIX)/include,g' -i Makefile } do_build() { @@ -48,24 +44,27 @@ unicorn-devel_package() { vmove usr/lib/pkgconfig } } + unicorn-python_package() { replaces="python-unicorn>=0" - depends="${sourcepkg}-devel>=${version}_${revision}" + depends="${sourcepkg}-devel>=${version}_${revision} python-setuptools" short_desc+=" - Python2 bindings" pycompile_module="unicorn" pkg_install() { vmove ${py2_sitelib} } } + unicorn-python3_package() { replaces="python3.4-unicorn>=0" - depends="${sourcepkg}-devel>=${version}_${revision}" + depends="${sourcepkg}-devel>=${version}_${revision} python3-setuptools" short_desc+=" - Python3 bindings" pycompile_module="unicorn" pkg_install() { vmove ${py3_sitelib} } } + python3.4-unicorn_package() { build_style=meta short_desc+=" - Python3.4 bindings (transitional dummy package)"