summaryrefslogtreecommitdiff
path: root/audio/gogglesmm
diff options
context:
space:
mode:
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 a32c4c6f6d..3b4be87872 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 3ba8d6b76e..86d4ab5288 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"