system/herculesstudio: Updated for version 1.4.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
4d65d45e63
commit
84edf27dd6
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for herculesstudio
|
# Slackware build script for herculesstudio
|
||||||
# a GUI for the Hercules Emulator
|
# a GUI for the Hercules Emulator
|
||||||
|
|
||||||
# Copyright 2010-2012 Niels Horn, Rio de Janeiro, RJ, Brazil
|
# Copyright 2010-2013 Niels Horn, Rio de Janeiro, RJ, Brazil
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,11 +23,11 @@
|
||||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
# revision date 2012/08/09
|
# revision date 2013/03/25
|
||||||
|
|
||||||
PRGNAM=herculesstudio
|
PRGNAM=herculesstudio
|
||||||
VERSION=${VERSION:-1.3.0}
|
VERSION=${VERSION:-1.4.0}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
PRGUNTARRED=HerculesStudio
|
PRGUNTARRED=HerculesStudio
|
||||||
|
@ -64,11 +64,9 @@ set -e
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGUNTARRED
|
||||||
# the tarball untars in the current directory...
|
|
||||||
mkdir $PRGNAM-$VERSION
|
|
||||||
cd $PRGNAM-$VERSION
|
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
|
tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
|
||||||
|
cd $PRGUNTARRED
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||||
|
@ -76,12 +74,6 @@ find . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
# Correct "target.path"
|
|
||||||
sed -i "s,/usr/local/,/usr/,g" $PRGUNTARRED.pro
|
|
||||||
|
|
||||||
# Fix for gcc-4.7
|
|
||||||
patch -p0 < $CWD/herculesstudio_gcc47.patch
|
|
||||||
|
|
||||||
qmake
|
qmake
|
||||||
|
|
||||||
# Accept our CXXFLAGS
|
# Accept our CXXFLAGS
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="herculesstudio"
|
PRGNAM="herculesstudio"
|
||||||
VERSION="1.3.0"
|
VERSION="1.4.0"
|
||||||
HOMEPAGE="http://www.mvsdasd.org/hercstudio/"
|
HOMEPAGE="http://www.mvsdasd.org/hercstudio/"
|
||||||
DOWNLOAD="http://www.mvsdasd.org/hercstudio/herculesstudio-1.3.0-src.tar.gz"
|
DOWNLOAD="http://www.mvsdasd.org/hercstudio/herculesstudio-1.4.0-src.tar.gz"
|
||||||
MD5SUM="79c2f6bb9de1a572f113e89d9f7e32f8"
|
MD5SUM="58d6643a97ce80df44bf655a5ac23c6c"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="hercules"
|
REQUIRES="hercules"
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
--- HercStudio/HerculesExecutor.cpp 2011-07-13 03:13:06.000000000 -0300
|
|
||||||
+++ HercStudio_patched/HerculesExecutor.cpp 2012-08-09 15:34:30.000000000 -0300
|
|
||||||
@@ -28,6 +28,7 @@
|
|
||||||
#include "NamedPipe.h"
|
|
||||||
|
|
||||||
#include <cstdio>
|
|
||||||
+#include <unistd.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
--- HercStudio/MainWindow.cpp 2011-07-13 03:13:06.000000000 -0300
|
|
||||||
+++ HercStudio_patched/MainWindow.cpp 2012-08-09 15:46:50.000000000 -0300
|
|
||||||
@@ -57,6 +57,7 @@
|
|
||||||
#include <QTimer>
|
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
+#include <unistd.h>
|
|
||||||
#include "cerrno"
|
|
||||||
#ifndef hFramework
|
|
||||||
#include <err.h>
|
|
|
@ -1,9 +1,9 @@
|
||||||
# HOW TO EDIT THIS FILE:
|
# HOW TO EDIT THIS FILE:
|
||||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
# The "handy ruler" below makes it easier to edit a package description.
|
||||||
# up the first '|' above the ':' following the base package name, and the '|' on
|
# Line up the first '|' above the ':' following the base package name, and
|
||||||
# the right side marks the last column you can put a character in. You must make
|
# the '|' on the right side marks the last column you can put a character in.
|
||||||
# exactly 11 lines for the formatting to be correct. It's also customary to
|
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||||
# leave one space after the ':'.
|
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||||
|
|
||||||
|-----handy-ruler------------------------------------------------------|
|
|-----handy-ruler------------------------------------------------------|
|
||||||
herculesstudio: herculesstudio (Hercules GUI for Linux)
|
herculesstudio: herculesstudio (Hercules GUI for Linux)
|
||||||
|
|
Loading…
Reference in New Issue