From 21c2ca2a2b869ff5d8d4627b14bf91b529dacc88 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Fonzo?= Date: Sun, 9 Dec 2018 16:41:51 -0300 Subject: [PATCH] recipes: x-libs/startup-notification: added version 0.12 --- recipes/04-x-libs.order | 4 ++ recipes/x-libs/startup-notification/recipe | 73 +++++++++++++++++++++++++ sources/SOURCELIST.txt | 1 + sources/startup-notification-0.12.tar.gz.sha256 | 1 + 4 files changed, 79 insertions(+) create mode 100644 recipes/x-libs/startup-notification/recipe create mode 100644 sources/startup-notification-0.12.tar.gz.sha256 diff --git a/recipes/04-x-libs.order b/recipes/04-x-libs.order index 8b8da760..224c0f43 100644 --- a/recipes/04-x-libs.order +++ b/recipes/04-x-libs.order @@ -46,8 +46,12 @@ modules/python/six: libs/libxml2: libs/libxslt: modules/python/libxml2_python2 libs/libxslt_pass1 +# MIME user-space support x-libs/shared-mime-info: libs/libxml2 +# Notification libraries +x-libs/startup-notification: xorg/xcb/xcb-util + # Vala language devel/vala: diff --git a/recipes/x-libs/startup-notification/recipe b/recipes/x-libs/startup-notification/recipe new file mode 100644 index 00000000..6f318463 --- /dev/null +++ b/recipes/x-libs/startup-notification/recipe @@ -0,0 +1,73 @@ +# Build recipe for startup-notification. +# +# Copyright (C) 2018 Matias Fonzo, . +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +program=startup-notification +version=0.12 +release=1 + +# Set 'outdir' for a nice and well-organized output directory +outdir="${outdir}/${arch}/x-libs" + +tarname=${program}-${version}.tar.gz + +# Remote source(s) +fetch=http://www.freedesktop.org/software/startup-notification/releases/$tarname + +description=" +Notification libraries used by programs. + +The startup-notification package contains notification libraries. +These are useful for building a consistent manner to notify the user +through the cursor that the application is loading. +" + +homepage=http://www.freedesktop.org/software/startup-notification +license=LGPLv2+ + +docs="AUTHORS COPYING ChangeLog NEWS README" +docsdir="${docdir}/${program}-${version}" + +build() +{ + set -e + + unpack "${tardir}/$tarname" + + cd "$srcdir" + + # Set sane permissions + chmod -R u+w,go-w,a+rX-s . + + # Update for hosts based on musl + cp -f "${worktree}/archive/common/config.guess" config.guess + cp -f "${worktree}/archive/common/config.sub" config.sub + + ./configure CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \ + $configure_args \ + --libdir=/usr/lib${libSuffix} \ + --enable-static=no \ + --enable-shared=yes \ + --with-x \ + --build="$(cc -dumpmachine)" + + make -j${jobs} V=1 + make -j${jobs} V=1 DESTDIR="$destdir" install-strip + + # Copy documentation + mkdir -p "${destdir}${docsdir}" + cp -p $docs "${destdir}${docsdir}" +} + diff --git a/sources/SOURCELIST.txt b/sources/SOURCELIST.txt index d1568957..f38fc61f 100644 --- a/sources/SOURCELIST.txt +++ b/sources/SOURCELIST.txt @@ -462,3 +462,4 @@ http://ftp.gnu.org/gnu/libtasn1/libtasn1-4.13.tar.gz http://github.com/p11-glue/p11-kit/releases/download/0.23.14/p11-kit-0.23.14.tar.gz http://ftp.gnome.org/pub/gnome/sources/vala/0.42/vala-0.42.3.tar.xz http://ftp.acc.umu.se/pub/gnome/sources/gcr/3.28/gcr-3.28.0.tar.xz +http://www.freedesktop.org/software/startup-notification/releases/startup-notification-0.12.tar.gz diff --git a/sources/startup-notification-0.12.tar.gz.sha256 b/sources/startup-notification-0.12.tar.gz.sha256 new file mode 100644 index 00000000..1097a847 --- /dev/null +++ b/sources/startup-notification-0.12.tar.gz.sha256 @@ -0,0 +1 @@ +3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a startup-notification-0.12.tar.gz -- 2.11.4.GIT