Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Robin Cook (50372d582a513fe4afa5cb5922ce95147f692007)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Robin Cook <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Robin Cook (50372d582a513fe4afa5cb5922ce95147f692007)
  • Date: Sun, 3 Nov 2013 13:27:53 -0600

GIT changes to master grimoire by Robin Cook <rcook AT wyrms.net>:

ChangeLog | 7 +++
libs/sdl2/A7763BE6.gpg |binary
libs/sdl2/BUILD | 3 +
libs/sdl2/CONFIGURE | 90 +++++++++++++++++++++++++++++++++++++++++
libs/sdl2/DEPENDS | 100
++++++++++++++++++++++++++++++++++++++++++++++
libs/sdl2/DETAILS | 34 +++++++++++++++
libs/sdl2/HISTORY | 3 +
libs/sdl2/PREPARE | 4 +
libs/sdl2/PRE_BUILD | 10 ++++
libs/sdl2/PRE_SUB_DEPENDS | 5 ++
libs/sdl2/SUB_DEPENDS | 4 +
libs/sdl2_image/DEPENDS | 35 ++++++++++++++++
libs/sdl2_image/DETAILS | 29 +++++++++++++
libs/sdl2_image/HISTORY | 2
libs/sdl2_image/PREPARE | 3 +
libs/sdl2_image/PRE_BUILD | 6 ++
libs/sdl2_mixer/BUILD | 4 +
libs/sdl2_mixer/CONFIGURE | 21 +++++++++
libs/sdl2_mixer/DEPENDS | 54 ++++++++++++++++++++++++
libs/sdl2_mixer/DETAILS | 29 +++++++++++++
libs/sdl2_mixer/HISTORY | 2
libs/sdl2_mixer/PREPARE | 3 +
libs/sdl2_mixer/PRE_BUILD | 6 ++
libs/sdl2_net/DEPENDS | 10 ++++
libs/sdl2_net/DETAILS | 28 ++++++++++++
libs/sdl2_net/HISTORY | 2
libs/sdl2_net/PREPARE | 3 +
libs/sdl2_net/PRE_BUILD | 6 ++
libs/sdl2_ttf/DEPENDS | 6 ++
libs/sdl2_ttf/DETAILS | 30 +++++++++++++
libs/sdl2_ttf/HISTORY | 2
libs/sdl2_ttf/PREPARE | 3 +
libs/sdl2_ttf/PRE_BUILD | 6 ++
33 files changed, 550 insertions(+)

New commits:
commit 50372d582a513fe4afa5cb5922ce95147f692007
Author: Robin Cook <rcook AT wyrms.net>
Commit: Robin Cook <rcook AT wyrms.net>

sdl2_ttf: new version of sdl_ttf

commit 3888f043c521f3172b498b032ca8a922f2c81d32
Author: Robin Cook <rcook AT wyrms.net>
Commit: Robin Cook <rcook AT wyrms.net>

sdl2_net: new version of sdl_net

commit c0b22c39195f8d17d77ddd3e5f072cbcc6e7d41f
Author: Robin Cook <rcook AT wyrms.net>
Commit: Robin Cook <rcook AT wyrms.net>

sdl2_mixer: new version of sdl_mixer

commit 05fb53417023ed628c83ba712211d42ca464cb73
Author: Robin Cook <rcook AT wyrms.net>
Commit: Robin Cook <rcook AT wyrms.net>

sdl2_image: new version of sdl_image

commit f8145d815e388a9c3febeb633b880be1deffbad5
Author: Robin Cook <rcook AT wyrms.net>
Commit: Robin Cook <rcook AT wyrms.net>

sdl2: new spell, new version of SDL

