commit:     0dfa14515d5e57814f0f981dbdefdfb8cb271112
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 14 10:17:55 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct 14 10:18:17 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dfa1451

net-libs/ccrtp: Fix deps

Closes: https://bugs.gentoo.org/590924
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-libs/ccrtp/ccrtp-2.1.2.ebuild | 30 ++++++++++--------------------
 1 file changed, 10 insertions(+), 20 deletions(-)

diff --git a/net-libs/ccrtp/ccrtp-2.1.2.ebuild 
b/net-libs/ccrtp/ccrtp-2.1.2.ebuild
index 02cf6d4014d..0ed701175c1 100644
--- a/net-libs/ccrtp/ccrtp-2.1.2.ebuild
+++ b/net-libs/ccrtp/ccrtp-2.1.2.ebuild
@@ -1,8 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils multilib
+EAPI=7
 
 DESCRIPTION="GNU ccRTP - Implementation of the IETF real-time transport 
protocol"
 HOMEPAGE="https://www.gnu.org/software/ccrtp/";
@@ -13,31 +12,22 @@ LICENSE="GPL-2"
 IUSE="doc"
 SLOT="0/2"
 
-RDEPEND=">=dev-cpp/commoncpp2-1.3.0:0=
+RDEPEND="
+       >=dev-cpp/commoncpp2-1.3.0:0=
        dev-libs/libgcrypt:0=
-       >=dev-libs/ucommon-5.0.0:="
+       >=dev-libs/ucommon-6.2.2:=
+"
 DEPEND="${RDEPEND}
        virtual/pkgconfig
-       doc? ( app-doc/doxygen )"
+       doc? ( app-doc/doxygen )
+"
 
 src_configure() {
        econf --disable-static
 }
 
 src_install() {
+       use doc && HTML_DOCS="doc/html/*"
        default
-       prune_libtool_files
-       use doc && dohtml -r doc/html/*
-}
-
-pkg_postinst() {
-       if [[ -e "${ROOT}"/usr/$(get_libdir)/libccrtp1-1.4.so.0 ]] ; then
-               elog "Please run: revdep-rebuild --library libccrtp1-1.4.so.0"
-       fi
-       if [[ -e "${ROOT}"/usr/$(get_libdir)/libccrtp1-1.5.so.0 ]] ; then
-               elog "Please run: revdep-rebuild --library libccrtp1-1.5.so.0"
-       fi
-       if [[ -e "${ROOT}"/usr/$(get_libdir)/libccrtp1-1.6.so.0 ]] ; then
-               elog "Please run: revdep-rebuild --library libccrtp1-1.6.so.0"
-       fi
+       find "${D}" -name '*.la' -delete || die
 }

Reply via email to