system/colord-gtk: Updated for version 0.3.0. New maintainer.

Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Bob Funk 2023-05-08 18:38:55 +01:00 committed by Willy Sudiarto Raharjo
parent 3884b9e473
commit 35921b6949
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 21 additions and 12 deletions

View File

@ -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)

View File

@ -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

View File

@ -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"