unicorn: update to 1.0. (soname bump)

This commit is contained in:
Michael Gehring 2017-02-24 12:57:29 +00:00
parent abe0a5e9c7
commit 922ee5fd30
2 changed files with 10 additions and 11 deletions

View File

@ -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

View File

@ -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 <mg@ebfe.org>"
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)"