New package: sopwith-1.8.4
This commit is contained in:
parent
f312834f41
commit
1e398330bb
10
srcpkgs/sopwith/files/sopwith.desktop
Normal file
10
srcpkgs/sopwith/files/sopwith.desktop
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Type=Application
|
||||||
|
GenericName=Sopwith
|
||||||
|
Comment=WW1 Dogfighting Game
|
||||||
|
Exec=/usr/bin/sopwith
|
||||||
|
StartupNotify=false
|
||||||
|
Terminal=false
|
||||||
|
Categories=Application;Game;
|
||||||
|
Icon=/usr/share/pixmaps/sopwith.png
|
BIN
srcpkgs/sopwith/files/sopwith.png
Normal file
BIN
srcpkgs/sopwith/files/sopwith.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 890 B |
37
srcpkgs/sopwith/patches/enable_cross_compilation.patch
Normal file
37
srcpkgs/sopwith/patches/enable_cross_compilation.patch
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
--- configure.in.orig
|
||||||
|
+++ 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)
|
||||||
|
|
||||||
|
--- src/Makefile.am.orig
|
||||||
|
+++ 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 \
|
||||||
|
--- src/sdl/Makefile.am.orig
|
||||||
|
+++ src/sdl/Makefile.am
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-CFLAGS=@CFLAGS@ @SDL_CFLAGS@ -I..
|
||||||
|
+AM_CFLAGS=@CFLAGS@ @SDL_CFLAGS@ -I..
|
||||||
|
|
||||||
|
noinst_LIBRARIES = libsdlsopwith.a
|
||||||
|
|
24
srcpkgs/sopwith/template
Normal file
24
srcpkgs/sopwith/template
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Template file for 'sopwith'
|
||||||
|
pkgname=sopwith
|
||||||
|
version=1.8.4
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
depends="SDL"
|
||||||
|
makedepends="${depends}-devel"
|
||||||
|
hostmakedepends="autoconf automake ${makedepends}"
|
||||||
|
short_desc="Sidescrolling shoot 'em up game"
|
||||||
|
maintainer="beefcurtains <beefcurtains@users.noreply.github.com>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="http://sdl-sopwith.sourceforge.net/"
|
||||||
|
distfiles="${SOURCEFORGE_SITE}/sdl-sopwith/sdl_sopwith/${version}/${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=a5ecb795a7aeff6be3ebfb99f1c6218054b73048786809f8468a92c952c17bd0
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
mv configure.{in,ac}
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vinstall ${FILESDIR}/${pkgname}.png 644 usr/share/pixmaps
|
||||||
|
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user