aboutsummaryrefslogtreecommitdiff
path: root/audio/gogglesmm
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-30 23:03:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-03 07:59:42 +0700
commitd39730accef988a516840eaba64bc2d407d8739f (patch)
tree177ca6fa0f304d04c04809f50b9c496dd6eae095 /audio/gogglesmm
parent9a188b72a49c15e6791e066e458663130a7fee9b (diff)
audio/gogglesmm: Updated for version 1.1.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/gogglesmm')
-rw-r--r--audio/gogglesmm/gogglesmm.SlackBuild24
-rw-r--r--audio/gogglesmm/gogglesmm.info6
2 files changed, 15 insertions, 15 deletions
diff --git a/audio/gogglesmm/gogglesmm.SlackBuild b/audio/gogglesmm/gogglesmm.SlackBuild
index a32c4c6f6d05c..3b4be8787224d 100644
--- a/audio/gogglesmm/gogglesmm.SlackBuild
+++ b/audio/gogglesmm/gogglesmm.SlackBuild
@@ -21,9 +21,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
PRGNAM=gogglesmm
-VERSION=${VERSION:-1.0.12}
+VERSION=${VERSION:-1.1.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root.root .
find -L . \
@@ -71,15 +70,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --mandir=/usr/man \
- $LIBDIRCONFIG
-
-make
-make install DESTDIR=$PKG
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
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
diff --git a/audio/gogglesmm/gogglesmm.info b/audio/gogglesmm/gogglesmm.info
index 3ba8d6b76ebd8..86d4ab528853f 100644
--- a/audio/gogglesmm/gogglesmm.info
+++ b/audio/gogglesmm/gogglesmm.info
@@ -1,8 +1,8 @@
PRGNAM="gogglesmm"
-VERSION="1.0.12"
+VERSION="1.1.8"
HOMEPAGE="https://gogglesmm.github.io/"
-DOWNLOAD="https://github.com/gogglesmm/gogglesmm/archive/1.0.12.tar.gz"
-MD5SUM="222cd213d22808ae6c2a5fda3201573f"
+DOWNLOAD="https://github.com/gogglesmm/gogglesmm/archive/1.1.8/gogglesmm-1.1.8.tar.gz"
+MD5SUM="5b89403189b1bb72273f877650053233"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fox-toolkit-devel"