diff options
Diffstat (limited to 'dev-libs/libvarlink')
-rw-r--r-- | dev-libs/libvarlink/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libvarlink/files/libvarlink-19-fix-meson-build.patch | 44 | ||||
-rw-r--r-- | dev-libs/libvarlink/libvarlink-19.ebuild | 31 |
3 files changed, 78 insertions, 0 deletions
diff --git a/dev-libs/libvarlink/Manifest b/dev-libs/libvarlink/Manifest index 1b73c9a2e84c..f747de054138 100644 --- a/dev-libs/libvarlink/Manifest +++ b/dev-libs/libvarlink/Manifest @@ -1,5 +1,8 @@ +AUX libvarlink-19-fix-meson-build.patch 1443 BLAKE2B df67a1f7b075e1c2ef91deaf881889302fabcf22ca19190d6d62134901ed32d1631b70dce51f624af3b8297991c13eba95654dc9522a2e50eb51563dc5accd79 SHA512 090e507395c5de07e864d626008a5a8b21588be728d68b917be75428e62f2e302dabdd9f4646e1382fd6abce551a9c02bfdb16d0959367e529f8ba49701cf32d DIST libvarlink-16.tar.gz 56886 BLAKE2B 6c65199ced429eac733d1114cfad59c4514d299bd3bba0d4a9907498655545fd9edb9999428f39df936cd1e6710bacc08c04f05710e80f0ceb974b43809b9c22 SHA512 8152fc4fab4e9e829c2bc1585e479c23b0329c59da0be8712ff64dbbe01cde9630f228ac7edc06e9faa39dfd3d38007032ec6ed561e2363d4d33f65856f1a271 DIST libvarlink-18.tar.gz 57708 BLAKE2B 035a3cad38d2429fa7a1bde049d6c5772ef10ef65040179839459d8672ef7fc619ff2a250ad48b108a9068c1f927226ad4ec08fa355b6c6f30a8ab8830422e9e SHA512 a0f2cfe6a3ce3e7c08b24436d4210691d6334ec903cb3d590627595ee3bda79bf4e22e7c72c7ea8ebe817e4e2b045f86d2603ae56b3fd7d429fd281fd7e5e2e8 +DIST libvarlink-19.tar.gz 57715 BLAKE2B 2175e2c9f053b7b4f4f7d8778c966bc4d39954b95c533296b6d1d1cea0e86a37634d502271fa4a5a6b70230725336c9aa152a11210f0b58435616e1a054033cd SHA512 395aaf08e5166daf31c1d3cd05ed7ad2982e817a022f2e6bf6512664f45107ed98c56d851ac098778f9018807ca98fd2903c1ee5aac387691d64610e46ea435b EBUILD libvarlink-16.ebuild 614 BLAKE2B 722d69431a69960ec702b12d2e517786f4f41c6451e8755a5c66cdcba63bc11dd1ae7ccfda4581afcf95af3ee5be5dc2d60fc24dd74a639dbeb3404a32ed86ce SHA512 9c4d527a1775c84c8d6acab718df04f497cc162d60aba0ea659b720aee81984b3f187d78c78512ca6c926ae8ad72320c7970d0632378662aadba8804798c6ed1 EBUILD libvarlink-18.ebuild 614 BLAKE2B 1797a4622ae03f6a5907743ef3aa6d1330b933b2e941bb26b7cf9f904783a2a8ceba0a2a4bdd6af4b2cd2f3e3f3a30f916fc087e660b73a63f54137c591d241d SHA512 c80a0018ba7d21d5875cc3331d241b78c71c54de65c59837c49edb839304906d4d2862245f664d23120242c3b871757704ce5eeb5ec9f3e2f58aed977f423de1 +EBUILD libvarlink-19.ebuild 673 BLAKE2B 1cd3681f0f5a404c2c8a5cac8c92027c0537b75197b913b1dd3054d29b8d19de9ca078481758b3feca0d707114abd8f8ccfedcf225aeb35e1818277856ecb5b3 SHA512 2bd2742fdfbad52c1d6673e487811d2eaf0796a64b3f00b3a2d7a0f9c3fc7c5d9ee040516fe72266afe6c36b95b3643066b180650acdef36b72dd0edb179f21d MISC metadata.xml 327 BLAKE2B 9b7695e2581a6bf4ee1b9906b19c8ad04b2b2db2c78a93cfd2def1bce4e7fd02c79bdf3123225acd3758fcfe660a71780542b2fd00109d38b171d085d3945260 SHA512 e1e61bf472281418c1e3f4a673decf0c2c82ef82630c3a7c06fab8f58721d3e0fb8fb8b634a37914d65e11d24173967f339b9383d93488ff44a39903478011ec diff --git a/dev-libs/libvarlink/files/libvarlink-19-fix-meson-build.patch b/dev-libs/libvarlink/files/libvarlink-19-fix-meson-build.patch new file mode 100644 index 000000000000..9d2e85124681 --- /dev/null +++ b/dev-libs/libvarlink/files/libvarlink-19-fix-meson-build.patch @@ -0,0 +1,44 @@ +From 5fad96254cf20fc6d473037b48c50031cd7e8b45 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl> +Date: Fri, 3 Apr 2020 18:35:21 +0200 +Subject: [PATCH] Drop tags and ctags targets + +meson 0.43 started providing a built-in ctags target which +conflicts with the hand-rolled one here. There shouldn't be +much difference, so let's drop ours. + +Fixes #22. +--- + meson.build | 22 ---------------------- + 1 file changed, 22 deletions(-) + +diff --git a/meson.build b/meson.build +index 5fc51d2..72ac786 100644 +--- a/meson.build ++++ b/meson.build +@@ -79,25 +79,3 @@ subdir('lib') + subdir('tool') + subdir('vim') + subdir('bash-completion') +- +-############################################################ +- +-git = find_program('git', required : false) +- +-if git.found() +- all_files = run_command( +- git, +- ['--git-dir=@0@/.git'.format(meson.current_source_dir()), +- 'ls-files', +- ':/*.[ch]']) +- all_files = files(all_files.stdout().split()) +- +- custom_target( +- 'tags', +- output : 'tags', +- command : ['env', 'etags', '-o', '@0@/TAGS'.format(meson.current_source_dir())] + all_files) +- custom_target( +- 'ctags', +- output : 'ctags', +- command : ['env', 'ctags', '-o', '@0@/tags'.format(meson.current_source_dir())] + all_files) +-endif diff --git a/dev-libs/libvarlink/libvarlink-19.ebuild b/dev-libs/libvarlink/libvarlink-19.ebuild new file mode 100644 index 000000000000..b8c592de9de1 --- /dev/null +++ b/dev-libs/libvarlink/libvarlink-19.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="C implementation of the Varlink protocol and command line tool" +HOMEPAGE="https://github.com/varlink/libvarlink" +SRC_URI="https://github.com/varlink/libvarlink/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" + +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +RDEPEND="" +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-util/meson-0.47.0 + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}/${P}-fix-meson-build.patch" ) + +src_configure() { + local emesonargs=( + -Dtests="$(usex test true false)" + ) + meson_src_configure +} |