pkgsrc-WIP-changes archive

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

Import exult-20170513 as exult-snapshot



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Sat May 13 21:49:24 2017 +0200
Changeset:	5ce6830fa95de4aabdcd827031ecaac18f689f0b

Modified Files:
	Makefile
Added Files:
	exult-snapshot/DESCR
	exult-snapshot/MESSAGE
	exult-snapshot/Makefile
	exult-snapshot/PLIST
	exult-snapshot/distinfo
	exult-snapshot/patches/patch-Makefile.am
	exult-snapshot/patches/patch-audio_midi__drivers_forked__player.cc

Log Message:
Import exult-20170513 as exult-snapshot

This is a snapshot of the development version of games/exult.
The exult website (http://exult.sourceforge.net/download.php)
now recommends development snapshots instead of the last stable
release.

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

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

diffstat:
 Makefile                                           |  1 +
 exult-snapshot/DESCR                               | 15 +++++++++
 exult-snapshot/MESSAGE                             | 14 ++++++++
 exult-snapshot/Makefile                            | 38 ++++++++++++++++++++++
 exult-snapshot/PLIST                               | 31 ++++++++++++++++++
 exult-snapshot/distinfo                            |  8 +++++
 exult-snapshot/patches/patch-Makefile.am           | 15 +++++++++
 .../patch-audio_midi__drivers_forked__player.cc    | 16 +++++++++
 8 files changed, 138 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index c8f84e254c..555f162504 100644
--- a/Makefile
+++ b/Makefile
@@ -705,6 +705,7 @@ SUBDIR+=	execline
 SUBDIR+=	exhume
 SUBDIR+=	expiretable
 SUBDIR+=	extra-cmake-modules
+SUBDIR+=	exult-snapshot
 SUBDIR+=	ezbounce
 SUBDIR+=	ezstream
 SUBDIR+=	faast
diff --git a/exult-snapshot/DESCR b/exult-snapshot/DESCR
new file mode 100644
index 0000000000..f75b6ccb9a
--- /dev/null
+++ b/exult-snapshot/DESCR
@@ -0,0 +1,15 @@
+As computers evolve, we risk losing classic games from the
+not-so-distant past. One of these, Ultima 7, an RPG from the early
+1990's, still has a huge following, and many consider it to be one of
+the most immersive games ever produced.
+
+Exult is a project to recreate Ultima 7 for modern operating systems,
+using the game's original plot, data, and graphics files.  It enables
+play of Ultima VII: The Black Gate and Ultima VII Part Two: Serpent
+Isle, and their corresponding expansion disks Forge of Virtue and
+Silver Seed, on modern machines.
+
+In order to play these games, data files from the original games are
+needed.
+
+This package is a snapshop of the development version of games/exult.
diff --git a/exult-snapshot/MESSAGE b/exult-snapshot/MESSAGE
new file mode 100644
index 0000000000..3245a4e2b6
--- /dev/null
+++ b/exult-snapshot/MESSAGE
@@ -0,0 +1,14 @@
+===========================================================================
+$NetBSD$
+
+Original Ultima 7: The Black Gate or Ultima 7 part 2: The Serpent Isle
+game distributions should be copied from floppies or CDs to relevant
+subdirs in ${PREFIX}/share/exult .
+
+For example, after extraction the game distribution archive
+ultima-vii-the-black-gate.zip, you want to put the contents of U7
+directory in ${PREFIX}/share/exult/blackgate
+
+You may wish to download exult audio data files to enable SFX and music.
+
+===========================================================================
diff --git a/exult-snapshot/Makefile b/exult-snapshot/Makefile
new file mode 100644
index 0000000000..0203ee00d4
--- /dev/null
+++ b/exult-snapshot/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD$
+
+PKGNAME=		${GITHUB_PROJECT}-20170513
+DISTNAME=		${GITHUB_TAG}
+GITHUB_PROJECT=		exult
+CATEGORIES=		games
+MASTER_SITES=		${MASTER_SITE_GITHUB:=exult/}
+DIST_SUBDIR=		${GITHUB_PROJECT}
+GITHUB_TAG=		10b08c3881e68bb52ab76d03ec917927ebda2a08
+
+MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=		http://exult.sourceforge.net/
+COMMENT=		Open-source Ultima 7 engine
+
+WRKSRC=			${WRKDIR}/exult-${GITHUB_TAG}
+
+MAKE_JOBS_SAFE=		no
+
+USE_PKGLOCALEDIR=	yes
+USE_LANGUAGES=		c c++
+USE_TOOLS+=		autoconf automake yacc pkg-config
+USE_LIBTOOL=		yes
+GNU_CONFIGURE=		yes
+
+pre-configure:
+	cd ${WRKSRC} && ${SH} ./autogen.sh
+USE_TOOLS+=	yacc flex
+
+.include "../../audio/SDL2_mixer/buildlink3.mk"
+.include "../../audio/flac/buildlink3.mk"
+.include "../../audio/fluidsynth/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../multimedia/libogg/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/exult-snapshot/PLIST b/exult-snapshot/PLIST
new file mode 100644
index 0000000000..7136a82a08
--- /dev/null
+++ b/exult-snapshot/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD$
+bin/expack
+bin/exult
+bin/shp2pcx
+bin/splitshp
+bin/textpack
+bin/ucxt
+man/man1/expack.1
+man/man1/exult_studio.1
+man/man1/ipack.1
+man/man1/shp2pcx.1
+man/man1/splitshp.1
+man/man1/textpack.1
+man/man1/ucc.1
+man/man6/exult.6
+share/applications/exult.desktop
+share/exult/bg_mr_faces.vga
+share/exult/bg_paperdol.vga
+share/exult/exult.flx
+share/exult/exult_bg.flx
+share/exult/exult_iphone.flx
+share/exult/exult_si.flx
+share/exult/exultmsg.txt
+share/exult/midisfx.flx
+share/exult/u7bgintrinsics.data
+share/exult/u7misc.data
+share/exult/u7opcodes.data
+share/exult/u7sibetaintrinsics.data
+share/exult/u7siintrinsics.data
+share/icons/exult.png
+@pkgdir share/exult/estudio/new
diff --git a/exult-snapshot/distinfo b/exult-snapshot/distinfo
new file mode 100644
index 0000000000..38af77fb00
--- /dev/null
+++ b/exult-snapshot/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+SHA1 (exult/10b08c3881e68bb52ab76d03ec917927ebda2a08-10b08c3881e68bb52ab76d03ec917927ebda2a08.tar.gz) = a4787c81e2385f8b4db17e479bd62b407913da03
+RMD160 (exult/10b08c3881e68bb52ab76d03ec917927ebda2a08-10b08c3881e68bb52ab76d03ec917927ebda2a08.tar.gz) = bcb56e686635acb93de58d15dd0d12181fbf1e7b
+SHA512 (exult/10b08c3881e68bb52ab76d03ec917927ebda2a08-10b08c3881e68bb52ab76d03ec917927ebda2a08.tar.gz) = 8ad717bbc746d4fa2f78cb65682499a62df58a8b13c8a21cdcf1df5f9fd67c2fd06c2969599747d7f15da9e7b2f84c9713472155a3a05329c7eaa77c71dbd704
+Size (exult/10b08c3881e68bb52ab76d03ec917927ebda2a08-10b08c3881e68bb52ab76d03ec917927ebda2a08.tar.gz) = 5042086 bytes
+SHA1 (patch-Makefile.am) = 38d10967223230dfec2684938ada56250520fd08
+SHA1 (patch-audio_midi__drivers_forked__player.cc) = a25bb70adf7abc9f891569155d892d99c118563b
diff --git a/exult-snapshot/patches/patch-Makefile.am b/exult-snapshot/patches/patch-Makefile.am
new file mode 100644
index 0000000000..e6d9bb5343
--- /dev/null
+++ b/exult-snapshot/patches/patch-Makefile.am
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Help libtool.
+
+--- Makefile.am.orig	2016-12-03 18:17:22.000000000 +0000
++++ Makefile.am
+@@ -8,7 +8,7 @@ AM_CPPFLAGS = -I$(srcdir) -I$(srcdir)/he
+ 	$(SDL_CFLAGS) $(VORBIS_CFLAGS) $(OGG_CFLAGS) $(INCDIRS) $(WINDOWING_SYSTEM) \
+ 	$(DEBUG_FLAGS) $(CPPFLAGS) -DEXULT_DATADIR=\"$(EXULT_DATADIR)\"
+ 
+-CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(DEBUG_FLAGS) $(CXXFLAGS) $(LDFLAGS) -o $(EXE_TARGET)
++CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) $(DEBUG_FLAGS) $(CXXFLAGS) $(LDFLAGS) -o $(EXE_TARGET)
+ 
+ if BUILD_MODS
+ MODSDIR=content
diff --git a/exult-snapshot/patches/patch-audio_midi__drivers_forked__player.cc b/exult-snapshot/patches/patch-audio_midi__drivers_forked__player.cc
new file mode 100644
index 0000000000..0704d2b130
--- /dev/null
+++ b/exult-snapshot/patches/patch-audio_midi__drivers_forked__player.cc
@@ -0,0 +1,16 @@
+$NetBSD$
+
+--- audio/midi_drivers/forked_player.cc.orig	2017-05-13 09:27:33.000000000 +0000
++++ audio/midi_drivers/forked_player.cc
+@@ -39,7 +39,11 @@ const MidiDriver::MidiDriverDesc forked_
+ // NB: This function doesn't return unless execlp fails!
+ static  void    playFJmidifile(const char *name)
+ {
++#ifdef __NetBSD__
++	execlp("midiplay","midiplay","-v","-v",name,static_cast<char *>0);
++#else
+ 	execlp("playmidi","playmidi","-v","-v","-e",name,static_cast<char *>(0));
++#endif
+ }
+ 
+ forked_player::forked_player() : repeat_(false), forked_job(-1)


Home | Main Index | Thread Index | Old Index