diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2017-07-31 13:18:58 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-05 07:07:53 +0700 |
commit | 20aa2e3ce6a9c7ee5f90ca6e1c19f07c8035ccee (patch) | |
tree | f8999ba81ab0a6b696e0a75ce4206dcd7a11c46e /audio | |
parent | 98904044751f0dd834dae2b4a6e927200307e4b4 (diff) | |
download | slackbuilds-20aa2e3ce6a9c7ee5f90ca6e1c19f07c8035ccee.tar.gz |
audio/gogglesmm: Updated for version 1.1.9.
Install libraries in /usr/lib$LIBDIRSUFFIX with cmake.
This version is also gcc7-friendly
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/gogglesmm/gogglesmm.SlackBuild | 12 | ||||
-rw-r--r-- | audio/gogglesmm/gogglesmm.info | 6 |
2 files changed, 10 insertions, 8 deletions
diff --git a/audio/gogglesmm/gogglesmm.SlackBuild b/audio/gogglesmm/gogglesmm.SlackBuild index 3b4be87872..1c09e5bacc 100644 --- a/audio/gogglesmm/gogglesmm.SlackBuild +++ b/audio/gogglesmm/gogglesmm.SlackBuild @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gogglesmm -VERSION=${VERSION:-1.1.8} +VERSION=${VERSION:-1.1.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -43,16 +43,16 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRCONFIG="" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRCONFIG="" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRCONFIG="--lib64" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - LIBDIRCONFIG="" + LIBDIRSUFFIX="" fi set -e @@ -70,6 +70,8 @@ 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 {} \; +sed -i "s|#\ set(CMAKE_INSTALL_LIBDIR\ \"lib|set(CMAKE_INSTALL_LIBDIR \"lib$LIBDIRSUFFIX|" CMakeLists.txt + mkdir -p build cd build cmake \ diff --git a/audio/gogglesmm/gogglesmm.info b/audio/gogglesmm/gogglesmm.info index 86d4ab5288..8a922e8360 100644 --- a/audio/gogglesmm/gogglesmm.info +++ b/audio/gogglesmm/gogglesmm.info @@ -1,8 +1,8 @@ PRGNAM="gogglesmm" -VERSION="1.1.8" +VERSION="1.1.9" HOMEPAGE="https://gogglesmm.github.io/" -DOWNLOAD="https://github.com/gogglesmm/gogglesmm/archive/1.1.8/gogglesmm-1.1.8.tar.gz" -MD5SUM="5b89403189b1bb72273f877650053233" +DOWNLOAD="https://github.com/gogglesmm/gogglesmm/archive/1.1.9/gogglesmm-1.1.9.tar.gz" +MD5SUM="94f4db0be28abb1a27d8ef27fcf0ab12" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="fox-toolkit-devel" |