pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Garden of Coloured Lights: Importing garden-1.0.9
Module Name: pkgsrc-wip
Committed By: i3enedek <pkgsrc%xn--rvztrtkrfrgp-bbb7j2b8f0b9d7a21oft.com@localhost>
Pushed By: i3enedek
Date: Fri Dec 15 23:25:07 2017 +0000
Changeset: 1de292f6190e8c89117eb2e8657a399dd9a0aba3
Added Files:
garden/DESCR
garden/Makefile
garden/PLIST
garden/distinfo
garden/patches/patch-configure
garden/patches/patch-src_stuff.c
garden/patches/patch-src_stuff.h
Log Message:
Garden of Coloured Lights: Importing garden-1.0.9
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1de292f6190e8c89117eb2e8657a399dd9a0aba3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
garden/DESCR | 4 +++
garden/Makefile | 23 ++++++++++++++
garden/PLIST | 69 ++++++++++++++++++++++++++++++++++++++++
garden/distinfo | 9 ++++++
garden/patches/patch-configure | 36 +++++++++++++++++++++
garden/patches/patch-src_stuff.c | 28 ++++++++++++++++
garden/patches/patch-src_stuff.h | 15 +++++++++
7 files changed, 184 insertions(+)
diffs:
diff --git a/garden/DESCR b/garden/DESCR
new file mode 100644
index 0000000000..7233da7ebc
--- /dev/null
+++ b/garden/DESCR
@@ -0,0 +1,4 @@
+Garden of coloured lights is an old school 2D vertical shoot-em-up with
+some innovative elements. Innovative graphics, soundtrack and game concept.
+The game itself is very challenging and as you progress, you will understand
+that you are dealing with a true piece of art...
diff --git a/garden/Makefile b/garden/Makefile
new file mode 100644
index 0000000000..6c1d7b97f8
--- /dev/null
+++ b/garden/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME= garden-1.0.9
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=garden/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://garden.sourceforge.net/drupal/
+COMMENT= Vertical shoot-em-up with nontraditional elements
+LICENSE= gnu-gpl-v3
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+
+#DEPENDS+= doxygen>=1.8.2:../../devel/doxygen
+
+# Patches can be omitted with
+#CFLAGS += -fgnu89-inline
+
+.include "../../devel/allegro/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/garden/PLIST b/garden/PLIST
new file mode 100644
index 0000000000..887fb60c0b
--- /dev/null
+++ b/garden/PLIST
@@ -0,0 +1,69 @@
+@comment $NetBSD$
+bin/garden
+share/appdata/garden.appdata.xml
+share/applications/garden.desktop
+share/garden/beat/arp.wav
+share/garden/beat/beam.wav
+share/garden/beat/blip.wav
+share/garden/beat/cymbal1.wav
+share/garden/beat/dline.wav
+share/garden/beat/drum1.wav
+share/garden/beat/drum2.wav
+share/garden/beat/drum3.wav
+share/garden/beat/drum4.wav
+share/garden/beat/flute.wav
+share/garden/beat/flute2_l.wav
+share/garden/beat/flute2_s.wav
+share/garden/beat/flute_l.wav
+share/garden/beat/food.wav
+share/garden/beat/funny.wav
+share/garden/beat/light.wav
+share/garden/beat/line1.wav
+share/garden/beat/line2.wav
+share/garden/beat/line3.wav
+share/garden/beat/long.wav
+share/garden/beat/long2.wav
+share/garden/beat/multi.wav
+share/garden/beat/multi2.wav
+share/garden/beat/nice.wav
+share/garden/beat/nice2.wav
+share/garden/beat/pan.wav
+share/garden/beat/piano.wav
+share/garden/beat/saw.wav
+share/garden/beat/spinner.wav
+share/garden/beat/square.wav
+share/garden/beat/stage4.wav
+share/garden/beat/string.wav
+share/garden/beat/sweet.wav
+share/garden/beat/sweet2.wav
+share/garden/beat/synth.wav
+share/garden/beat/thing4.wav
+share/garden/beat/voice.wav
+share/garden/beat/walker.wav
+share/garden/beat/xline.wav
+share/garden/gfx/garden.dat
+share/garden/gfx/large.bmp
+share/garden/gfx/multi.bmp
+share/garden/gfx/platform.bmp
+share/garden/gfx/small.bmp
+share/garden/gfx/splash.bmp
+share/garden/gfx/trans.bmp
+share/garden/init.txt
+share/garden/wavs/bang.wav
+share/garden/wavs/bang2.wav
+share/garden/wavs/blop.wav
+share/garden/wavs/cannon.wav
+share/garden/wavs/extra.wav
+share/garden/wavs/fire.wav
+share/garden/wavs/level.wav
+share/garden/wavs/lwbeam.wav
+share/garden/wavs/mgun.wav
+share/garden/wavs/mouth.wav
+share/garden/wavs/p_bang.wav
+share/garden/wavs/rect.wav
+share/garden/wavs/rect2.wav
+share/garden/wavs/scatter.wav
+share/garden/wavs/swbeam.wav
+share/garden/wavs/whoosh.wav
+share/garden/wavs/worms.wav
+share/icons/hicolor/scalable/apps/garden.svg
diff --git a/garden/distinfo b/garden/distinfo
new file mode 100644
index 0000000000..8ea844cd6d
--- /dev/null
+++ b/garden/distinfo
@@ -0,0 +1,9 @@
+$NetBSD$
+
+SHA1 (garden-1.0.9.tar.gz) = ed61ec3ece9258d822094160843c7521c38538ad
+RMD160 (garden-1.0.9.tar.gz) = e8aededc8a235d11025e51887c1b78cd7ccdded8
+SHA512 (garden-1.0.9.tar.gz) = e8f52fc0ebf9eaa7933ae1faa5610e8a27a5e7cfc59d033714c4306a53680feeddd52b1fb3050f2d72addba03ee383e71e57eac02270f3d2369aed054a9a9848
+Size (garden-1.0.9.tar.gz) = 2714783 bytes
+SHA1 (patch-configure) = 2663b0c4e1f607efb6314a954aa23cc14797759a
+SHA1 (patch-src_stuff.c) = 8af1def4c57577f5b56aa4c9383972f7a3befce1
+SHA1 (patch-src_stuff.h) = 4cf88affe9374329480697a21c7b15c142b8ccfc
diff --git a/garden/patches/patch-configure b/garden/patches/patch-configure
new file mode 100644
index 0000000000..3109e80904
--- /dev/null
+++ b/garden/patches/patch-configure
@@ -0,0 +1,36 @@
+$NetBSD$
+
+--- configure.orig 2015-01-19 21:57:48.000000000 +0000
++++ configure
+@@ -12319,7 +12319,7 @@ rm -f core conftest.err conftest.$ac_obj
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_allegro" >&5
+ $as_echo "$have_allegro" >&6; }
+ LIBS=$LIBS_SAVE
+- if test "x$have_allegro" == "xyes"; then :
++ if test "x$have_allegro" = "xyes"; then :
+ return 0
+ else
+ return 1
+@@ -12591,7 +12591,7 @@ rm -f core conftest.err conftest.$ac_obj
+
+
+ try_link_allegro "$allegro_LIBS"
+-if test "x$?" == "x0"; then :
++if test "x$?" = "x0"; then :
+ LIBS="$LIBS $allegro_LIBS"
+ ALLEGRO_LIB=`echo $allegro_LIBS | sed -e 's/.*-l\([^[:blank:]]*\).*/\1/'`
+ have_allegro="yes"
+@@ -12608,11 +12608,11 @@ fi
+ for lib in $ALLEGRO_LIBS
+ do
+ ldflag="-l$lib"
+- if test "x$have_allegro" == "xyes"; then :
++ if test "x$have_allegro" = "xyes"; then :
+ break
+ fi
+ try_link_allegro $ldflag
+- if test "x$?" == "x0"; then :
++ if test "x$?" = "x0"; then :
+ LIBS="$LIBS $ldflag"
+ ALLEGRO_LIB="$lib"
+ have_allegro="yes"
diff --git a/garden/patches/patch-src_stuff.c b/garden/patches/patch-src_stuff.c
new file mode 100644
index 0000000000..75556a1c8d
--- /dev/null
+++ b/garden/patches/patch-src_stuff.c
@@ -0,0 +1,28 @@
+$NetBSD$
+
+--- src/stuff.c.orig 2015-01-19 21:17:42.000000000 +0000
++++ src/stuff.c
+@@ -52,7 +52,7 @@ float decoy_table[ANGLE_1]; // not used
+ float cos_table[ANGLE_1];
+ float sin_table[ANGLE_1];
+
+-inline int xpart (int angle, int length);
++int xpart (int angle, int length);
+
+ void init_trig (void)
+ {
+@@ -67,12 +67,12 @@ void init_trig (void)
+
+ }
+
+-inline int xpart (int angle, int length)
++int xpart (int angle, int length)
+ {
+ return (cos_table[angle & 1023] * length);
+ }
+
+-inline int ypart (int angle, int length)
++int ypart (int angle, int length)
+ {
+ return (sin_table[angle & 1023] * length);
+ }
diff --git a/garden/patches/patch-src_stuff.h b/garden/patches/patch-src_stuff.h
new file mode 100644
index 0000000000..ea689c0ab3
--- /dev/null
+++ b/garden/patches/patch-src_stuff.h
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- src/stuff.h.orig 2015-01-19 20:19:08.000000000 +0000
++++ src/stuff.h
+@@ -24,8 +24,8 @@ int grand (int number);
+ int crandom (int number);
+ int turn_towards_angle (int angle, int tangle, int turning);
+ int turn_towards_xy (int x1, int y1, int x2, int y2, int angle, int turning);
+-inline int xpart (int angle, int length);
+-inline int ypart (int angle, int length);
++int xpart (int angle, int length);
++int ypart (int angle, int length);
+ int pulsate (int speed, int amount, int county);
+ int angle_difference (int a1, int a2);
+
Home |
Main Index |
Thread Index |
Old Index