summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Niemenmaa2018-02-28 15:59:04 +0200
committerMatti Niemenmaa2018-02-28 15:59:55 +0200
commit65e3a41ee2883072daf3ce8524e49ab15b2ef0f4 (patch)
tree22ff89c758209d1079cf09408824e73bef1899d6
parent320ef979514fa613dbe512d8779a49c2d8eb2ca5 (diff)
downloadaur-65e3a41ee2883072daf3ce8524e49ab15b2ef0f4.tar.gz
Link libm and libz since they're required
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD6
-rw-r--r--makefile.patch2
3 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cef7e05249e..976118e4885 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = lazyusf2-git
pkgdesc = Library for decoding Nintendo 64 Sound Format files using Mupen64plus
pkgver = r83.95d71f6
- pkgrel = 1
- url = https://bitbucket.org/kode54/lazyusf2
+ pkgrel = 2
+ url = https://gitlab.kode54.net/kode54/lazyusf2
arch = i686
arch = x86_64
license = GPL2
@@ -10,11 +10,11 @@ pkgbase = lazyusf2-git
makedepends = git
makedepends = grep
depends = zlib
- source = lazyusf2-git::git+https://bitbucket.org/kode54/lazyusf2.git
+ source = lazyusf2-git::git+https://gitlab.kode54.net/kode54/lazyusf2.git
source = makefile.patch
source = LICENSE.CC0
sha256sums = SKIP
- sha256sums = 42eda354f4e97a0235ea747a1b0b1edf3c4e9eeec3655d3f9f9514605c2a9180
+ sha256sums = 25ab13f0f3ed10b12fa378d07219e71c533fd38e0875d8bb046b6637ce2bcfe1
sha256sums = a90051e82202a5dc51162127c6834f8434fb2ece57795317951420fe6a8f4562
pkgname = lazyusf2-git
diff --git a/PKGBUILD b/PKGBUILD
index c7bad80395c..79a989883c7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=lazyusf2-git
pkgver=r83.95d71f6
-pkgrel=1
+pkgrel=2
pkgdesc="Library for decoding Nintendo 64 Sound Format files using Mupen64plus"
arch=(i686 x86_64)
url='https://gitlab.kode54.net/kode54/lazyusf2'
@@ -13,7 +13,7 @@ source=(${pkgname}::git+https://gitlab.kode54.net/kode54/lazyusf2.git
makefile.patch
LICENSE.CC0)
sha256sums=('SKIP'
- '42eda354f4e97a0235ea747a1b0b1edf3c4e9eeec3655d3f9f9514605c2a9180'
+ '25ab13f0f3ed10b12fa378d07219e71c533fd38e0875d8bb046b6637ce2bcfe1'
'a90051e82202a5dc51162127c6834f8434fb2ece57795317951420fe6a8f4562')
pkgver() {
@@ -34,7 +34,7 @@ build() {
OPTFLAGS=$CFLAGS
{ gcc $CFLAGS -dM -E - </dev/null | fgrep -qw __SSSE3__ && OPTFLAGS+=" -DARCH_MIN_SSSE3"; } ||
{ gcc $CFLAGS -dM -E - </dev/null | fgrep -qw __SSE2__ && OPTFLAGS+=" -DARCH_MIN_SSE2"; }
- export LDFLAGS="$LDFLAGS -Wl,-Bsymbolic"
+ export LDFLAGS="$LDFLAGS -Wl,-Bsymbolic -lm -lz"
make liblazyusf.{a,so} OPTFLAGS="$OPTFLAGS -Irsp_hle/msvc-compat"
}
diff --git a/makefile.patch b/makefile.patch
index b3e0e575793..ad3ab79a302 100644
--- a/makefile.patch
+++ b/makefile.patch
@@ -7,7 +7,7 @@ index 4baf9e5..2b5e2e8 100755
liblazyusf.so: $(OBJS)
- $(CC) $^ -shared -Wl,-soname -Wl,$@.2 -o $@.2.0
-+ $(CC) $(LDFLAGS) $^ -shared -Wl,-soname -Wl,$@.2 -o $@.2.0
++ $(CC) $^ $(LDFLAGS) -shared -Wl,-soname -Wl,$@.2 -o $@.2.0
bench : test/bench.o liblazyusf.a
$(CC) -o $@ $^ ../psflib/libpsflib.a -lz -lm