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>
This commit is contained in:
parent
9890404475
commit
20aa2e3ce6
|
@ -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 \
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue