diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-08 09:04:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-08 09:04:53 +0100 |
commit | 73c318acdaf6f8309d68bd266051e6dd1f1bd787 (patch) | |
tree | 2878053f3e7faed19a1f82c733d3bd29df69991e /dev-libs/libev | |
parent | 2018227e9344edb9da15fc6a4a8298086cc2aa77 (diff) |
gentoo resync : 08.06.2019
Diffstat (limited to 'dev-libs/libev')
-rw-r--r-- | dev-libs/libev/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libev/files/libev-4.25-pc.patch | 49 | ||||
-rw-r--r-- | dev-libs/libev/libev-4.25.ebuild | 46 |
3 files changed, 98 insertions, 0 deletions
diff --git a/dev-libs/libev/Manifest b/dev-libs/libev/Manifest index a8596412507f..342036b9c056 100644 --- a/dev-libs/libev/Manifest +++ b/dev-libs/libev/Manifest @@ -1,6 +1,9 @@ +AUX libev-4.25-pc.patch 1237 BLAKE2B 6f07e9a8614f136dc44c099a49aafc57e78d107820f23319a9d498d7e6919c01d0e77cb0649e84913d8453341191f48ab6c1b71138c11005400e1936a2efd6e2 SHA512 4cb83f6ab869028a023f1dbc5be4d29b7bd5a703ce12e0cfa54305682e83a5e4a357c19b95dc1b8236e9dc2fe5e2647f42547983a1a3cff3eaf8049b297306bc AUX libev-pc.patch 1031 BLAKE2B 395e57ac5b71761c9603bc5355265ac7bc73aac78c2d6e0aaf9a53cc378c4a1ea3d819960d412e3cf0b6081c46fcf2120b6cef0ef9aa8be26d64e1241d090217 SHA512 09905e5bdd28b06e92bf0023b659c339e2dee05c78657f0871275ad3816cd050db346cfa6621d569b3b12977b2f99a63edcb9a5613367167d7187d705ee44fbb DIST libev-4.23.tar.gz 524184 BLAKE2B bb8c15665e0ff59322bc2f076f4256ca8f5acff5bc55bb3f5f10ac9704f9311ad90f581e4ced25dcc22c39988ffacce1958f195234a60039d33ba7b7beb9aee2 SHA512 e3d98364b3788a7f5c56be49b99cecc98da6323fc7e6d47aff808580653ab9effffe88636a2f5d357d596a9a580e778c20139cc162467e3e2c5fc736713c6e39 DIST libev-4.24.tar.gz 524264 BLAKE2B 92a480cfba67119c630211b9acfadfa2dc6ab1806ed015cca693829fa6deedeb4fc5530aa47e0a0d21304b0f626136110596ccdbeb75bc13ea5d23eeca7b9ded SHA512 e4cb3b5dd4b9828d5b8da840c73ae4604258a8c4330aafa5472298b83bf944628f36918f0ddd47d9069d255639f0b24a2cf8d349f0644ffd50de823bcb54a31a +DIST libev-4.25.tar.gz 545817 BLAKE2B a6ce69ba0a5824afc9e49afa8dba67f15b5945bb01104733c2a9478265fa78908ea26b6594c00f210c86eaef936956c16d3a55cb91a834501da0a6db12caf201 SHA512 83455d4dcb626a28d8477aaea27cdee6bc88b273fae926a57eed9f6a59d4b0ea2eef0f41ad09ff711aea2956ed83a591aa53cfe8aa242f7d0a4da19180d764c4 EBUILD libev-4.23.ebuild 1098 BLAKE2B ed8a663be761548bf235607134c83f867cac6a090dad8a1a0fd27ae79c7124308cebdb58713631c23fa98eb40515bcf39f6d5d3a7e1393738982787f304ccb31 SHA512 ff3e6e3d8674b5c82f725039cc302e80600df10d4d428e1986720710409b9d26a2212a52a6c79c4ecc5d83bf7ebbabfd3226be377269dcc67dbe63ded9e27209 EBUILD libev-4.24.ebuild 1115 BLAKE2B 28966f42a644d7817418cdcbd90347df31daf2470aa37934601a4d3b648193530063df7220179052ffab81151018e77031227ae68d01e621543b8ee0b103a1ff SHA512 0ac922c356c641aa6c1b636f9e0aea0a9805ee2869df1d2d441479b23519b9ded961207072513863a0ff7ad581dfc0b9d36438b70404f14a16c3f9516ece4266 +EBUILD libev-4.25.ebuild 1155 BLAKE2B a83b82d1ceacedef2390a70584cfb41dea9231962bed2422d948ea1fa2436e778ec3af2c25c44b3ad81c34b8b5026a5955d32a2994d3f8657fe72c487f6a2eef SHA512 e4b86e636b5cb80a66a5ce28b8183c4cc3ce07f9483f8273c8168a9c7062721502b3277ad142b23c04cb19cbed35c9745f3194e234e707ff3904388a4d6ceb3f MISC metadata.xml 246 BLAKE2B 65c152b918cef5b72db59bbb3fd1a71a6fd444bbbb3e95a87aa880e23f33d418b96f842f4a2070ad1bbd0c1d1c3753e935841e6fccf088954bb58f297b672dc4 SHA512 9977bb6fcdb8374bf6148fef57fa31bf04fdd8eb3701ecd75be5ea62a48382fb0ef703b3d01bbc996f91322b6fd0f8365dfa4134426770fa98d624d69d8073d9 diff --git a/dev-libs/libev/files/libev-4.25-pc.patch b/dev-libs/libev/files/libev-4.25-pc.patch new file mode 100644 index 000000000000..a5e362479f31 --- /dev/null +++ b/dev-libs/libev/files/libev-4.25-pc.patch @@ -0,0 +1,49 @@ +diff --git a/Makefile.am b/Makefile.am +index 059305b..76d9852 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -16,5 +16,8 @@ lib_LTLIBRARIES = libev.la + libev_la_SOURCES = ev.c event.c + libev_la_LDFLAGS = -version-info $(VERSION_INFO) + ++pkgconfigdir = $(libdir)/pkgconfig ++pkgconfig_DATA = libev.pc ++ + ev.3: ev.pod + pod2man -n LIBEV -r "libev-$(VERSION)" -c "libev - high performance full featured event loop" -s3 <$< >$@ +diff --git a/configure.ac b/configure.ac +index b004dda..6ba3f5c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -4,6 +4,7 @@ AC_INIT([libev], [4.25]) + orig_CFLAGS="$CFLAGS" + + AC_CONFIG_SRCDIR([ev_epoll.c]) ++AC_CONFIG_MACRO_DIR([m4]) + AM_INIT_AUTOMAKE + + AC_CONFIG_HEADERS([config.h]) +@@ -23,5 +24,5 @@ AC_PROG_LIBTOOL + + m4_include([libev.m4]) + +-AC_CONFIG_FILES([Makefile]) ++AC_CONFIG_FILES([Makefile libev.pc]) + AC_OUTPUT +diff --git a/libev.pc.in b/libev.pc.in +new file mode 100644 +index 0000000..8bc8681 +--- /dev/null ++++ b/libev.pc.in +@@ -0,0 +1,11 @@ ++prefix=@prefix@ ++exec_prefix=@prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++ ++Name: libev ++Description: A high-performance event loop/event model with lots of features ++Version: @VERSION@ ++Libs: -L${libdir} -lev ++Libs.private: ++Cflags: -I${includedir} diff --git a/dev-libs/libev/libev-4.25.ebuild b/dev-libs/libev/libev-4.25.ebuild new file mode 100644 index 000000000000..b2ac07e21a86 --- /dev/null +++ b/dev-libs/libev/libev-4.25.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools eutils multilib-minimal + +DESCRIPTION="A high-performance event loop/event model with lots of feature" +HOMEPAGE="http://software.schmorp.de/pkg/libev.html" +SRC_URI="http://dist.schmorp.de/libev/${P}.tar.gz + http://dist.schmorp.de/libev/Attic/${P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="elibc_glibc static-libs" + +# Bug #283558 +DEPEND="elibc_glibc? ( >=sys-libs/glibc-2.9_p20081201 )" +RDEPEND="${DEPEND}" + +DOCS=( Changes README ) + +# bug #411847 +PATCHES=( "${FILESDIR}/${P}-pc.patch" ) + +src_prepare() { + default + sed -i -e "/^include_HEADERS/s/ event.h//" Makefile.am || die + + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf \ + --disable-maintainer-mode \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + if ! use static-libs; then + find "${D}" -name '*.la' -type f -delete || die + fi + einstalldocs +} |