diff --git a/ChangeLog b/ChangeLog
index d03723a..a8fa7db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-11-02 Robin Cook <rcook AT wyrms.net>
+ * libs/sdl2: new spell, new version of sdl
+ * libs/sdl2_image: new spell, new version of sdl_image
+ * libs/sdl2_mixer: new spell, new version of sdl_mixer
+ * libs/sdl2_net: new spell, new version of sdl_net
+ * libs/sdl2_ttf: new spell, new version of sdl_ttf
+
2013-10-27 Ismael Luceno <ismael AT sourcemage.org>
* devel/smake: new spell, highly portable make program with automake
features
diff --git a/libs/sdl2/A7763BE6.gpg b/libs/sdl2/A7763BE6.gpg
new file mode 100644
index 0000000..3b6426e
Binary files /dev/null and b/libs/sdl2/A7763BE6.gpg differ
diff --git a/libs/sdl2/BUILD b/libs/sdl2/BUILD
new file mode 100755
index 0000000..be74b19
--- /dev/null
+++ b/libs/sdl2/BUILD
@@ -0,0 +1,3 @@
+OPTS="$SDL2_OPTS $OPTS" &&
+
+default_build
diff --git a/libs/sdl2/CONFIGURE b/libs/sdl2/CONFIGURE
new file mode 100755
index 0000000..f59a45a
--- /dev/null
+++ b/libs/sdl2/CONFIGURE
@@ -0,0 +1,90 @@
+config_query_option SDL2_OPTS "Use gcc builtin atomics" y \
+ "--enable-gcc-atomics" "--disable-gcc-atomics" &&
+
+config_query_option SDL2_OPTS "Enable the atomic operations subsystem?" y \
+ "--enable-atomic" "--disable-atomic" &&
+
+config_query_option SDL2_OPTS "Enable the audio subsystem?" y \
+ "--enable-audio" "--disable-audio" &&
+
+config_query_option SDL2_OPTS "Enable the video subsystem?" y \
+ "--enable-video" "--disable-video" &&
+
+config_query_option SDL2_OPTS "Enable the render subsystem?" y \
+ "--enable-render" "--disable-render" &&
+
+config_query_option SDL2_OPTS "Enable the events subsystem?" y \
+ "--enable-events" "--disable-events" &&
+
+config_query_option SDL2_OPTS "Enable the joystick subsystem?" y \
+ "--enable-joystick" "--disable-joystick" &&
+
+config_query_option SDL2_OPTS \
+ "Enable the haptic (force feedback) subsystem?" y \
+ "--enable-haptic" "--disable-haptic" &&
+
+config_query_option SDL2_OPTS "Enable the power subsystem?" y \
+ "--enable-power" "--disable-power" &&
+
+config_query_option SDL2_OPTS "Enable the filesystem subsystem?" y \
+ "--enable-filesystem" "--disable-filesystem" &&
+
+config_query_option SDL2_OPTS "Enable the threading subsystem?" y \
+ "--enable-threads" "--disable-threads" &&
+
+config_query_option SDL2_OPTS "Enable the timer subsystem?" y \
+ "--enable-timers" "--disable-timers" &&
+
+config_query_option SDL2_OPTS "Enable the file subsystem?" y \
+ "--enable-file" "--disable-file" &&
+
+config_query_option SDL2_OPTS "Enable the shared object loading subsystem?"
y \
+ "--enable-loadso" "--enable-loadso" &&
+
+config_query_option SDL2_OPTS "Enable the cpuinfo subsystem?" y \
+ "--enable-cpuinfo" "--disable-cpuinfo" &&
+
+config_query_option SDL2_OPTS "Enable assembly routines?" y \
+ "--enable-assembly" "--disable-assembly" &&
+
+config_query_option SDL2_OPTS "Allow GCC to use SSE floating point math?" n \
+ "--enable-ssemath" "--disable-ssemath" &&
+
+config_query_option SDL2_OPTS "Use MMX assembly routines?" y \
+ "--enable-mmx" "--disable-mmx" &&
+
+config_query_option SDL2_OPTS "Use 3DNow! assembly routines?" y \
+ "--enable-3dnow" "--disable-3dnow" &&
+
+config_query_option SDL2_OPTS "Use SSE assembly routines?" y \
+ "--enable-sse" "--enable-sse" &&
+
+config_query_option SDL2_OPTS "Use SSE2 assembly routines?" n \
+ "--enable-sse2" "--enable-sse2" &&
+
+config_query_option SDL2_OPTS "Use Altivec assembly routines?" y \
+
+config_query_option SDL2_OPTS "Support the disk writer audio driver?" y \
+ "--enable-diskaudio" "--disable-diskaudio" &&
+
+config_query_option SDL2_OPTS "Support the dummy audio driver?" y \
+ "--enable-dummyaudio" "--disable-dummyaudio" &&
+
+config_query_option SDL2_OPTS "Use dummy video driver?" y \
+ "--enable-video-dummy" "--disable-video-dummy" &&
+
+config_query_option SDL2_OPTS "Use POSIX threads for multi-threading?" y \
+ "--enable-pthreads" "--disable-pthreads" &&
+
+config_query_option SDL2_OPTS "Use pthread semaphores?" y \
+ "--enable-pthread-sem" "--disable-pthread-sem" &&
+
+config_query_option SDL2_OPTS "Use dlopen for shared object loading?" y \
+ "--enable-sdl-dlopen" "--disable-sdl-dlopen" &&
+
+config_query_option SDL2_OPTS \
+ "Use clock_gettime() instead of gettimeofday() on UNIX?" y \
+ "--enable-clock_gettime" "--disable-clock_gettime" &&
+
+config_query_option SDL2_OPTS "Use an rpath when linking SDL?" y \
+ "--enable-rpath" "--disable-rpath"
diff --git a/libs/sdl2/DEPENDS b/libs/sdl2/DEPENDS
new file mode 100755
index 0000000..15e21db
--- /dev/null
+++ b/libs/sdl2/DEPENDS
@@ -0,0 +1,100 @@
+depends -sub CXX gcc &&
+
+if [ "$SDL2_BRANCH" == "scm" ]; then
+ depends mercurial
+fi &&
+
+suggest_depends glibc \
+ "--enable-libc" "-disable-libc" \
+ "Use the system C library?" &&
+
+optional_depends nasm \
+ "--enable-nasm" "--disable-nasm" \
+ "for faster video overlay" &&
+
+suggest_depends libx11 \
+ "--with-x --enable-video-x11" \
+ "--without-x --disable-video-x11" \
+ "for X11 video output support" &&
+
+if is_depends_enabled $SPELL libx11;then
+ depends libxrender &&
+ suggest_depends libxrandr \
+ "--enable-video-x11-xrandr" "--disable-video-x11-xrandr" \
+ "Enable X11 Xrandr extension for fullscreen?" &&
+ suggest_depends libxxf86vm \
+ "--enable-video-x11-vm" "--disable-video-x11-vm" \
+ "Use X11 VM extension for fullscreen?" &&
+ suggest_depends libxinerama \
+ "--enable-video-x11-xinerama"
"--disable-video-x11-xinerama" \
+ "Enable Xinerama support?" &&
+ suggest_depends libxv \
+ "--enable-video-x11-xv" "--disable-video-x11-xv" \
+ "XvImage extension?" &&
+ suggest_depends libxcursor \
+ "--enable-video-x11-xcursor" "--disable-video-x11-xcursor"
\
+ "Enable X11 Xcursor support?" &&
+ suggest_depends libxi \
+ "--enable-video-x11-xinput" "--disable-video-x11-xinput" \
+ "Enable X11 XInput extension for manymouse, tablets, etc?"
&&
+ suggest_depends libxscrnsaver \
+ "--enable-video-x11-scrnsaver" \
+ "--disable-video-x11-scrnsaver" \
+ "Enable X11 screensaver extension?" &&
+ suggest_depends libxext \
+ "--enable-video-x11-xshape" "--disable-video-x11-xshape" \
+ "Enable X11 XShape support"
+fi &&
+
+optional_depends esound \
+ "--enable-esd" "--disable-esd" \
+ "for esd audio output support?" &&
+
+optional_depends alsa-lib \
+ "--enable-alsa" "--disable-alsa" \
+ "for alsa audio output support?" &&
+
+optional_depends nas \
+ "--enable-nas" "--disable-nas" \
+ "for nas audio output support?" &&
+
+optional_depends pulseaudio \
+ "--enable-pulseaudio" "--disable-pulseaudio" \
+ "for PulseAudio output support?" &&
+
+# --enable-sndio support the sndio audio API [[default=yes]]
+# --enable-sndio-shared dynamically load sndio audio support
[[default=yes]]
+# --enable-oss support the OSS audio API [[default=maybe]]
+# --enable-arts support the Analog Real Time Synthesizer
[[default=yes]]
+# --enable-arts-shared dynamically load aRts audio support
[[default=yes]]
+# --enable-fusionsound use FusionSound audio driver [[default=no]]
+# --enable-fusionsound-shared dynamically load fusionsound audio support
+
+optional_depends directfb \
+ "--enable-video-directfb" "--disable-video-directfb" \
+ "Use DirectFB video driver?" &&
+
+suggest_depends mesalib \
+ "--enable-video-opengl" "--disable-video-opengl" \
+ "Include OpenGL support?" &&
+
+suggest_depends mesalib \
+ "--enable-video-opengles" "--disable-video-opengles" \
+ "Include OpenGL ES support?" &&
+
+suggest_depends UDEV \
+ "--enable-libudev" "--disable-libudev" \
+ "Enable libudev support?" &&
+
+suggest_depends dbus \
+ "--enable-dbus" "--disable-dbus" \
+ "Enable D-Bus support?" &&
+
+suggest_depends tslib \
+ "--enable-input-tslib" "--disable-input-tslib" \
+ "Use the Touchscreen library for input?"
+
+# --enable-video-cocoa use Cocoa video driver [[default=yes]]
+# --enable-directx use DirectX for Windows audio/video
[[default=yes]]
+# --enable-render-d3d enable the Direct3D render driver [[default=yes]]
+
diff --git a/libs/sdl2/DETAILS b/libs/sdl2/DETAILS
new file mode 100755
index 0000000..b961359
--- /dev/null
+++ b/libs/sdl2/DETAILS
@@ -0,0 +1,34 @@
+ SPELL=sdl2
+if [ "$SDL2_BRANCH" == "scm" ]; then
+ if [ "$SDL2_AUTOUPDATE" == "y" ]; then
+ VERSION=2.0-$(date +%Y%m%d)
+ else
+ VERSION=2.0-hg
+ fi
+ SOURCE=$SPELL-2.0-hg.tar.bz2
+ FORCE_DOWNLOAD=on
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-2.0-hg
+ SOURCE_URL[0]=hg_http://hg.libsdl.org/SDL:$SPELL-2.0-hg
+ SOURCE_IGNORE=volatile
+else
+ VERSION=2.0.1
+ SOURCE=SDL2-$VERSION.tar.gz
+ SOURCE2=$SOURCE.sig
+ SOURCE2_IGNORE=signature
+ SOURCE_GPG=A7763BE6.gpg:$SOURCE2:UPSTREAM_KEY
+ SOURCE_URL[0]=http://www.libsdl.org/release/$SOURCE
+ SOURCE2_URL[0]=$SOURCE_URL.sig
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/SDL2-$VERSION
+fi
+ WEB_SITE=http://www.libsdl.org/
+ ENTERED=20120127
+ LICENSE[0]=ZLIB
+ DOCS="docs/html docs/index.html COPYING README*"
+ KEYWORDS="libs"
+ SHORT="Portable game library for low-level access to hardware."
+cat << EOF
+SDL is a library that allows you portable low-level access to a video
+framebuffer, audio output, mouse, and keyboard. With SDL, it is easy to
+write portable games which run on Linux (x86, Sparc, PPC, Alpha),
+Solaris (Sparc), Win32 (95, 98, NT), BeOS (x86), and MacOS (PPC).
+EOF
diff --git a/libs/sdl2/HISTORY b/libs/sdl2/HISTORY
new file mode 100644
index 0000000..96e069f
--- /dev/null
+++ b/libs/sdl2/HISTORY
@@ -0,0 +1,3 @@
+2013-11-02 Robin Cook <rcook AT wyrms.net>
+ * NEW SPELL: BUILD, CONFIGURE, DEPENDS, DETAILS, PRE_BUILD, PREPARE
+ PRE_SUB_DEPENDS, SUB_DEPENDS
diff --git a/libs/sdl2/PREPARE b/libs/sdl2/PREPARE
new file mode 100755
index 0000000..b13754f
--- /dev/null
+++ b/libs/sdl2/PREPARE
@@ -0,0 +1,4 @@
+. ${GRIMOIRE}/FUNCTIONS &&
+prepare_select_branch stable scm
+
+
diff --git a/libs/sdl2/PRE_BUILD b/libs/sdl2/PRE_BUILD
new file mode 100755
index 0000000..54d5833
--- /dev/null
+++ b/libs/sdl2/PRE_BUILD
@@ -0,0 +1,10 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+
+if [ "$SDL_BRANCH" == "scm" ]; then
+ NOCONFIGURE=y ./autogen.sh
+fi &&
+
+mkdir -p smgl &&
+cp $SCRIPT_DIRECTORY/sdl2 smgl/ &&
+cp $SCRIPT_DIRECTORY/sdl2.sh smgl/
diff --git a/libs/sdl2/PRE_SUB_DEPENDS b/libs/sdl2/PRE_SUB_DEPENDS
new file mode 100755
index 0000000..aba4593
--- /dev/null
+++ b/libs/sdl2/PRE_SUB_DEPENDS
@@ -0,0 +1,5 @@
+case $THIS_SUB_DEPENDS in
+X11-LIBS) is_depends_enabled $SPELL xorg-libs && return 0 ;;
+esac &&
+
+return 1
diff --git a/libs/sdl2/SUB_DEPENDS b/libs/sdl2/SUB_DEPENDS
new file mode 100755
index 0000000..9d604f2
--- /dev/null
+++ b/libs/sdl2/SUB_DEPENDS
@@ -0,0 +1,4 @@
+case $THIS_SUB_DEPENDS in
+X11-LIBS) depends xorg-libs '--with-x' ;;
+ *) echo unknown sub-depends!!! ; return 1 ;;
+esac
diff --git a/libs/sdl2_image/DEPENDS b/libs/sdl2_image/DEPENDS
new file mode 100755
index 0000000..c1e222e
--- /dev/null
+++ b/libs/sdl2_image/DEPENDS
@@ -0,0 +1,35 @@
+depends sdl2 &&
+
+if [ "$SDL_IMAGE_BRANCH" == "scm" ]; then
+ depends mercurial
+fi &&
+
+optional_depends libpng \
+ "--enable-png" "--disable-png" \
+ "Support loading PNG images?" &&
+
+optional_depends JPEG \
+ "--enable-jpg" "--disable-jpg" \
+ "Support loading JPEG images?" &&
+
+optional_depends tiff \
+ "--enable-tif" "--disable-tif" \
+ "Support loading TIFF images?" &&
+
+optional_depends libwebp \
+ "--enable-webp" "--disable-webp" \
+ "Support loading WEBP images?" &&
+
+optional_depends giflib \
+ "--enable-gif" "--disable-gif" \
+ "Support loading GIF images?"
+
+# --enable-bmp support loading BMP/ICO/CUR images [default=yes]
+# --enable-lbm support loading LBM images [default=yes]
+# --enable-pcx support loading PCX images [default=yes]
+# --enable-pnm support loading PNM images [default=yes]
+# --enable-tga support loading TGA images [default=yes]
+# --enable-xcf support loading XCF images [default=yes]
+# --enable-xpm support loading XPM images [default=yes]
+# --enable-xv support loading XV images [default=yes]
+
diff --git a/libs/sdl2_image/DETAILS b/libs/sdl2_image/DETAILS
new file mode 100755
index 0000000..e32f970
--- /dev/null
+++ b/libs/sdl2_image/DETAILS
@@ -0,0 +1,29 @@
+ SPELL=sdl2_image
+if [ "$SDL_IMAGE_BRANCH" == "scm" ]; then
+ if [ "$SDL_IMAGE_AUTOUPDATE" == "y" ]; then
+ VERSION=2.0-$(date +%Y%m%d)
+ else
+ VERSION=2.0-hg
+ fi
+ SOURCE=$SPELL-2.0-hg.tar.bz2
+ FORCE_DOWNLOAD=on
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-2.0-hg
+ SOURCE_URL[0]=hg_http://hg.libsdl.org/SDL_image:$SPELL-2.0-hg
+ SOURCE_IGNORE=volatile
+else
+ VERSION=2.0.0
+ SOURCE=SDL2_image-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/SDL2_image-$VERSION
+ SOURCE_URL[0]=http://www.libsdl.org/projects/SDL_image/release/$SOURCE
+
SOURCE_HASH=sha512:300ff078c4c9a74ccc143692630e9c97e25a223bf80661cd5e7d684a25c6ad7760b20778d492d6cc41521dcd2a00e4a76947cf6dffc679fdbd54f430b3906ea6
+fi
+ WEB_SITE=http://www.libsdl.org/projects/SDL_image
+ ENTERED=20131102
+ LICENSE[0]=zlib
+ KEYWORDS="sdl images libs"
+ SHORT="Simple library to load images of various formats as SDL
surfaces."
+cat << EOF
+SDL_image is a simple library to load images of various formats as SDL
+surfaces. It supports BMP, PPM, XPM, PCX, GIF, JPEG, PNG, and TGA
+formats.
+EOF
diff --git a/libs/sdl2_image/HISTORY b/libs/sdl2_image/HISTORY
new file mode 100644
index 0000000..409237c
--- /dev/null
+++ b/libs/sdl2_image/HISTORY
@@ -0,0 +1,2 @@
+2013-11-02 Robin Cook <rcook AT wyrms.net>
+ * New Spell: DEPENDS, DETAILS, PREPARE, PRE_BUILD
diff --git a/libs/sdl2_image/PREPARE b/libs/sdl2_image/PREPARE
new file mode 100755
index 0000000..83f15d3
--- /dev/null
+++ b/libs/sdl2_image/PREPARE
@@ -0,0 +1,3 @@
+. ${GRIMOIRE}/FUNCTIONS &&
+prepare_select_branch stable scm
+
diff --git a/libs/sdl2_image/PRE_BUILD b/libs/sdl2_image/PRE_BUILD
new file mode 100755
index 0000000..e70e116
--- /dev/null
+++ b/libs/sdl2_image/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+
+if [ "$SDL_IMAGE_BRANCH" == "scm" ]; then
+ NOCONFIGURE=y ./autogen.sh
+fi
diff --git a/libs/sdl2_mixer/BUILD b/libs/sdl2_mixer/BUILD
new file mode 100755
index 0000000..e40a0f4
--- /dev/null
+++ b/libs/sdl2_mixer/BUILD
@@ -0,0 +1,4 @@
+sedit "s:local/lib/timidity:share/timidity/sdl:" timidity/config.h &&
+OPTS="$SDL2MIXER_OPT $SDL2MIXER_MOD $SDL2MIXER_MP3 $SDL2MIXER_MIDI \
+ $SDL2MIXER_NATIVE_MIDI $OPTS" &&
+default_build
diff --git a/libs/sdl2_mixer/CONFIGURE b/libs/sdl2_mixer/CONFIGURE
new file mode 100755
index 0000000..681bcc4
--- /dev/null
+++ b/libs/sdl2_mixer/CONFIGURE
@@ -0,0 +1,21 @@
+config_query_option SDL2MIXER_OPT "Support an external music player?" y \
+ "--enable-music-cmd" "--disable-music-cmd" &&
+
+config_query_option SDL2MIXER_OPT "Enable streaming WAVE music?" y \
+ "--enable-music-wave" "--disable-music-wave" &&
+
+config_query_option SDL2MIXER_MOD "Enable MOD music?" y \
+ "--enable-music-mod" "--disable-music-mod" &&
+
+config_query_option SDL2MIXER_MP3 "Enable MP3 music?" y \
+ "--enable-music-mp3" "--disable-music-mp3" &&
+
+config_query_option SDL2MIXER_MIDI "Enable MIDI music?" y \
+ "--enable-music-midi" "--disable-music-midi" &&
+
+if [ "$SDL2MIXER_MIDI" == "--enable-music-midi" ]; then
+ config_query_option SDL2MIXER_NATIVE_MIDI "Enable native MIDI support?" y
\
+ "--enable-music-native-midi" \
+ "--disable-music-native-midi"
+fi
+
diff --git a/libs/sdl2_mixer/DEPENDS b/libs/sdl2_mixer/DEPENDS
new file mode 100755
index 0000000..a4c3691
--- /dev/null
+++ b/libs/sdl2_mixer/DEPENDS
@@ -0,0 +1,54 @@
+depends sdl2 &&
+depends audiofile &&
+
+if [ "$SDL2_MIXER_BRANCH" == "scm" ]; then
+ depends mercurial
+fi
+
+if [ "$SDL2MIXER_MOD" == "--enable-music-mod" ]; then
+ optional_depends modplug \
+ "--enable-music-mod-modplug" \
+ "--disable-music-mod-modplug" \
+ "Enable MOD music via modplug?" &&
+
+ optional_depends mikmod \
+ "--enable-music-mod-mikmod" \
+ "--disable-music-mod-mikmod" \
+ "Enable MOD music via mikmod?"
+fi
+
+if [ "$SDL2MIXER_MIDI" == "--enable-music-midi" ]; then
+ optional_depends TIMIDITY \
+ "--enable-music-midi-timidity" \
+ "--disable-music-midi-timidity" \
+ "Enable timidity MIDI output?" &&
+ optional_depends fluidsynth \
+ "--enable-music-midi-fluidsynth" \
+ "--disable-music-midi-fluidsynth" \
+ "Enable FluidSynth MIDI output?" &&
+ if [[ "$SDL2MIXER_NATIVE_MIDI" == "--enable-music-native-midi" ]]; then
+ depends freepats
+ fi
+fi
+
+if [ "$SDL2MIXER_MP3" == "--enable-music-mp3" ]; then
+ optional_depends smpeg2 \
+ "--enable-music-mp3-smpeg" \
+ "--disable-music-mp3-smpeg --disable-smpegtest" \
+ "Enable MP3 music via smpeg?" &&
+ optional_depends libmad \
+ "--enable-music-mp3-mad-gpl" \
+ "--disable-music-mp3-mad-gpl" \
+ "Enable MP3 music via libmad GPL code?"
+fi
+
+optional_depends libvorbis \
+ "--enable-music-ogg" \
+ "--disable-music-ogg" \
+ "Enable OGG/Vorbis music?" &&
+
+optional_depends flac \
+ "--enable-music-flac" \
+ "--disable-music-flac" \
+ "Enable FLAC music?"
+
diff --git a/libs/sdl2_mixer/DETAILS b/libs/sdl2_mixer/DETAILS
new file mode 100755
index 0000000..8dcdc97
--- /dev/null
+++ b/libs/sdl2_mixer/DETAILS
@@ -0,0 +1,29 @@
+ SPELL=sdl2_mixer
+if [ "$SDL_MIXER_BRANCH" == "scm" ]; then
+ if [ "$SDL_MIXER_AUTOUPDATE" == "y" ]; then
+ VERSION=2.0-$(date +%Y%m%d)
+ else
+ VERSION=2.0-hg
+ fi
+ SOURCE=$SPELL-2.0-hg.tar.bz2
+ FORCE_DOWNLOAD=on
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-2.0-hg
+ SOURCE_URL[0]=hg_http://hg.libsdl.org/SDL_mixer:$SPELL-2.0-hg
+ SOURCE_IGNORE=volatile
+else
+ VERSION=2.0.0
+ SOURCE=SDL2_mixer-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/SDL2_mixer-$VERSION
+ SOURCE_URL[0]=http://www.libsdl.org/projects/SDL_mixer/release/$SOURCE
+
SOURCE_HASH=sha512:e04594abc13c2b6527cd92a94a8d3e18436e9e6aaee21bab83e288e259a2fb20aae8433765d07feeb3b5bf253951323d67054239091e79720846770beb30be4d
+fi
+ WEB_SITE=http://www.libsdl.org/projects/SDL_mixer/
+ ENTERED=20131102
+ LICENSE[0]=ZLIB
+ KEYWORDS="mixer sdl libs"
+ SHORT="SDL multi-channel audio mixer"
+cat << EOF
+SDL_mixer is a simple multi-channel audio mixer. It supports 8 channels
+of 16 bit stereo audio, plus a single channel of music, mixed by the
+popular MikMod MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries.
+EOF
diff --git a/libs/sdl2_mixer/HISTORY b/libs/sdl2_mixer/HISTORY
new file mode 100644
index 0000000..81afc0a
--- /dev/null
+++ b/libs/sdl2_mixer/HISTORY
@@ -0,0 +1,2 @@
+2013-11-02 Robin Cook <rcook AT wyrms.net>
+ * New Spell: BUILD, CONFIGURE, DEPENDS, DETAILS, PRE_BUILD, PREPARE
diff --git a/libs/sdl2_mixer/PREPARE b/libs/sdl2_mixer/PREPARE
new file mode 100755
index 0000000..83f15d3
--- /dev/null
+++ b/libs/sdl2_mixer/PREPARE
@@ -0,0 +1,3 @@
+. ${GRIMOIRE}/FUNCTIONS &&
+prepare_select_branch stable scm
+
diff --git a/libs/sdl2_mixer/PRE_BUILD b/libs/sdl2_mixer/PRE_BUILD
new file mode 100755
index 0000000..55ad3ea
--- /dev/null
+++ b/libs/sdl2_mixer/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+
+if [ "$SDL_MIXER_BRANCH" == "scm" ]; then
+ cd $SOURCE_DIRECTORY &&
+ NOCONFIGURE=y ./autogen.sh
+fi
diff --git a/libs/sdl2_net/DEPENDS b/libs/sdl2_net/DEPENDS
new file mode 100755
index 0000000..2debd45
--- /dev/null
+++ b/libs/sdl2_net/DEPENDS
@@ -0,0 +1,10 @@
+depends sdl2 &&
+
+if [ "$SDL_NET_BRANCH" == "scm" ]; then
+ depends mercurial
+fi &&
+
+optional_depends guilib \
+ "--enable-gui" \
+ "--disable-gui" \
+ "Build GUI test programs?"
diff --git a/libs/sdl2_net/DETAILS b/libs/sdl2_net/DETAILS
new file mode 100755
index 0000000..2a8a610
--- /dev/null
+++ b/libs/sdl2_net/DETAILS
@@ -0,0 +1,28 @@
+ SPELL=sdl2_net
+if [ "$SDL_NET_BRANCH" == "scm" ]; then
+ if [ "$SDL_NET_AUTOUPDATE" == "y" ]; then
+ VERSION=2.0-$(date +%Y%m%d)
+ else
+ VERSION=2.0-hg
+ fi
+ SOURCE=$SPELL-2.0-hg.tar.bz2
+ FORCE_DOWNLOAD=on
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-1.2-hg
+ SOURCE_URL[0]=hg_http://hg.libsdl.org/SDL_net:$SPELL-1.2-hg:SDL-1.2
+ SOURCE_IGNORE=volatile
+else
+ VERSION=2.0.0
+
SOURCE_HASH=sha512:bf91f18bb1c62f00cccc3aa459c18c120afc3d8e16ee92c01762ef890f620b5346b1b62ca48ae0b848a062b49656e5f7a4c27d74788a8788357b5e36c1a767a2
+ SOURCE=SDL2_net-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/SDL2_net-$VERSION
+ SOURCE_URL[0]=http://www.libsdl.org/projects/SDL_net/release/$SOURCE
+fi
+ WEB_SITE=http://www.libsdl.org/projects/SDL_net/
+ ENTERED=20011124
+ LICENSE[0]=ZLIB
+ KEYWORDS="sdl libs"
+ SHORT="SDL cross-platform networking library"
+cat << EOF
+A small sample cross-platform networking library, with a sample chat
+client and server application.
+EOF
diff --git a/libs/sdl2_net/HISTORY b/libs/sdl2_net/HISTORY
new file mode 100644
index 0000000..290e7bb
--- /dev/null
+++ b/libs/sdl2_net/HISTORY
@@ -0,0 +1,2 @@
+2013-11-02 Robin Cook <rcook AT wyrms.net>
+ * New Spell: DEPENDS, DETAILS, HISTORY, PRE_BUILD, PREPARE
diff --git a/libs/sdl2_net/PREPARE b/libs/sdl2_net/PREPARE
new file mode 100755
index 0000000..83f15d3
--- /dev/null
+++ b/libs/sdl2_net/PREPARE
@@ -0,0 +1,3 @@
+. ${GRIMOIRE}/FUNCTIONS &&
+prepare_select_branch stable scm
+
diff --git a/libs/sdl2_net/PRE_BUILD b/libs/sdl2_net/PRE_BUILD
new file mode 100755
index 0000000..2b95f3e
--- /dev/null
+++ b/libs/sdl2_net/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+
+if [ "$SDL_NET_BRANCH" == "scm" ]; then
+ cd $SOURCE_DIRECTORY &&
+ NOCONFIGURE=y ./autogen.sh
+fi
diff --git a/libs/sdl2_ttf/DEPENDS b/libs/sdl2_ttf/DEPENDS
new file mode 100755
index 0000000..265bdf8
--- /dev/null
+++ b/libs/sdl2_ttf/DEPENDS
@@ -0,0 +1,6 @@
+depends freetype2 &&
+depends sdl2 &&
+
+if [ "$SDL_TTF_BRANCH" == "scm" ]; then
+ depends mercurial
+fi
diff --git a/libs/sdl2_ttf/DETAILS b/libs/sdl2_ttf/DETAILS
new file mode 100755
index 0000000..4be27a3
--- /dev/null
+++ b/libs/sdl2_ttf/DETAILS
@@ -0,0 +1,30 @@
+ SPELL=sdl2_ttf
+if [ "$SDL_TTF_BRANCH" == "scm" ]; then
+ if [ "$SDL_TTF_AUTOUPDATE" == "y" ]; then
+ VERSION=2.0-$(date +%Y%m%d)
+ else
+ VERSION=2.0-hg
+ fi
+ SOURCE=$SPELL-2.0-hg.tar.bz2
+ FORCE_DOWNLOAD=on
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-2.0-hg
+ SOURCE_URL[0]=hg_http://hg.libsdl.org/SDL_ttf:$SPELL-2.0-hg
+ SOURCE_IGNORE=volatile
+else
+ VERSION=2.0.12
+ SOURCE=SDL2_ttf-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/SDL2_ttf-$VERSION
+ SOURCE_URL[0]=http://www.libsdl.org/projects/SDL_ttf/release/$SOURCE
+
SOURCE_HASH=sha512:2dfd7d9a87d86b0446e52c78dcf4c45dba747256ff9cb4cc010818eac725410f5a1a781e6695ca0bcead756c70519d8d5b4df6c1b2935085e0356d9b4d7844fa
+fi
+ WEB_SITE=http://www.libsdl.org/projects/SDL_ttf/
+ ENTERED=20020412
+ LICENSE[0]=LGPL
+ KEYWORDS="sdl fonts libs"
+ SHORT="Allow SDL apps to use TrueType fonts"
+cat << EOF
+This is a sample library which allows you to use TrueType fonts
+in your SDL applications. It comes with an example program
+"showfont" which displays an example string for a given
+TrueType font file.
+EOF
diff --git a/libs/sdl2_ttf/HISTORY b/libs/sdl2_ttf/HISTORY
new file mode 100644
index 0000000..396ccbb
--- /dev/null
+++ b/libs/sdl2_ttf/HISTORY
@@ -0,0 +1,2 @@
+2013-11-02 Robin Cook <rcook AT wyrms.net>
+ * New Spell: DEPENDS, DETAILS, PRE_BUILD, PREPARE
diff --git a/libs/sdl2_ttf/PREPARE b/libs/sdl2_ttf/PREPARE
new file mode 100755
index 0000000..83f15d3
--- /dev/null
+++ b/libs/sdl2_ttf/PREPARE
@@ -0,0 +1,3 @@
+. ${GRIMOIRE}/FUNCTIONS &&
+prepare_select_branch stable scm
+
diff --git a/libs/sdl2_ttf/PRE_BUILD b/libs/sdl2_ttf/PRE_BUILD
new file mode 100755
index 0000000..f22f748
--- /dev/null
+++ b/libs/sdl2_ttf/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+
+if [ "$SDL_TTF_BRANCH" == "scm" ]; then
+ cd $SOURCE_DIRECTORY &&
+ NOCONFIGURE=y ./autogen.sh
+fi



  • [SM-Commit] GIT changes to master grimoire by Robin Cook (50372d582a513fe4afa5cb5922ce95147f692007), Robin Cook, 11/03/2013

Archive powered by MHonArc 2.6.24.

Top of Page