aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/libx86emu/APKBUILD14
-rw-r--r--community/libx86emu/ldflags.patch13
2 files changed, 4 insertions, 23 deletions
diff --git a/community/libx86emu/APKBUILD b/community/libx86emu/APKBUILD
index 97173f53c4..6bbd04333f 100644
--- a/community/libx86emu/APKBUILD
+++ b/community/libx86emu/APKBUILD
@@ -1,34 +1,28 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=libx86emu
-pkgver=1.14
+pkgver=2.3
pkgrel=0
pkgdesc="x86 emulation library"
url="https://github.com/wfeldt/libx86emu"
arch="all"
-license="BSD"
+license="MIT"
subpackages="$pkgname-dev"
-source="$pkgname-$pkgver.tar.gz::https://github.com/wfeldt/$pkgname/archive/$pkgver.tar.gz
- ldflags.patch"
-builddir="$srcdir/libx86emu-$pkgver"
+source="$pkgname-$pkgver.tar.gz::https://github.com/wfeldt/$pkgname/archive/$pkgver.tar.gz"
options="!check" # FIXME: test fails to build
_flags="VERSION=$pkgver MAJOR_VERSION=${pkgver%%.*} GIT2LOG= LIBDIR=/usr/lib"
build() {
- cd "$builddir"
make shared $_flags CFLAGS="$CFLAGS -fPIC -Wall"
}
check() {
- cd "$builddir"
make test $_flags CFLAGS="$CFLAGS -I../include"
}
package() {
- cd "$builddir"
make $_flags DESTDIR="$pkgdir" install
}
-sha512sums="405fd1355a0e829a0e9cfb80a7f03f9f803beff3a7969c847314617d0d0d3b76289ae1a406c1a11b0877fbdd033189db1c2479e89c1a5bccc821596a0f8bd178 libx86emu-1.14.tar.gz
-87edc4f5bc3810a3faabe121f77f31ca503f867236a0dd3b924dd4fe7ebd1da5d49f01b90b192102161dd209c765a30ec3fb10ff658470bdd113707f702267bc ldflags.patch"
+sha512sums="a8dd46002c1a0680036eaab5c7b10e624235b35ffde0bcfba0238d61ae8e0c8dca9abdc167fbfc84efba64204891c01b99385d9b48e8e9dcbc1269fbd3311d22 libx86emu-2.3.tar.gz"
diff --git a/community/libx86emu/ldflags.patch b/community/libx86emu/ldflags.patch
deleted file mode 100644
index de9ca775d9..0000000000
--- a/community/libx86emu/ldflags.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Patch-Source: https://src.fedoraproject.org/rpms/libx86emu/blob/f27/f/libx86emu-1.11-ldflags.patch
-
---- a/Makefile
-+++ b/Makefile
-@@ -45,7 +45,7 @@
- install -m 644 -D include/x86emu.h $(DESTDIR)/usr/include/x86emu.h
-
- $(LIB_NAME): .depend $(OBJS)
-- $(CC) -shared -Wl,-soname,$(LIB_SONAME) $(OBJS) -o $(LIB_NAME)
-+ $(CC) -shared -Wl,-soname,$(LIB_SONAME) $(LDFLAGS) $(OBJS) -o $(LIB_NAME)
-
- test:
- make -C test