summaryrefslogtreecommitdiffstats
path: root/libraries/grilo
diff options
context:
space:
mode:
author Bob Funk <bobfunk11@gmail.com>2023-04-13 02:19:53 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-15 07:15:23 +0700
commitdc1940aaae1303e24d936940b8de3732966702e2 (patch)
tree7784770b074b01f5d0139e1b656d6a0cc60c6ce2 /libraries/grilo
parent7d6a293d04fe694ba82fb162ade39f7dbcdda753 (diff)
downloadslackbuilds-dc1940aaae1303e24d936940b8de3732966702e2.tar.gz
slackbuilds-dc1940aaae1303e24d936940b8de3732966702e2.tar.xz
libraries/grilo: Updated for version 0.3.15.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/grilo')
-rw-r--r--libraries/grilo/README10
-rw-r--r--libraries/grilo/grilo.SlackBuild10
-rw-r--r--libraries/grilo/grilo.info2
3 files changed, 18 insertions, 4 deletions
diff --git a/libraries/grilo/README b/libraries/grilo/README
index 9032005a92..be0d9c41e0 100644
--- a/libraries/grilo/README
+++ b/libraries/grilo/README
@@ -1,5 +1,11 @@
Grilo is a framework for browsing and searching media content from
various sources using a single API.
-Optional Dependencies:
-- liboauth (detected automatically at build time)
+Note: This SlackBuild defaults to building with 'soup2' to keep
+compatibility with other GNOME software on slackbuilds.org that depend
+on soup2 still. If you would like to build against libsoup3 then you
+will have to install the dependency and pass the build the following
+environment variable to allow building against libsoup3:
+
+ SOUP3=true
+
diff --git a/libraries/grilo/grilo.SlackBuild b/libraries/grilo/grilo.SlackBuild
index b01a706718..e715d7d6ca 100644
--- a/libraries/grilo/grilo.SlackBuild
+++ b/libraries/grilo/grilo.SlackBuild
@@ -22,14 +22,21 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 2023 Apr 9 - Set build to default to soup2 for compatibility with other GNOME
+# software on slackbuilds.org. This can be switched back to soup3 at next
+# slackware release, which will allow GNOME to be updated to newer soup3 versions
+# across the board. Also bumped build number, since version is the same. - Bob Funk
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=grilo
VERSION=${VERSION:-0.3.15}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+SOUP3=${SOUP3:-false}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -88,6 +95,7 @@ cd build
--mandir=/usr/man \
--prefix=/usr \
--sysconfdir=/etc \
+ -Dsoup3=$SOUP3 \
-Dstrip=true
"${NINJA:=ninja}"
DESTDIR=$PKG $NINJA install
diff --git a/libraries/grilo/grilo.info b/libraries/grilo/grilo.info
index b291d781eb..3a14e2c43d 100644
--- a/libraries/grilo/grilo.info
+++ b/libraries/grilo/grilo.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://download.gnome.org/sources/grilo/0.3/grilo-0.3.15.tar.xz"
MD5SUM="df4e68e2bba461f0aed61874d8e4e05a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="totem-pl-parser libsoup3"
+REQUIRES="liboauth totem-pl-parser"
MAINTAINER="Bob Funk"
EMAIL="bobfunk11@gmail.com"