summaryrefslogtreecommitdiff
path: root/graphics/fritzing
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2015-02-19 18:49:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-19 18:49:23 +0700
commit91754a7d75835472d91c9cdf15d8e764313968cb (patch)
tree1beddbdbda85095d41e26df3d9610f2d18711534 /graphics/fritzing
parent0d2ecf45181dce12bf57878ee678b2bd69330c19 (diff)
downloadslackbuilds-91754a7d75835472d91c9cdf15d8e764313968cb.tar.gz
graphics/fritzing: Updated for version 0.9.1b.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/fritzing')
-rw-r--r--graphics/fritzing/fritzing.SlackBuild29
-rw-r--r--graphics/fritzing/fritzing.info12
-rw-r--r--graphics/fritzing/slack-desc2
3 files changed, 21 insertions, 22 deletions
diff --git a/graphics/fritzing/fritzing.SlackBuild b/graphics/fritzing/fritzing.SlackBuild
index c116c0d2f3..8714f8d988 100644
--- a/graphics/fritzing/fritzing.SlackBuild
+++ b/graphics/fritzing/fritzing.SlackBuild
@@ -5,6 +5,9 @@
# Copyright 2010-2013 Niels Horn, Rio de Janeiro, RJ, Brazil
# All rights reserved.
+
+# This script has been edited by R. S. Ananda Murthy, Mysore, India
+# for this version.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -26,7 +29,7 @@
# Revision date 2013/03/26
PRGNAM=fritzing
-VERSION=${VERSION:-0.8.7b}
+VERSION=${VERSION:-0.9.1b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,19 +66,18 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION.source
-tar xvf $CWD/$PRGNAM-$VERSION.source.tar.bz2
-cd $PRGNAM-$VERSION.source
+unzip $CWD/$PRGNAM-$VERSION.source.zip
+cd $PRGNAM-app-master
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-qmake \
+qmake-qt5 \
"QMAKE_CXXFLAGS+=$SLKCFLAGS" \
"QMAKE_CFLAGS+=$SLKCFLAGS"
-
make
# "install" program
@@ -83,10 +85,9 @@ mkdir -p $PKG/usr/bin
cp Fritzing $PKG/usr/bin/
# "install" data
mkdir -p $PKG/usr/share/$PRGNAM
-cp -a bins parts sketches translations \
- $PKG/usr/share/$PRGNAM/
+cp -a bins parts sketches translations $PKG/usr/share/$PRGNAM/
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/share/{applications,pixmaps}
@@ -94,9 +95,7 @@ cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
cat resources/images/${PRGNAM}_icon.png > $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
-cp -a \
- LICENSE.* README.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/fritzing/fritzing.info b/graphics/fritzing/fritzing.info
index 6f267ed0b2..2b1e3924ab 100644
--- a/graphics/fritzing/fritzing.info
+++ b/graphics/fritzing/fritzing.info
@@ -1,10 +1,10 @@
PRGNAM="fritzing"
-VERSION="0.8.7b"
+VERSION="0.9.1b"
HOMEPAGE="http://fritzing.org/"
-DOWNLOAD="http://fritzing.org/download/0.8.7b/source-tarball/fritzing-0.8.7b.source.tar.bz2"
-MD5SUM="1f2e1f1e580c2921763aff913a2ad5aa"
+DOWNLOAD="http://fritzing.org/download/0.9.1b/source-tarball/fritzing-0.9.1b.source.zip"
+MD5SUM="3106dce73ceb5f0ca8aada00fc1784db"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Niels Horn"
-EMAIL="niels.horn@gmail.com"
+REQUIRES="qt5"
+MAINTAINER="R. S. Ananda Murthy"
+EMAIL="rsamurti@gmail.com"
diff --git a/graphics/fritzing/slack-desc b/graphics/fritzing/slack-desc
index 7884a488ca..9806d1921f 100644
--- a/graphics/fritzing/slack-desc
+++ b/graphics/fritzing/slack-desc
@@ -14,6 +14,6 @@ fritzing: to actual product. It allows users to document their Arduino and other
fritzing: electronic-based prototypes, and to create a PCB layout for
fritzing: manufacturing.
fritzing:
-fritzing: Homepage: http://fritzing.org/
fritzing:
fritzing:
+fritzing: Homepage: http://fritzing.org/