diff --git a/srcpkgs/sopwith/patches/enable_cross_compilation.patch b/srcpkgs/sopwith/patches/enable_cross_compilation.patch deleted file mode 100644 index 8dff50ad6bd..00000000000 --- a/srcpkgs/sopwith/patches/enable_cross_compilation.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- a/configure.in -+++ b/configure.in -@@ -1,4 +1,4 @@ --AC_INIT(src/swmain.c) -+AC_INIT([sopwith], [1.8.4]) - AC_CONFIG_AUX_DIR(autotools) - - VERSION=1.8.4 -@@ -46,7 +46,8 @@ - ;; - esac - --AM_INIT_AUTOMAKE(sopwith,$VERSION) -+AM_INIT_AUTOMAKE([-Wall foreign]) -+AM_PROG_AR - - AM_CONFIG_HEADER(config.h:config.hin) - ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -6,7 +6,7 @@ - bin_PROGRAMS = @SOPWITH_BINS@ - EXTRA_PROGRAMS = sopwith gtksopwith psopwith - --CFLAGS = @CFLAGS@ -I.. -+AM_CFLAGS = @CFLAGS@ @SDL_CFLAGS@ -I.. - - COMMON_SRC = \ - video.h swcollsn.c swgames.h swmain.h swutil.h \ ---- a/src/sdl/Makefile.am -+++ b/src/sdl/Makefile.am -@@ -1,4 +1,4 @@ --CFLAGS=@CFLAGS@ @SDL_CFLAGS@ -I.. -+AM_CFLAGS=@CFLAGS@ @SDL_CFLAGS@ -I.. - - noinst_LIBRARIES = libsdlsopwith.a - diff --git a/srcpkgs/sopwith/template b/srcpkgs/sopwith/template index aa160fdbb87..8763a1bd84b 100644 --- a/srcpkgs/sopwith/template +++ b/srcpkgs/sopwith/template @@ -1,19 +1,18 @@ # Template file for 'sopwith' pkgname=sopwith -version=1.8.4 -revision=2 +version=2.7.0 +revision=1 build_style=gnu-configure -hostmakedepends="automake SDL-devel" -makedepends="SDL-devel" +hostmakedepends="automake pkg-config" +makedepends="SDL2-devel" short_desc="Sidescrolling shoot 'em up game" -maintainer="beefcurtains " +maintainer="Orphaned " license="GPL-2.0-or-later" -homepage="http://sdl-sopwith.sourceforge.net/" -distfiles="${SOURCEFORGE_SITE}/sdl-sopwith/sdl_sopwith/${version}/sopwith-${version}.tar.gz" -checksum=a5ecb795a7aeff6be3ebfb99f1c6218054b73048786809f8468a92c952c17bd0 +homepage="https://fragglet.github.io/sdl-sopwith/" +distfiles="https://github.com/fragglet/sdl-sopwith/archive/sdl-sopwith-${version}.tar.gz" +checksum=48e90f1c837fbe8c91f639500c70c69493cb6ec22f7e769b2e27d252c167033e pre_configure() { - mv configure.{in,ac} autoreconf -fi }