diff options
Diffstat (limited to 'misc/heimdall')
-rw-r--r-- | misc/heimdall/README | 30 | ||||
-rw-r--r-- | misc/heimdall/heimdall.SlackBuild | 22 | ||||
-rw-r--r-- | misc/heimdall/heimdall.info | 2 |
3 files changed, 34 insertions, 20 deletions
diff --git a/misc/heimdall/README b/misc/heimdall/README index d57d404146..98dc6858b6 100644 --- a/misc/heimdall/README +++ b/misc/heimdall/README @@ -7,25 +7,29 @@ Heimdall Frontend. Heimdall command line package includes: Heimdall command line tool and udev rules (for non-root USB access). -Heimdall Frontend package includes: Heimdall Frontend - graphical UI only. -So, this script comes with an option (GUI) that can be set at build time. -The default is GUI=yes, but if you don't want to install the frontend, you -could do that by setting GUI to 'no' in command line: +Heimdall Frontend package includes: Heimdall Frontend - GUI only. + +So, this script comes with an option (GUI) that can be set at build +time. + +The default is GUI=yes, but if you don't want to install the frontend, +you could do that by setting GUI to 'no' in command line: + GUI=no ./heimdall.SlackBuild Don't forget to reloaded udev after installing this package /etc/rc.d/rc.udev reload ------------------------------------------------------------------------------- +----------------------------------------------------------------------- DISCLAIMER: - This software attempts to flash your Galaxy S device. The very nature of - flashing is dangerous. As with all flashing software, Heimdall has the - potential to damage (brick) your phone if not used carefully. If you're - concerned, don't use this software. Flashing ROMs onto your phone may also - void your warranty. Benjamin Dobell and Glass Echidna are not responsible - for the result of your actions. +This software attempts to flash your Galaxy S device. The very nature +of flashing is dangerous. As with all flashing software, Heimdall has +the potential to damage (brick) your phone if not used carefully. If +you're concerned, don't use this software. Flashing ROMs onto your +phone may also void your warranty. Benjamin Dobell and Glass Echidna +are not responsible for the result of your actions. - Heimdall (c) 2010-2013 Benjamin Dobell, Glass Echidna ------------------------------------------------------------------------------- +Heimdall (c) 2010-2013 Benjamin Dobell, Glass Echidna +----------------------------------------------------------------------- diff --git a/misc/heimdall/heimdall.SlackBuild b/misc/heimdall/heimdall.SlackBuild index ac43f236bd..e9a025c218 100644 --- a/misc/heimdall/heimdall.SlackBuild +++ b/misc/heimdall/heimdall.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Heimdall @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=heimdall VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} GUI=${GUI:-yes} # Heimdall Frontend support, enabled by default if [ -z "$ARCH" ]; then @@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -74,7 +84,7 @@ find -L . \ # This is a mandatory Heimdall component cd libpit CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS -std=gnu++14" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -90,7 +100,7 @@ cd $TMP/$PRGNAM-suite-$VERSION # Compile and Install Heimdall cd heimdall CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS -std=gnu++14" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -113,7 +123,7 @@ cd $TMP/$PRGNAM-suite-$VERSION case "$GUI" in yes) cd heimdall-frontend - qmake OUTPUTDIR=$PKG/usr/bin + qmake-qt4 OUTPUTDIR=$PKG/usr/bin make make install DESTDIR=$PKG cd $TMP/$PRGNAM-suite-$VERSION @@ -136,4 +146,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/misc/heimdall/heimdall.info b/misc/heimdall/heimdall.info index 9a41a33779..13fdf5489c 100644 --- a/misc/heimdall/heimdall.info +++ b/misc/heimdall/heimdall.info @@ -5,6 +5,6 @@ DOWNLOAD="https://bitbucket.org/benjamin_dobell/heimdall/downloads/heimdall-suit MD5SUM="911c6825c7a09340c27b1ee5078736c5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="qt4" MAINTAINER="Diniz Bortolotto" EMAIL="diniz.bortolotto@gmail.com" |