if [[ $LIBSOUP_GNOME == "y" ]]; then
depends libproxy &&
@@ -20,14 +18,7 @@ if [[ $LIBSOUP_DEVEL == "y" ]]; then
sub_depends glib2 'GLIB_DEVEL'
fi &&
-optional_depends gtk-doc \
- "--enable-gtk-doc" \
- "--disable-gtk-doc" \
- "Build documenation with gtk-doc" &&
-
-
-optional_depends gobject-introspection \
- "--enable-introspection" \
- "--disable-introspection" \
- "for introspection"
-
+optional_depends gtk-doc 'doc=true' 'doc=false' "Build documenation with
gtk-doc" &&
+optional_depends gobject-introspection "introspection=true"
"introspection=false" "for introspection"
+optional_depends vala 'vapi=true' 'vapi=false' 'VALA bindings'
+optional_depends -sub TLS glib-networking 'tls_check=true' 'tls_check=false'
'TLS support'
\ No newline at end of file
diff --git a/gnome2-libs/libsoup/DETAILS b/gnome2-libs/libsoup/DETAILS
index 67b8c3c..276f50b 100755
--- a/gnome2-libs/libsoup/DETAILS
+++ b/gnome2-libs/libsoup/DETAILS
@@ -1,12 +1,13 @@
+source $GRIMOIRE/MESON_FUNCTIONS
SPELL=libsoup
if [[ $LIBSOUP_DEVEL == y ]]; then
- VERSION=2.49.91
+ VERSION=2.66.0
+
SOURCE_HASH[0]=sha512:a79d4dafbf12a3345803b38859a398839e3e9e389552c90bab60b005ffa7e4ce2f43112e322ca10f134ab6e6c53568e058c82c370617e872539e1fafd82a1352
SOURCE=$SPELL-$VERSION.tar.xz
-
SOURCE_HASH[0]=sha256:e5e80a0b789250a3d91ea6a02f2e33c5b9b6e877a6ae203d693558196e4079ff
else
- VERSION=2.62.3
+ VERSION=2.66.0
+
SOURCE_HASH[0]=sha512:a79d4dafbf12a3345803b38859a398839e3e9e389552c90bab60b005ffa7e4ce2f43112e322ca10f134ab6e6c53568e058c82c370617e872539e1fafd82a1352
SOURCE=$SPELL-$VERSION.tar.xz
-
SOURCE_HASH[0]=sha256:d312ade547495c2093ff8bda61f9b9727a98cfdae339f3263277dd39c0451172:UPSTREAM_HASH
fi
BRANCH=`echo $VERSION|cut -d . -f 1,2`
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
diff --git a/gnome2-libs/libsoup/HISTORY b/gnome2-libs/libsoup/HISTORY
index 2ee2e2f..e9eeb06 100644
--- a/gnome2-libs/libsoup/HISTORY
+++ b/gnome2-libs/libsoup/HISTORY
@@ -1,3 +1,6 @@
+2019-04-07 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: version 2.66.0
+
2018-08-10 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DETAILS: version 2.62.3
* DEPENDS: depend on vala
diff --git a/libs/libgusb/BUILD b/libs/libgusb/BUILD
new file mode 100755
index 0000000..f3425b7
--- /dev/null
+++ b/libs/libgusb/BUILD
@@ -0,0 +1,2 @@
+OPTS+=' tests=false'
+default_build
\ No newline at end of file
diff --git a/libs/libgusb/DEPENDS b/libs/libgusb/DEPENDS
index 44851b1..9cc42ee 100755
--- a/libs/libgusb/DEPENDS
+++ b/libs/libgusb/DEPENDS
@@ -1,5 +1,6 @@
depends meson &&
depends libusb &&
depends glib2 &&
-#optional_depends gobject-introspection 'vapi=true' 'vapi=false' 'build
VAAPI'
-depends gobject-introspection
+depends gobject-introspection &&
+optional_depends gtk-doc 'docs=true' 'docs=false' 'build docs' &&
+optional_depends vala 'vapi=true' 'vapi=false' 'build VAAPI'
diff --git a/libs/libgusb/HISTORY b/libs/libgusb/HISTORY
index f75b429..b952cca 100644
--- a/libs/libgusb/HISTORY
+++ b/libs/libgusb/HISTORY
@@ -1,3 +1,8 @@
+2019-04-07 Treeve Jelbert <treeve AT sourcemage.org>
+ * PRE_BUILD patches: fix build
+ * BUILD; added, disable tests
+ * DEPENDS: add vala, gtk- doc
+
2018-04-19 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 0.3.0
* DEPENDS: add meson, gobject-introspection required
diff --git a/libs/libgusb/PRE_BUILD b/libs/libgusb/PRE_BUILD
new file mode 100755
index 0000000..922c0ab
--- /dev/null
+++ b/libs/libgusb/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+apply_patch_dir patches
diff --git a/libs/libgusb/patches/0001-fix-meson.patch
b/libs/libgusb/patches/0001-fix-meson.patch
new file mode 100644
index 0000000..3c26bc5
--- /dev/null
+++ b/libs/libgusb/patches/0001-fix-meson.patch
@@ -0,0 +1,32 @@
+From f6e76cf8890195d46331a6e41eda2fb3c83c0328 Mon Sep 17 00:00:00 2001
+From: Treeve Jelbert <treeve AT sourcemage.org>
+Date: Sun, 7 Apr 2019 18:37:56 +0200
+Subject: [PATCH] fix meson
+
+---
+ gusb/meson.build | 5 +++--
+ meson.build | 4 +++-
+ 2 files changed, 6 insertions(+), 3 deletions(-)
+diff --git a/meson.build b/meson.build
+index c6f16c1..d076d6e 100644
+--- a/meson.build
++++ b/meson.build
+@@ -1,7 +1,7 @@
+ project('libgusb', 'c',
+ version : '0.3.0',
+ license : 'LGPL-2.1+',
+- meson_version : '>=0.37.0',
++ meson_version : '>=0.50.0',
+ default_options : ['c_std=c99']
+ )
+
+@@ -108,4 +108,6 @@ root_incdir = include_directories('.')
+
+ subdir('gusb')
+ subdir('tools')
++if get_option('docs')
+ subdir('docs')
++endif
+--
+2.21.0
+
diff --git a/libs/libsmbios/DEPENDS b/libs/libsmbios/DEPENDS
new file mode 100755
index 0000000..9a27fe0
--- /dev/null
+++ b/libs/libsmbios/DEPENDS
@@ -0,0 +1,2 @@
+depends libxml2 &&
+depends PYTHON
\ No newline at end of file
diff --git a/libs/libsmbios/DETAILS b/libs/libsmbios/DETAILS
index 34c3ebb..55a5576 100755
--- a/libs/libsmbios/DETAILS
+++ b/libs/libsmbios/DETAILS
@@ -1,10 +1,10 @@
SPELL=libsmbios
- VERSION=2.0.3
+ VERSION=2.4.2
+
SOURCE_HASH=sha512:51d1b11447d50b768658473d01bcb6cc7f9dd5c96c26ec343f222115ffb5047ca1f035a0bfb67f94f53165eaea7a0d9b70cf01f03333a30885bbac153bf761bd
SOURCE="${SPELL}-${VERSION}.tar.gz"
-
SOURCE_URL[0]=http://linux.dell.com/${SPELL}/download/${SPELL}/${SPELL}-${VERSION}/${SOURCE}
-
SOURCE_HASH=sha512:29a45605cb0d57455a9f3a53b7fc8e5e8b5ef4bc27edf3b7b0882db91cde50c4d172e28f978fe77cef87f7d743ee4441271f335e89ff566029918605fa50437b
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
- WEB_SITE="http://linux.dell.com/libsmbios/main/index.html"
+ WEB_SITE=https://github.com/dell/libsmbios
+ SOURCE_URL[0]=$WEB_SITE/archive/v$VERSION.tar.gz
LICENSE[0]=LGPL
ENTERED=20070827
SHORT="libsmbios provides access to Dell bios functions"
@@ -12,7 +12,7 @@ cat << EOF
SMBIOS is a standards-based approach for hardware vendors to
present and structure management data for consumption by OS and
Management Applications. You can find more information here:
-http://www.dmtf.org/standards/smbios .
+https://www.dmtf.org/standards/smbios .
Basically, the system BIOS leaves a small table in memory that can be found
by the OS after system boot. This table has a standardized format that can
diff --git a/libs/libsmbios/HISTORY b/libs/libsmbios/HISTORY
index 4e8d5f5..9fb0058 100644
--- a/libs/libsmbios/HISTORY
+++ b/libs/libsmbios/HISTORY
@@ -1,3 +1,7 @@
+2019-04-07 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: version 2.4.2
+ * PRE_BUILD DEPENDS: added
+
2008-09-15 Elisamuel Resto <ryuji AT sourcemage.org>
* DETAILS: updated spell to 2.0.3