Commit 8ee726a4 authored by David Demelier's avatar David Demelier Committed by Leo
Browse files

testing/libretro-frodo: remove bundled deps

parent e087368c
Pipeline #84771 passed with stages
in 5 minutes and 50 seconds
......@@ -2,18 +2,21 @@
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-frodo
pkgver=0_git20210312
pkgrel=0
pkgrel=1
_commit="36137aa47885ff6e7b16f1610ef870955c226850"
pkgdesc="commodore 64 emulator for libretro"
url="https://github.com/libretro/frodo-libretro"
arch="all"
license="GPL-2.0-only"
makedepends="zlib-dev"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/frodo-libretro/archive/$_commit.tar.gz"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/frodo-libretro/archive/$_commit.tar.gz
patch-unbundle.patch
"
builddir="$srcdir/frodo-libretro-$_commit"
options="!check" # No tests
build() {
rm -rf Src/zlib
make -f Makefile.libretro
}
......@@ -21,4 +24,5 @@ package() {
install -Dm644 frodo_libretro.so "$pkgdir"/usr/lib/libretro/frodo_libretro.so
}
sha512sums="4e926469dd4c6789b70a7ee0aa3e261a1f0a8a637a8ee01a12dc982b8cc16c4aeafded51acbd4c611f2a95438ca01d7c9013caaaa965b22898c224ed4ee55fac libretro-frodo-36137aa47885ff6e7b16f1610ef870955c226850.tar.gz"
sha512sums="4e926469dd4c6789b70a7ee0aa3e261a1f0a8a637a8ee01a12dc982b8cc16c4aeafded51acbd4c611f2a95438ca01d7c9013caaaa965b22898c224ed4ee55fac libretro-frodo-36137aa47885ff6e7b16f1610ef870955c226850.tar.gz
f4ff866f7b156aeeb021eb31d090f01ed3ce2b5f02e96ec2345e7de3a4e14e3ce52c14cb421acc29871a6f79d692460c420e056f6f843688587e9ac1de4810e6 patch-unbundle.patch"
Remove bundled zlib.
--- a/Makefile.common
+++ b/Makefile.common
@@ -8,7 +8,6 @@
-I$(CORE_DIR)/libretro/emu \
-I$(CORE_DIR)/libretro \
-I$(CORE_DIR)/Src \
- -I$(CORE_DIR)/Src/zlib \
-I$(LIBRETRO_COMM_DIR)/include \
-I$(CORE_DIR)
@@ -30,22 +29,6 @@
SOURCES_C += $(LIBRETRO_COMM_DIR)/libco/libco.c
endif
-SOURCES_C += \
- $(CORE_DIR)/Src/zlib/adler32.c \
- $(CORE_DIR)/Src/zlib/compress.c \
- $(CORE_DIR)/Src/zlib/crc32.c \
- $(CORE_DIR)/Src/zlib/deflate.c \
- $(CORE_DIR)/Src/zlib/gzclose.c \
- $(CORE_DIR)/Src/zlib/gzlib.c \
- $(CORE_DIR)/Src/zlib/gzread.c \
- $(CORE_DIR)/Src/zlib/gzwrite.c \
- $(CORE_DIR)/Src/zlib/inffast.c \
- $(CORE_DIR)/Src/zlib/inflate.c \
- $(CORE_DIR)/Src/zlib/inftrees.c \
- $(CORE_DIR)/Src/zlib/trees.c \
- $(CORE_DIR)/Src/zlib/uncompr.c \
- $(CORE_DIR)/Src/zlib/zutil.c
-
ifeq ($(NOLIBCO), 1)
CPPFLAGS += -DNO_LIBCO
endif
@@ -113,3 +96,5 @@
$(GUI_DIR)/dlgMain.cpp \
$(GUI_DIR)/dlgSnapshot.cpp \
$(GUI_DIR)/sdlgui.cpp
+
+LDFLAGS += -lz
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment