diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 97870 -> 97859 bytes | |||
-rw-r--r-- | dev-libs/hidapi/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/hidapi/metadata.xml | 5 | ||||
-rw-r--r-- | dev-libs/libei/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libei/libei-1.1.0.ebuild | 98 |
5 files changed, 102 insertions, 5 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 7c087de7b2b4..99dcd3811900 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/hidapi/Manifest b/dev-libs/hidapi/Manifest index 38d25409f191..aa323dd864fa 100644 --- a/dev-libs/hidapi/Manifest +++ b/dev-libs/hidapi/Manifest @@ -5,4 +5,4 @@ EBUILD hidapi-0.11.0.ebuild 1413 BLAKE2B af3ddb3c3add5942dd9e961e7a8c60fc735f8aa EBUILD hidapi-0.12.0-r1.ebuild 919 BLAKE2B 0874529184c8c511ddd0d22af75dc8fbc8da3c841bc9963e6f457327d31a71855554232dd25f818847a2f1704ae6cf893d966c99bc96649186c2351fdcbfdaac SHA512 7b5758e5acc8187996cba72bfff6e34452ab20f093938c676bea641fceab4595ea889cc85f008bf2edbac9e7780a4d9f8ec1b96e9d5cae9355d32b5c764bbda5 EBUILD hidapi-0.12.0.ebuild 919 BLAKE2B 96901e934f06dab462ce8c2a0d7029df08f3bd5fd3b09ba3dff9a42d2c775e36812ae0ddc0d2b3ac8da0251c148f6b83fd51592301d62c797def9d82db0be480 SHA512 b10535054a6460df3dd417b880de2f9a10ec1558d81d8852d15d7cea640fcff8549fade8411efa8b285ed1ed0f4f614bf93ec0ecafe65ca564285115230635f8 EBUILD hidapi-0.13.1.ebuild 914 BLAKE2B 33de5c39c41d541fa3fa7b73889e945086dfd7bc63b91f4542fff7232eda07e8f6ee9ca291f1ab93a4a43b2770426dd58a7290c7168d513a8d5ac086cdb12a36 SHA512 bc34503f4cace3688a4f4ad545f0f51a66d92040a73281964061cc73f76b54f5df90484fb9890d33a287f4818de067795b0a62af063c7fa35a564ae29000cd73 -MISC metadata.xml 419 BLAKE2B 75c3a1c387e0563c38db080e52bed0e237841a6760eca977c4944ffd8a923f9aab1addfa7c6790f4b60d1ccb560ad9e952d0206b5bf5c10d249b46cd39ea3b93 SHA512 7b1a8fac5f784779797d2c8c20cfb42bae320e3b2cacd56a00666804a4b62c4709e0f27fa0538c9ba2e384e706cc725d81f5eb5a638afe7b65a576472447902d +MISC metadata.xml 332 BLAKE2B 1276e8636b179615b3c2aebb714d5ea18f181a9fc7bdd567e817e6250bfa18e4e84dac77c38b3b6ebb34c948e9b0fccfff9a00d463d7393cde9480a431baecbb SHA512 7068a652e7c15086f1796caf8446f356df8a2f543599074e8fa1c6691673b11f8e513fe180dda597d24f8af136fc4d78ba647f337a79bcc6e2a605ef0f5c7993 diff --git a/dev-libs/hidapi/metadata.xml b/dev-libs/hidapi/metadata.xml index f31807f17dda..2b526d40b73c 100644 --- a/dev-libs/hidapi/metadata.xml +++ b/dev-libs/hidapi/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>sultan@gentoo.org</email> - <name>Stephan Hartmann</name> - </maintainer> + <!-- maintainer-needed --> <use> <flag name="fox">Build a <pkg>x11-libs/fox</pkg> GUI</flag> </use> diff --git a/dev-libs/libei/Manifest b/dev-libs/libei/Manifest index 50baf65b21cc..9e6ae66e93f3 100644 --- a/dev-libs/libei/Manifest +++ b/dev-libs/libei/Manifest @@ -1,4 +1,6 @@ DIST libei-1.0.0.tar.bz2 166254 BLAKE2B 72f9e0426b87e81061e8b01356cfc67897f46219be74c6b7309d2f7b26ea4f6b716ab33a2f9ec16daa0bc555359535b589219eddceced9fa636a2964d32c3d7d SHA512 145b514782fb500bed09437200d0fb989aa0a2cd81d1752938f9b4819ae8130510b2a4a65231bacb8565fcddaa1ffd1925c84cd3a5d34eaa4918ec05105465f6 +DIST libei-1.1.0.tar.bz2 169197 BLAKE2B 3f33b21a9876da533a6f52ecc2478065f4f3083f72880cf09f1bbeadcdcaed843e681e5d9fc8692ff667fe7262195caa272712b755997ca74a1b90f24492c08d SHA512 93525215cf896213e5f28581a1701cfccaf1ea07ae85744c01b6152ff29c2c9d6fd3afeeb8de5850cde915b540d3452bfe32c8c56bf780dd401da9947e28044b DIST munit-fbbdf1467eb0d04a6ee465def2e529e4c87f2118.tar.gz 27724 BLAKE2B 9670c9b7a0b5d9ee6ec8df2dea9e241b043964ecf1fa3f6060ad1d16c40ab6afe47f53c6d4a791003e101a0b363263b858e6e4e445f868292753dd1ee7f7e3ce SHA512 26b5599fd12be627a692823ebf496fa446be7ed04a1233fb42e0667c05109b0f804f76646e289ac660fc815baf45f77ec8caf0ff2ea7fb0b4f87f0038a2b971c EBUILD libei-1.0.0.ebuild 2350 BLAKE2B e5cc57a182b84e7849487a7eecbe0345ce5347624d1b5a8cfbbd3597eb7dc822f428f52e87a00a239c28ee91389ce2b4ac55c918b8cb5eaf6d2e0d723b9e3f9b SHA512 81fbf27b08eb289bc9241f04cf9514c380b7ee3ff233cac5262364fa2fdd6fda233de61c03e6e9631c164b19948804fcb5338ac1832fb2b900ca783fbb0d29d8 +EBUILD libei-1.1.0.ebuild 2350 BLAKE2B e5cc57a182b84e7849487a7eecbe0345ce5347624d1b5a8cfbbd3597eb7dc822f428f52e87a00a239c28ee91389ce2b4ac55c918b8cb5eaf6d2e0d723b9e3f9b SHA512 81fbf27b08eb289bc9241f04cf9514c380b7ee3ff233cac5262364fa2fdd6fda233de61c03e6e9631c164b19948804fcb5338ac1832fb2b900ca783fbb0d29d8 MISC metadata.xml 336 BLAKE2B 2fd4200876fa044f3563b0eea2096214af92fed1a8db009cf4885a7cf32f303b0a6911dba18cc8fac942348dbe2668ea2d50fabedd235e33be0793076ab0e5be SHA512 a26feb7d41edc6f728bfbaf805cfefa6bba4c5161e70785e7de5f389492f405f7cd6f2c55cce1d2c6bdf9af3aba17e1e51254d9e4421c4fab2e61f2c563c8f3f diff --git a/dev-libs/libei/libei-1.1.0.ebuild b/dev-libs/libei/libei-1.1.0.ebuild new file mode 100644 index 000000000000..cce058ed6b74 --- /dev/null +++ b/dev-libs/libei/libei-1.1.0.ebuild @@ -0,0 +1,98 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit meson python-any-r1 + +DESCRIPTION="Library for Emulated Input, primarily aimed at the Wayland stack" +HOMEPAGE="https://gitlab.freedesktop.org/libinput/libei" +SRC_URI="https://gitlab.freedesktop.org/libinput/${PN}/-/archive/${PV}/${P}.tar.bz2" +MUNIT_COMMIT="fbbdf1467eb0d04a6ee465def2e529e4c87f2118" +SRC_URI+=" https://github.com/nemequ/munit/archive/${MUNIT_COMMIT}.tar.gz -> munit-${MUNIT_COMMIT}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv" +IUSE="elogind systemd test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/libevdev-1.9.902 + || ( + systemd? ( >=sys-apps/systemd-237 ) + elogind? ( >=sys-auth/elogind-237 ) + sys-libs/basu + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + $(python_gen_any_dep ' + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + ') + test? ( + $(python_gen_any_dep ' + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/python-dbusmock[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/structlog[${PYTHON_USEDEP}] + ') + ) +" + +python_check_deps() { + if use test; then + python_has_version \ + "dev-python/pytest[${PYTHON_USEDEP}]" \ + "dev-python/python-dbusmock[${PYTHON_USEDEP}]" \ + "dev-python/pyyaml[${PYTHON_USEDEP}]" \ + "dev-python/structlog[${PYTHON_USEDEP}]" \ + || return 1 + fi + python_has_version \ + "dev-python/attrs[${PYTHON_USEDEP}]" \ + "dev-python/jinja[${PYTHON_USEDEP}]" \ + || return 1 +} + +src_unpack() { + if [[ -n ${A} ]]; then + unpack ${A} + mv "${WORKDIR}"/munit-${MUNIT_COMMIT} "${WORKDIR}"/${P}/subprojects/munit || die + rm "${WORKDIR}"/${P}/subprojects/munit.wrap || die + fi +} + +src_prepare() { + default + + sed -i -e 's:^valgrind = .*:valgrind = disabler():g' test/meson.build || die +} + +src_configure() { + local emesonargs=( + -Ddocumentation="" + -Dliboeffis=enabled + $(meson_feature test tests) + ) + if use systemd; then + emesonargs+=(-Dsd-bus-provider=libsystemd) + elif use elogind; then + emesonargs+=(-Dsd-bus-provider=libelogind) + else + emesonargs+=(-Dsd-bus-provider=basu) + fi + meson_src_configure +} + +src_install() { + meson_src_install + + # munit subproject is installed but not wanted + if use test; then + rm "${ED}"/usr/lib*/libmunit.so || die + fi +} |