mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
community/libgdata: remove
Unmaintained, deprecated and archived upstream. Depends on libsoup 2. all consumers are moved
This commit is contained in:
parent
fde3622b0f
commit
7995b0bb3c
@ -1,67 +0,0 @@
|
||||
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=libgdata
|
||||
pkgver=0.18.1
|
||||
pkgrel=6
|
||||
pkgdesc="access library for gdata"
|
||||
url="https://gitlab.gnome.org/GNOME/libgdata"
|
||||
arch="all"
|
||||
license="LGPL-2.1-or-later"
|
||||
depends="gsettings-desktop-schemas"
|
||||
makedepends="
|
||||
gcr-dev
|
||||
glib-dev
|
||||
gnome-online-accounts-dev
|
||||
gobject-introspection-dev
|
||||
json-glib-dev
|
||||
liboauth-dev
|
||||
libsoup-dev
|
||||
meson
|
||||
uhttpmock-dev
|
||||
vala
|
||||
"
|
||||
checkdepends="uhttpmock-dev"
|
||||
subpackages="$pkgname-dev $pkgname-lang"
|
||||
source="https://download.gnome.org/sources/libgdata/${pkgver%.*}/libgdata-$pkgver.tar.xz
|
||||
only-ipv4-tests.patch
|
||||
disable-perf-test.patch
|
||||
disable-demos.patch
|
||||
"
|
||||
options="!check" # needs libsoup3 port
|
||||
|
||||
replaces="$pkgname-static $pkgname-doc" # Backwards compatiblity
|
||||
|
||||
build() {
|
||||
abuild-meson \
|
||||
-Dintrospection=true \
|
||||
-Dvapi=true \
|
||||
-Dgtk_doc=false \
|
||||
-Dman=true \
|
||||
-Dinstalled_tests=false \
|
||||
-Dgoa=enabled \
|
||||
-Dgnome=enabled \
|
||||
-Dgtk=enabled \
|
||||
-Dalways_build_tests="$(want_check && echo true || echo false)" \
|
||||
. output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
check() {
|
||||
# 3 Tests fail
|
||||
case "$CARCH" in
|
||||
aarch64) return 0 ;;
|
||||
x86) return 0 ;;
|
||||
esac
|
||||
meson test --print-errorlogs -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
15ff708760ca5023b692fd565c26a7c3acf035073534c0cd3f1f90e46ee0c60d14dedf360d3ac146d37135e200d9c2bc4b657e81468d0efde4821a9219875b98 libgdata-0.18.1.tar.xz
|
||||
844d5d342e62e6237f48f574b1749c4e4216edc5bfb21bfd799e3ce4f7d88f63bf32b242f99df828bc56fb7fb9e42080ca803bcc404fe6422a8b569df85507e1 only-ipv4-tests.patch
|
||||
177a0f1303f4b0204889fda3e643e02897f27f9b184a393339cc5271f57ce71b4cd0224e21641da75b777830f73d8e3c85072ca9559b75e0b1a1a615a4ab2b70 disable-perf-test.patch
|
||||
7d70ca2897b9aa9a5654d8da38d65461c7bb87fc552b18c036b351dbc85ebb9e19fbac0cc79bd50f280feddcaaf716de29b5dd29b92a4c14e326cb27cf512ec4 disable-demos.patch
|
||||
"
|
||||
@ -1,12 +0,0 @@
|
||||
Skip building demos that are not being packaged.
|
||||
--
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -179,7 +179,6 @@
|
||||
endforeach
|
||||
|
||||
subdir('gdata')
|
||||
-subdir('demos')
|
||||
subdir('po')
|
||||
if get_option('gtk_doc')
|
||||
subdir('docs/reference')
|
||||
@ -1,13 +0,0 @@
|
||||
diff --git a/gdata/tests/meson.build b/gdata/tests/meson.build
|
||||
index 52154e7..ced810a 100644
|
||||
--- a/gdata/tests/meson.build
|
||||
+++ b/gdata/tests/meson.build
|
||||
@@ -25,7 +25,6 @@ tests = {
|
||||
'general': {},
|
||||
'oauth1-authorizer': {},
|
||||
'oauth2-authorizer': {},
|
||||
- 'perf': {},
|
||||
'picasaweb': {
|
||||
'dependencies': [gdk_pixbuf_dep],
|
||||
'should_fail': true,
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
diff --git a/gdata/tests/streams.c b/gdata/tests/streams.c
|
||||
index 7158754..1763bd9 100644
|
||||
--- a/gdata/tests/streams.c
|
||||
+++ b/gdata/tests/streams.c
|
||||
@@ -193,7 +193,7 @@ create_server (SoupServerCallback callback, gpointer user_data, GMainLoop **main
|
||||
g_main_context_push_thread_default (context);
|
||||
|
||||
soup_server_listen_local (server, 0 /* random port */,
|
||||
- SOUP_SERVER_LISTEN_HTTPS, &error);
|
||||
+ SOUP_SERVER_LISTEN_HTTPS | SOUP_SERVER_LISTEN_IPV4_ONLY, &error);
|
||||
g_assert_no_error (error);
|
||||
|
||||
g_main_context_pop_thread_default (context);
|
||||
Loading…
x
Reference in New Issue
Block a user