pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Added a new game Alien vs. Predator



Module Name:	pkgsrc-wip
Committed By:	astr0b4by <astr0b4by%gmail.com@localhost>
Pushed By:	astr0b4by
Date:		Sun Aug 2 13:12:59 2020 +0000
Changeset:	57422979a29e4febce56c0f38820b3db2f9d254c

Added Files:
	avp/DESCR
	avp/MESSAGE
	avp/Makefile
	avp/PLIST
	avp/distinfo
	avp/patches/patch-cmakelists.txt

Log Message:
Added a new game Alien vs. Predator

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=57422979a29e4febce56c0f38820b3db2f9d254c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 avp/DESCR                        |  9 +++++++
 avp/MESSAGE                      |  7 ++++++
 avp/Makefile                     | 51 ++++++++++++++++++++++++++++++++++++++++
 avp/PLIST                        |  2 ++
 avp/distinfo                     |  7 ++++++
 avp/patches/patch-cmakelists.txt | 13 ++++++++++
 6 files changed, 89 insertions(+)

diffs:
diff --git a/avp/DESCR b/avp/DESCR
new file mode 100644
index 0000000000..f5d01232eb
--- /dev/null
+++ b/avp/DESCR
@@ -0,0 +1,9 @@
+Unofficial Linux, Mac OS X port of the
+Fox Interactive Rebellion Developments game,
+Aliens vs. Predator Gold.
+
+Please note that only the AvP Gold data works with this release.
+
+All the game data files and directories must be in lower case !
+Either copy the avp executable to the game data directory or
+set the AVP_DATA environment variable to the game data directory.
diff --git a/avp/MESSAGE b/avp/MESSAGE
new file mode 100644
index 0000000000..0920ebcb2f
--- /dev/null
+++ b/avp/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD$
+AvP is only compatible with AvP Gold game data
+All the game data files and directories must be in lower case !
+Either copy the avp executable to the game data directory or
+set the AVP_DATA environment variable to the game data directory.
+===========================================================================
diff --git a/avp/Makefile b/avp/Makefile
new file mode 100644
index 0000000000..e43e132254
--- /dev/null
+++ b/avp/Makefile
@@ -0,0 +1,51 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	avp
+GITHUB_TAG=	2d5774781dd2ed959a83b2a98ab6f3f26e1dcc51
+DISTNAME=	avp
+PKGNAME=	avp-git
+CATEGORIES=	games
+MASTER_SITES=	${MASTER_SITE_GITHUB:=neuromancer/}
+EXTRACT_SUFX=	.zip
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	astr0b4by%gmail.com@localhost
+HOMEPAGE=	https://github.com/neuromancer/avp/
+COMMENT=	OpenSource Alien vs. Predator
+LICENSE=	gnu-gpl-v2
+
+WRKSRC=		${WRKDIR}/avp-2d5774781dd2ed959a83b2a98ab6f3f26e1dcc51
+USE_LANGUAGES=	c c++
+
+USE_TOOLS+=	pkg-config cmake
+USE_CMAKE+=	yes
+
+CMAKE_ARGS+=	-DAVCODEC_LIBRARIES=/usr/pkg/lib/ffmpeg4/libavcodec.so
+CMAKE_ARGS+=	-DSWSCALE_LIBRARIES=/usr/pkg/lib/ffmpeg4/libswscale.so
+CMAKE_ARGS+=	-DAVDEVICE_LIBRARIES=/usr/pkg/lib/ffmpeg4/libavdevice.so
+CMAKE_ARGS+=	-DAVFORMAT_LIBRARIES=/usr/pkg/lib/ffmpeg4/libavformat.so
+CMAKE_ARGS+=	-DAVUTIL_LIBRARIES=/usr/pkg/lib/ffmpeg4/libavutil.so
+CMAKE_ARGS+=	-DAVRESAMPLE_LIBRARIES=/usr/pkg/lib/ffmpeg4/libavresample.so
+CMAKE_ARGS+=	-DAVFILTER_LIBRARIES=/usr/pkg/lib/ffmpeg4/libavfilter.so
+CMAKE_ARGS+=	-DAVCODEC_INCLUDE_DIRS=/usr/pkg/include/ffmpeg4/libavcodec
+CMAKE_ARGS+=	-DSWSCALE_INCLUDE_DIRS=/usr/pkg/include/ffmpeg4/libswscale
+CMAKE_ARGS+=	-DAVDEVICE_INCLUDE_DIRS=/usr/pkg/include/ffmpeg4/libavdevice
+CMAKE_ARGS+=	-DAVFORMAT_INCLUDE_DIRS=/usr/pkg/include/ffmpeg4/libavformat
+CMAKE_ARGS+=	-DAVUTIL_INCLUDE_DIRS=/usr/pkg/include/ffmpeg4/libavutil
+CMAKE_ARGS+=	-DAVRESAMPLE_INCLUDE_DIRS=/usr/pkg/include/ffmpeg4/libavresample
+CMAKE_ARGS+=	-DAVFILTER_INCLUDE_DIRS=/usr/pkg/include/ffmpeg4/libavfilter
+
+INSTALLATION_DIRS+=	bin
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/avp ${DESTDIR}${PREFIX}/bin
+
+
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../devel/cmake/buildlink3.mk"
+.include "../../multimedia/ffmpeg4/buildlink3.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/avp/PLIST b/avp/PLIST
new file mode 100644
index 0000000000..5374a444db
--- /dev/null
+++ b/avp/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/avp
diff --git a/avp/distinfo b/avp/distinfo
new file mode 100644
index 0000000000..4ea0233677
--- /dev/null
+++ b/avp/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (avp/avp-2d5774781dd2ed959a83b2a98ab6f3f26e1dcc51.zip) = f15eb84af4d22252925d9f9121c1b7f500e27dd2
+RMD160 (avp/avp-2d5774781dd2ed959a83b2a98ab6f3f26e1dcc51.zip) = 11d6fb3459c9fb2b944cd7de662e78be92064ce2
+SHA512 (avp/avp-2d5774781dd2ed959a83b2a98ab6f3f26e1dcc51.zip) = 42eeb643edf825a60b6d98872f350d432446dbaa94b17f14648eac75e7a3690f726e8192f203041dc78038d3092190216ef4073b222b79779820e9b5e3709f91
+Size (avp/avp-2d5774781dd2ed959a83b2a98ab6f3f26e1dcc51.zip) = 1986980 bytes
+SHA1 (patch-cmakelists.txt) = 434fc494912dfb6e021023099f610a8939fe07eb
diff --git a/avp/patches/patch-cmakelists.txt b/avp/patches/patch-cmakelists.txt
new file mode 100644
index 0000000000..40ed1b33e4
--- /dev/null
+++ b/avp/patches/patch-cmakelists.txt
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- CMakeLists.txt.orig	2020-04-19 19:17:00.000000000 +0000
++++ CMakeLists.txt
+@@ -411,7 +411,7 @@ ENDFOREACH(sourcefile)
+ INCLUDE_DIRECTORIES(${include})
+ 
+ # manually include src/include
+-INCLUDE_DIRECTORIES(src/include)
++INCLUDE_DIRECTORIES(src/include /usr/pkg/include/ffmpeg4 /usr/pkg/include /usr/pkg/include/AL)
+ 
+ IF(AVP_WEB)
+     ADD_DEFINITIONS(-DUSE_OPENGL_ES=1)


Home | Main Index | Thread Index | Old Index