diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-04-22 23:50:01 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-04-23 10:47:08 +0700 |
commit | c0f71d42a4c36461cd9b12728784bb1f8a62a477 (patch) | |
tree | c0a4b70e2b22608cc5099b4fc9f68aef60d96701 /system | |
parent | db2339a6a9475cf07f4dd2afad006f5065aa7c44 (diff) |
system/colord-gtk: Updated for version 0.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/colord-gtk/colord-gtk.SlackBuild | 45 | ||||
-rw-r--r-- | system/colord-gtk/colord-gtk.info | 6 |
2 files changed, 21 insertions, 30 deletions
diff --git a/system/colord-gtk/colord-gtk.SlackBuild b/system/colord-gtk/colord-gtk.SlackBuild index 62466d6055ef8..90b35fde79ca2 100644 --- a/system/colord-gtk/colord-gtk.SlackBuild +++ b/system/colord-gtk/colord-gtk.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=colord-gtk -VERSION=${VERSION:-0.1.26} +VERSION=${VERSION:-0.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,37 +69,28 @@ 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 {} \; -GTK2OPT='--enable-gtk2' -if [ "$GTK2" = 'no' ]; then - GTK2OPT='' -fi - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-static \ - --enable-vala \ - $GTK2OPT \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Dman=false + ninja + DESTDIR=$PKG ninja install +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 -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - ABOUT-NLS AUTHORS COPYING INSTALL MAINTAINERS NEWS README TODO \ +cp -a AUTHORS COPYING MAINTAINERS NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/system/colord-gtk/colord-gtk.info b/system/colord-gtk/colord-gtk.info index 2dd21f5aa3dc3..0efed473f47f9 100644 --- a/system/colord-gtk/colord-gtk.info +++ b/system/colord-gtk/colord-gtk.info @@ -1,8 +1,8 @@ PRGNAM="colord-gtk" -VERSION="0.1.26" +VERSION="0.2.0" HOMEPAGE="http://www.freedesktop.org/software/colord" -DOWNLOAD="http://www.freedesktop.org/software/colord/releases/colord-gtk-0.1.26.tar.xz" -MD5SUM="bb9d6f3c037152ad791003375aa6c16c" +DOWNLOAD="http://www.freedesktop.org/software/colord/releases/colord-gtk-0.2.0.tar.xz" +MD5SUM="66d048803c8b89e5e63da4b461484933" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="colord" |