diff options
author | B. Watson <yalhcru@gmail.com> | 2021-08-05 15:31:48 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:51:31 +0700 |
commit | b5b570bf08ccf0004aa572f6d3cb0b539d5749bd (patch) | |
tree | d3c563b28d427130f9e37a3fba82ff746a18a95d /audio | |
parent | 849f5b2cfb5171304f994172c7b7f7eb5bea786b (diff) |
audio/aseqview: Build with gtk2, not gtk1.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/aseqview/aseqview.SlackBuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/audio/aseqview/aseqview.SlackBuild b/audio/aseqview/aseqview.SlackBuild index 2a18abcc5504..2f7fca5abe37 100644 --- a/audio/aseqview/aseqview.SlackBuild +++ b/audio/aseqview/aseqview.SlackBuild @@ -6,11 +6,14 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20210805 bkw, BUILD=2: +# - build with gtk2 rather than gtk1, apply a couple of upstream fixes. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=aseqview VERSION=${VERSION:-0.2.8} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -22,9 +25,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -60,6 +60,10 @@ chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ +# From upstream's github: fix a segfault and a possible autotools issue. +# Commits b31044a and e40717b. +patch -p1 < $CWD/post-0.2.8-fixes.diff + # 20180916 bkw: need this due to these: # levelbar.o: In function `g_bit_nth_lsf': # levelbar.c:(.text+0x410): multiple definition of `g_bit_nth_lsf' @@ -75,6 +79,7 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-gtk2 \ --build=$ARCH-slackware-linux make |