diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-08-16 23:29:04 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-08-16 23:32:53 -0700 |
commit | c2a04b49d87b6eddb16c2c4a53bb9ec0fbfe001d (patch) | |
tree | 1378407f2fc0d752aa00d3a3390c22a1a51a9ec7 /dev-libs/libgudev | |
parent | gnome-extra/gnome-user-docs: Version bump to 40.4 (diff) | |
download | gentoo-c2a04b49d87b6eddb16c2c4a53bb9ec0fbfe001d.tar.gz gentoo-c2a04b49d87b6eddb16c2c4a53bb9ec0fbfe001d.tar.bz2 gentoo-c2a04b49d87b6eddb16c2c4a53bb9ec0fbfe001d.zip |
dev-libs/libgudev: Version bump to 237
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-libs/libgudev')
-rw-r--r-- | dev-libs/libgudev/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libgudev/libgudev-237.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/libgudev/Manifest b/dev-libs/libgudev/Manifest index 3951907c051c..9721ce89a46c 100644 --- a/dev-libs/libgudev/Manifest +++ b/dev-libs/libgudev/Manifest @@ -1,2 +1,3 @@ DIST libgudev-234.tar.xz 273244 BLAKE2B c0556988e37d5a5c48ba906b121d3c7a16c6a8ee4d05eb0e51913b9cde51bdc10966dcf8ceeccf62021dd8e47b004c85ed3412942d9d2bd5176d604931745f50 SHA512 cb01906d532b05cf8f69acdf80a8f05fbd4863fd98e88928b491e3657e60844f7ae6ca903ddd773fbea37268ff85d12719de47fd92a2f18b98fa2dbfe85e8151 DIST libgudev-236.tar.xz 28428 BLAKE2B cee5098f851183131db88812c8a985a3617fec7a2257f3c05ae0f06e423f15efa89801ef0c75cbb6e5ea9fb7a9db3c4d9215a3689e5d1ddb4832ef17442753cf SHA512 b00c30a7d57de8cca92a22f4c4da878c7cce448b1177858cc9ee0b99c5bc4fd0fbd01d8f4f9a9b9ef073af8f51c26533f2e7896c01ed9fed0a2bcfa6b2cfcbc2 +DIST libgudev-237.tar.xz 29060 BLAKE2B 5d39d4d26d8c8b3fa877319c294036294dbda96b340d2d04d7a35449d91b58de876b96b5e3d9423cdf3e1d3e2a94f5a861b1ac1e74a610637e0fc66248c68309 SHA512 2d68981e3ba5c58ee080b6ed5cd5152c1c352b2bdb3ecb5eaf2b91f6800d3369121222a7fe4f82630aabd164069ee7276c52082b2fc2ff5f318481b85b25abc6 diff --git a/dev-libs/libgudev/libgudev-237.ebuild b/dev-libs/libgudev/libgudev-237.ebuild new file mode 100644 index 000000000000..6f131f3140bd --- /dev/null +++ b/dev-libs/libgudev/libgudev-237.ebuild @@ -0,0 +1,48 @@ +# Copyright 2015-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson-multilib + +DESCRIPTION="GObject bindings for libudev" +HOMEPAGE="https://wiki.gnome.org/Projects/libgudev" +SRC_URI="https://download.gnome.org/sources/libgudev/${PV}/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0/0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86" +IUSE="introspection static-libs test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.38.0:2[${MULTILIB_USEDEP},static-libs?] + >=virtual/libudev-199:=[${MULTILIB_USEDEP},static-libs(-)?] + introspection? ( >=dev-libs/gobject-introspection-1.31.1 ) +" +DEPEND="${RDEPEND} + test? ( dev-util/umockdev[${MULTILIB_USEDEP}] ) +" +BDEPEND=" + dev-util/glib-utils + virtual/pkgconfig +" + +multilib_src_configure() { + local emesonargs=( + $(meson_native_use_feature introspection) + -Dgtk_doc=false + -Ddefault_library=$(usex static-libs both shared) + $(meson_feature test tests) + -Dvapi=disabled + ) + meson_src_configure +} + +src_test() { + # libsandbox interferes somehow. + # There are no access violations, but tests fail. + # https://bugs.gentoo.org/805449 + local -x SANDBOX_ON=0 + meson-multilib_src_test +} |