diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-06 15:11:23 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-06 17:13:43 -0500 |
commit | 8308bbbb0816e8b517cc629fd1c422bb138ea3e2 (patch) | |
tree | 0df3f0adab096ca537013bdebe1b2ea0d6cd2fd2 /misc | |
parent | fc5f522017e091b634a26aad59d29816fc167cc1 (diff) |
misc/megatunix: Updated for version 0.9.23.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/megatunix/glib-single-include.patch | 13 | ||||
-rw-r--r-- | misc/megatunix/megatunix.SlackBuild | 16 | ||||
-rw-r--r-- | misc/megatunix/megatunix.info | 6 |
3 files changed, 24 insertions, 11 deletions
diff --git a/misc/megatunix/glib-single-include.patch b/misc/megatunix/glib-single-include.patch new file mode 100644 index 000000000000..75d4b034f62e --- /dev/null +++ b/misc/megatunix/glib-single-include.patch @@ -0,0 +1,13 @@ +Index: megatunix-0.9.23/msloader/mtxloader.c +=================================================================== +--- megatunix-0.9.23.orig/msloader/mtxloader.c ++++ megatunix-0.9.23/msloader/mtxloader.c +@@ -5,7 +5,7 @@ + #include <getfiles.h> + #include <gtk/gtk.h> + #include <glib/gstdio.h> +-#include <glib/gstring.h> ++#include <glib.h> + #include <loader_common.h> + #include <ms1_loader.h> + #include <ms2_loader.h> diff --git a/misc/megatunix/megatunix.SlackBuild b/misc/megatunix/megatunix.SlackBuild index 6adb54c0e83f..cc47791208d0 100644 --- a/misc/megatunix/megatunix.SlackBuild +++ b/misc/megatunix/megatunix.SlackBuild @@ -17,18 +17,14 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. PRGNAM=megatunix -VERSION=0.9.19_beta1 +VERSION=0.9.23 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRC_VERSION="$(printf $VERSION | tr _ -)" - -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -57,12 +53,16 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRC_VERSION -tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.gz -cd $PRGNAM-$SRC_VERSION +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . chmod -R a-s,u+w,go+r-w . +# Starting with glib 2.32 it is now mandatory to +# include glib.h instead of individual headers. +patch -p1 -i $CWD/glib-single-include.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/misc/megatunix/megatunix.info b/misc/megatunix/megatunix.info index 4901b0cce032..7e5a77dfcf13 100644 --- a/misc/megatunix/megatunix.info +++ b/misc/megatunix/megatunix.info @@ -1,8 +1,8 @@ PRGNAM="megatunix" -VERSION="0.9.19_beta1" +VERSION="0.9.23" HOMEPAGE="http://megatunix.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/project/megatunix/MegaTunix/0.9.19/megatunix-0.9.19-beta1.tar.gz" -MD5SUM="a8e321bd835736c0ad9e3e03cce9f67c" +DOWNLOAD="http://downloads.sourceforge.net/project/megatunix/MegaTunix/0.9.23/megatunix-0.9.23.tar.gz" +MD5SUM="a8f8ded09255d717b7711bfffb7e49f6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gtkglext" |