unicorn: update to 1.0. (soname bump)
This commit is contained in:
parent
abe0a5e9c7
commit
922ee5fd30
2 changed files with 10 additions and 11 deletions
|
@ -2398,7 +2398,7 @@ libnetfilter_queue.so.1 libnetfilter_queue-1.0.2_1
|
||||||
libfilezilla.so.0 libfilezilla-0.3.1_1
|
libfilezilla.so.0 libfilezilla-0.3.1_1
|
||||||
libtommath.so.1 libtommath-1.0_1
|
libtommath.so.1 libtommath-1.0_1
|
||||||
libKF5ItemViews.so.5 kitemviews-5.26.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
|
libglyphy.so.0 glyphy-0.0.20160104_1
|
||||||
libSwiften.so.0 swiften-2.0_1
|
libSwiften.so.0 swiften-2.0_1
|
||||||
libfreehand-0.1.so.1 libfreehand-0.1.1_1
|
libfreehand-0.1.so.1 libfreehand-0.1.1_1
|
||||||
|
|
|
@ -1,23 +1,19 @@
|
||||||
# Template file for 'unicorn'
|
# Template file for 'unicorn'
|
||||||
pkgname=unicorn
|
pkgname=unicorn
|
||||||
version=0.9
|
version=1.0
|
||||||
revision=3
|
revision=1
|
||||||
only_for_archs="x86_64 x86_64-musl i686 i686-musl"
|
only_for_archs="x86_64 x86_64-musl i686 i686-musl"
|
||||||
hostmakedepends="pkg-config python-devel python3-devel"
|
hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools"
|
||||||
makedepends="glib-devel"
|
|
||||||
short_desc="Lightweight multi-platform, multi-architecture CPU emulator framework"
|
short_desc="Lightweight multi-platform, multi-architecture CPU emulator framework"
|
||||||
maintainer="Michael Gehring <mg@ebfe.org>"
|
maintainer="Michael Gehring <mg@ebfe.org>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://www.unicorn-engine.org/"
|
homepage="http://www.unicorn-engine.org/"
|
||||||
distfiles="https://github.com/unicorn-engine/unicorn/archive/${version}.tar.gz"
|
distfiles="https://github.com/unicorn-engine/unicorn/archive/${version}.tar.gz"
|
||||||
checksum=1ca03b1c8f6360335567b528210713461e839d47c4eb7c676ba3aa4f72b8cf10
|
checksum=27efa24e465f3eca9a1fa8f7f456f6fecd91beeba0b4be21b34308040047def9
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
# don't build the samples
|
# don't build the samples
|
||||||
echo "clean:" > samples/Makefile
|
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() {
|
do_build() {
|
||||||
|
@ -48,24 +44,27 @@ unicorn-devel_package() {
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
unicorn-python_package() {
|
unicorn-python_package() {
|
||||||
replaces="python-unicorn>=0"
|
replaces="python-unicorn>=0"
|
||||||
depends="${sourcepkg}-devel>=${version}_${revision}"
|
depends="${sourcepkg}-devel>=${version}_${revision} python-setuptools"
|
||||||
short_desc+=" - Python2 bindings"
|
short_desc+=" - Python2 bindings"
|
||||||
pycompile_module="unicorn"
|
pycompile_module="unicorn"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove ${py2_sitelib}
|
vmove ${py2_sitelib}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
unicorn-python3_package() {
|
unicorn-python3_package() {
|
||||||
replaces="python3.4-unicorn>=0"
|
replaces="python3.4-unicorn>=0"
|
||||||
depends="${sourcepkg}-devel>=${version}_${revision}"
|
depends="${sourcepkg}-devel>=${version}_${revision} python3-setuptools"
|
||||||
short_desc+=" - Python3 bindings"
|
short_desc+=" - Python3 bindings"
|
||||||
pycompile_module="unicorn"
|
pycompile_module="unicorn"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove ${py3_sitelib}
|
vmove ${py3_sitelib}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-unicorn_package() {
|
python3.4-unicorn_package() {
|
||||||
build_style=meta
|
build_style=meta
|
||||||
short_desc+=" - Python3.4 bindings (transitional dummy package)"
|
short_desc+=" - Python3.4 bindings (transitional dummy package)"
|
||||||
|
|
Loading…
Reference in a new issue