sopwith: update to 2.7.0.

This commit is contained in:
Andrew J. Hesford 2025-01-29 22:16:53 -05:00
parent 06d4f89de8
commit 179303fa42
2 changed files with 8 additions and 46 deletions

View File

@ -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

View File

@ -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 <beefcurtains@users.noreply.github.com>"
maintainer="Orphaned <orphan@voidlinux.org>"
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
}