diff options
author | Yixun Lan <dlan@gentoo.org> | 2019-06-04 14:39:48 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2019-06-04 14:41:41 +0800 |
commit | 2877d2ffe41ae6affd458e43413806059c0ccaac (patch) | |
tree | 6cd8079fa1a0e1e78dde347301dc8621bc4ebdf9 /dev-libs/libev | |
parent | sys-boot/syslinux: restore syslinux-4 (diff) | |
download | gentoo-2877d2ffe41ae6affd458e43413806059c0ccaac.tar.gz gentoo-2877d2ffe41ae6affd458e43413806059c0ccaac.tar.bz2 gentoo-2877d2ffe41ae6affd458e43413806059c0ccaac.zip |
dev-libs/libev: version bump 4.25
Closes: https://bugs.gentoo.org/687020
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'dev-libs/libev')
-rw-r--r-- | dev-libs/libev/Manifest | 1 | ||||
-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, 96 insertions, 0 deletions
diff --git a/dev-libs/libev/Manifest b/dev-libs/libev/Manifest index 7b5a7059c37c..ff478b40c0b5 100644 --- a/dev-libs/libev/Manifest +++ b/dev-libs/libev/Manifest @@ -1,2 +1,3 @@ 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 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 +} |