diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-10 21:05:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-10 21:05:55 +0000 |
commit | 71deace00d1a2b091313fe137ab7092418c6f87c (patch) | |
tree | 9f1f0dee23e13658e52f49437befe78427148c51 /dev-libs/libgweather | |
parent | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (diff) |
gentoo resync : 10.02.2020
Diffstat (limited to 'dev-libs/libgweather')
-rw-r--r-- | dev-libs/libgweather/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libgweather/files/3.34.0-tests-Add-another-duplicate.patch | 27 | ||||
-rw-r--r-- | dev-libs/libgweather/libgweather-3.34.0.ebuild | 69 |
3 files changed, 99 insertions, 0 deletions
diff --git a/dev-libs/libgweather/Manifest b/dev-libs/libgweather/Manifest index 09abcc7c9855..bda55670f9e2 100644 --- a/dev-libs/libgweather/Manifest +++ b/dev-libs/libgweather/Manifest @@ -1,4 +1,7 @@ AUX 3.32.1-meson-tweaks.patch 3169 BLAKE2B 4bfc87153b5f63626ca21a17706e1c510915929fccb691ba9ccc4b3d2f5869927a49cd82a638e7a9b265ebf31f4320c226090a9bcc94f8d438583dd709272695 SHA512 570beb2093ee4f39920cddc95f464aa0cac09ebe299418c8924713e1db060906ddcb8aef7db617079a50dba4ab2b3923aed99f3adf3377e52c7562719072b885 +AUX 3.34.0-tests-Add-another-duplicate.patch 981 BLAKE2B c1f3a196fac3da61a03b081eb82c6726cde11af9d18fb193794339f639953653f937442bb78a9561cde9a0860d0d4841ec50943d218f87ea4507bf05a7b45337 SHA512 529fe41ded3a199795d39490804f6ab8bfb108e0c9b8ca4cafd7b4a27d695d0a32aaa0954b0a89650d160cba3b7ddb2efad4170f2fbdad806e611aaf918b83cb DIST libgweather-3.32.2.tar.xz 2716144 BLAKE2B 56bf66edde8293758f49c1ca14b47fb725f72a0202e95e6e1d1832c179fd9414d527827be5cb7daa17627abfbd1ac16d8d09dbdbbdcb24d62cc62c25a220c156 SHA512 61543e5eaf8c04605a91a6f47811b3a0ed2b04c2f50eae9b8d08a4e24904db4731748fa27a0863d2cdab5fde776ec55abe9fd9fb2a72c7bd546665d59957cb4d +DIST libgweather-3.34.0.tar.xz 2725096 BLAKE2B af1034b905354aed433e3a5249305718b850f84dabcf3e96b9f9bcdda7dd78258ede0a9e82cab9b9d7f1b63d8e1a61bc3c83c1c18ec38790bc43c29fe98bb89d SHA512 44451837039965251d86f6f538c943a771ab1944d9190ddb2c6bdb34b3ed0e33756c537e84f24487fd5f28b107e8d3af05a6c20a68f83734ac26ff69a8bd0aba EBUILD libgweather-3.32.2-r1.ebuild 1665 BLAKE2B 26223bd855a2e91e1a2f89074bcab4d45929cc72ca8dc31b9c6ebd6d44642612d2aa3893a83726712a61b3800ae9e973de51369de1dbea4a3612ea660ff7cd9d SHA512 2a52ab224d0994413117042f8ca00721343ef5a99f10031336dd90736a1c8efa3b5bee5d55f6c01ecea35cdf9c4b52a587e3442e729c8da246b4f54a3e1d9862 +EBUILD libgweather-3.34.0.ebuild 1722 BLAKE2B 8c6913ae9887bc98d9d7c430b5ef37253380c89a9930125f1a4baadb5d9a7725205727a2ce8af5b28a95400b80765ace1ae3432c70cef04b320213f3304c3c1d SHA512 1bb16e597289809c136fd1185ece24198cdd9e09dee4261676a63ad8b1dbfbbd9d4e1ff6c566891ca0024fd783cf877271047f79252d23fec988d7f5ec9ac106 MISC metadata.xml 349 BLAKE2B 5467cd4402c0ec93c36f4cde26afe4ff2cf88d31227d8fbd22cabf50b4521c4634dba856a531da5f0054ad208daa8b178c9fad63b72dea6bbdeac13fa2f67bff SHA512 56d547e8cc66f19d606374f64c25546a687f3d199b083e406b871231a53362c0fdbcdf0a1c4f41810a2eb719e1bbab1c1589d7abeeb5630e1e04c20748b0df5f diff --git a/dev-libs/libgweather/files/3.34.0-tests-Add-another-duplicate.patch b/dev-libs/libgweather/files/3.34.0-tests-Add-another-duplicate.patch new file mode 100644 index 000000000000..29956e3f498f --- /dev/null +++ b/dev-libs/libgweather/files/3.34.0-tests-Add-another-duplicate.patch @@ -0,0 +1,27 @@ +From ee246dc058098dee1709d76635e72db35efcef4e Mon Sep 17 00:00:00 2001 +From: Bastien Nocera <hadess@hadess.net> +Date: Wed, 20 Nov 2019 10:55:02 +0100 +Subject: [PATCH] tests: Add another duplicate + +$ wget -O- -q https://www.aviationweather.gov/docs/metar/stations.txt | grep KX26 +FL SEBASTIAN KX26 X26 27 49N 080 30W 6 X W 8 US +FL VALKARIA AFS KX26 X26 27 49N 080 30W 6 X 8 US +--- + libgweather/test_libgweather.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libgweather/test_libgweather.c b/libgweather/test_libgweather.c +index 1bfa3d4..8a21911 100644 +--- a/libgweather/test_libgweather.c ++++ b/libgweather/test_libgweather.c +@@ -336,6 +336,7 @@ parse_metar_stations (const char *contents) + "KHQG", + "KOEL", + "KTQK", ++ "KX26", + NULL + }; + if (g_strv_contains (known_duplicates, station)) { +-- +2.24.1 + diff --git a/dev-libs/libgweather/libgweather-3.34.0.ebuild b/dev-libs/libgweather/libgweather-3.34.0.ebuild new file mode 100644 index 000000000000..c92f920bd9ec --- /dev/null +++ b/dev-libs/libgweather/libgweather-3.34.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +VALA_USE_DEPEND="vapigen" + +inherit gnome.org gnome2-utils meson vala xdg + +DESCRIPTION="Location and timezone database and weather-lookup library" +HOMEPAGE="https://wiki.gnome.org/Projects/LibGWeather" + +LICENSE="GPL-2+" +SLOT="2/3-16-2" # subslot = 3-(libgweather-3 soname suffix) w/ temporary -2 suffix for silent ABI break after 3.28 without soname bump as per distro-list + +IUSE="glade gtk-doc +introspection +vala" +REQUIRED_USE="vala? ( introspection )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" + +RDEPEND=" + >=dev-libs/glib-2.44.0:2 + >=x11-libs/gtk+-3.13.5:3[introspection?] + >=net-libs/libsoup-2.44:2.4 + >=dev-libs/libxml2-2.6.0:2 + sci-geosciences/geocode-glib + >=sys-libs/timezone-data-2010k + + glade? ( >=dev-util/glade-3.16:3.10 ) + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + gtk-doc? ( >=dev-util/gtk-doc-1.11 + app-text/docbook-xml-dtd:4.3 ) + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + $(vala_depend) +" + +PATCHES=( + "${FILESDIR}"/3.32.1-meson-tweaks.patch # Provide introspection optionality and don't build tests that aren't ran automatically + "${FILESDIR}"/${PV}-tests-Add-another-duplicate.patch +) + +src_prepare() { + xdg_src_prepare + vala_src_prepare +} + +src_configure() { + local emesonargs=( + $(meson_use glade glade_catalog) + $(meson_use vala enable_vala) + $(meson_use gtk-doc gtk_doc) + $(meson_use introspection) + ) + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |