diff options
Diffstat (limited to 'system/colord-gtk')
-rw-r--r-- | system/colord-gtk/README | 8 | ||||
-rw-r--r-- | system/colord-gtk/colord-gtk.SlackBuild | 15 | ||||
-rw-r--r-- | system/colord-gtk/colord-gtk.info | 10 |
3 files changed, 21 insertions, 12 deletions
diff --git a/system/colord-gtk/README b/system/colord-gtk/README index 669ecf0092..e199dc4c60 100644 --- a/system/colord-gtk/README +++ b/system/colord-gtk/README @@ -1,6 +1,8 @@ colord-gtk is the GTK+ support library for colord. -You can use the following options: +The default build options build gtk3 and gtk4 support. -GTK2=no disable extra GTK+2 support - (default: enabled, GTK2=yes) +You can use the following option to add gtk2 support: + + GTK2=true enable gtk2 support + (default: disabled, GTK2=false) diff --git a/system/colord-gtk/colord-gtk.SlackBuild b/system/colord-gtk/colord-gtk.SlackBuild index 03e3e209fd..3c15c24599 100644 --- a/system/colord-gtk/colord-gtk.SlackBuild +++ b/system/colord-gtk/colord-gtk.SlackBuild @@ -21,15 +21,24 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# 2023-05-06, Modified by Bob Funk: +# - Updated to colord-gtk 0.3.0 +# - This version's default is to build only gtk3 and gtk4 +# - Added a toggle for enabling gtk2 cd $(dirname $0) ; CWD=$(pwd) PRGNAM=colord-gtk -VERSION=${VERSION:-0.2.0} +VERSION=${VERSION:-0.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +# The default build is gtk4 & gtk3 enabled, and gtk2 disabled. +# Leave the default as-is, but give a way to switch gtk2 from build env: +GTK2=${GTK2:-false} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -38,9 +47,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 @@ -91,6 +97,7 @@ cd build --mandir=/usr/man \ --prefix=/usr \ --sysconfdir=/etc \ + -Dgtk2=${GTK2} \ -Dman=false "${NINJA:=ninja}" DESTDIR=$PKG $NINJA install diff --git a/system/colord-gtk/colord-gtk.info b/system/colord-gtk/colord-gtk.info index 0efed473f4..f8ac73a57b 100644 --- a/system/colord-gtk/colord-gtk.info +++ b/system/colord-gtk/colord-gtk.info @@ -1,10 +1,10 @@ PRGNAM="colord-gtk" -VERSION="0.2.0" +VERSION="0.3.0" HOMEPAGE="http://www.freedesktop.org/software/colord" -DOWNLOAD="http://www.freedesktop.org/software/colord/releases/colord-gtk-0.2.0.tar.xz" -MD5SUM="66d048803c8b89e5e63da4b461484933" +DOWNLOAD="http://www.freedesktop.org/software/colord/releases/colord-gtk-0.3.0.tar.xz" +MD5SUM="08c245d6482b3923a2b6a09f7fbbe612" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="colord" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" +MAINTAINER="Bob Funk" +EMAIL="bobfunk11@gmail.com" |