k_f         15/06/12 21:35:28

  Modified:             ChangeLog
  Added:                libgcrypt-1.6.3-r1.ebuild
  Log:
  Add doc USE flag to install gcrypt.pdf. Fixes bug #551398. Patch contributed 
by Andrew Savchenko.
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
0x250B7AFED6379D85!)

Revision  Changes    Path
1.233                dev-libs/libgcrypt/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/ChangeLog?rev=1.233&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/ChangeLog?rev=1.233&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/ChangeLog?r1=1.232&r2=1.233

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v
retrieving revision 1.232
retrieving revision 1.233
diff -u -r1.232 -r1.233
--- ChangeLog   19 Apr 2015 16:06:08 -0000      1.232
+++ ChangeLog   12 Jun 2015 21:35:28 -0000      1.233
@@ -1,6 +1,13 @@
 # ChangeLog for dev-libs/libgcrypt
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.232 
2015/04/19 16:06:08 jmorgan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.233 
2015/06/12 21:35:28 k_f Exp $
+
+*libgcrypt-1.6.3-r1 (12 Jun 2015)
+
+  12 Jun 2015; Kristian Fiskerstrand <k...@gentoo.org>
+  +libgcrypt-1.6.3-r1.ebuild:
+  Add doc USE flag to install gcrypt.pdf. Fixes bug #551398. Patch contributed
+  by Andrew Savchenko.
 
   19 Apr 2015; <jmor...@gentoo.org> libgcrypt-1.5.4-r1.ebuild:
   ppc64 stable wrt 524308



1.1                  dev-libs/libgcrypt/libgcrypt-1.6.3-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.6.3-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.6.3-r1.ebuild?rev=1.1&content-type=text/plain

Index: libgcrypt-1.6.3-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.6.3-r1.ebuild,v 1.1 
2015/06/12 21:35:28 k_f Exp $

EAPI=5
AUTOTOOLS_AUTORECONF=1
WANT_AUTOMAKE=1.14

inherit autotools-multilib flag-o-matic

DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
HOMEPAGE="http://www.gnupg.org/";
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"

LICENSE="LGPL-2.1 MIT"
SLOT="0/20" # subslot = soname major version
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd 
~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc static-libs"

RDEPEND=">=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}]
        abi_x86_32? (
                !<=app-emulation/emul-linux-x86-baselibs-20131008-r19
                !app-emulation/emul-linux-x86-baselibs[-abi_x86_32]
        )"
DEPEND="${RDEPEND}
        doc? ( sys-apps/texinfo )"

DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )

PATCHES=(
        "${FILESDIR}"/${PN}-1.6.1-uscore.patch
        "${FILESDIR}"/${PN}-multilib-syspath.patch
)

MULTILIB_CHOST_TOOLS=(
        /usr/bin/libgcrypt-config
)

multilib_src_configure() {
        if [[ ${CHOST} == *86*-solaris* ]] ; then
                # ASM code uses GNU ELF syntax, divide in particular, we need to
                # allow this via ASFLAGS, since we don't have a flag-o-matic
                # function for that, we'll have to abuse cflags for this
                append-cflags -Wa,--divide
        fi
        local myeconfargs=(
                --disable-padlock-support # bug 201917
                --disable-dependency-tracking
                --enable-noexecstack
                --disable-O-flag-munging
                $(use_enable static-libs static)

                # disabled due to various applications requiring privileges
                # after libgcrypt drops them (bug #468616)
                --without-capabilities

                # http://trac.videolan.org/vlc/ticket/620
                # causes bus-errors on sparc64-solaris
                $([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
                $([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm")
        )
        autotools-utils_src_configure
}

src_compile() {
        autotools-utils_src_compile
        use doc && emake -C "${BUILD_DIR}/doc" gcrypt.pdf
}

src_install() {
        autotools-utils_src_install
        use doc && dodoc "${BUILD_DIR}/doc/gcrypt.pdf"
}




Reply via email to