public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-crypt/qca: ChangeLog qca-2.0.1-r1.ebuild qca-2.0.1.ebuild
@ 2008-09-06  0:16 Daniel Black (dragonheart)
  0 siblings, 0 replies; only message in thread
From: Daniel Black (dragonheart) @ 2008-09-06  0:16 UTC (permalink / raw
  To: gentoo-commits

dragonheart    08/09/06 00:16:21

  Modified:             ChangeLog
  Added:                qca-2.0.1-r1.ebuild
  Removed:              qca-2.0.1.ebuild
  Log:
  properly fixed now thanks Justin Heesemann - bug #236514
  (Portage version: 2.2_rc8/cvs/Linux 2.6.22-vs2.2.0.7-gentoo x86_64)

Revision  Changes    Path
1.45                 app-crypt/qca/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca/ChangeLog?rev=1.45&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca/ChangeLog?rev=1.45&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca/ChangeLog?r1=1.44&r2=1.45

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-crypt/qca/ChangeLog,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- ChangeLog	3 Sep 2008 11:37:21 -0000	1.44
+++ ChangeLog	6 Sep 2008 00:16:21 -0000	1.45
@@ -1,6 +1,13 @@
 # ChangeLog for app-crypt/qca
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/ChangeLog,v 1.44 2008/09/03 11:37:21 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/ChangeLog,v 1.45 2008/09/06 00:16:21 dragonheart Exp $
+
+*qca-2.0.1-r1 (06 Sep 2008)
+
+  06 Sep 2008; Daniel Black <dragonheart@gentoo.org>
+  files/qca-2.0.1-pcfilespath.patch, -qca-2.0.1.ebuild,
+  +qca-2.0.1-r1.ebuild:
+  properly fixed now thanks Justin Heesemann - bug #236514
 
   03 Sep 2008; Daniel Black <dragonheart@gentoo.org>
   +files/qca-2.0.1-pcfilespath.patch, qca-2.0.1.ebuild:



1.1                  app-crypt/qca/qca-2.0.1-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca/qca-2.0.1-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca/qca-2.0.1-r1.ebuild?rev=1.1&content-type=text/plain

Index: qca-2.0.1-r1.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/qca-2.0.1-r1.ebuild,v 1.1 2008/09/06 00:16:21 dragonheart Exp $

EAPI="1"

inherit eutils multilib qt4

DESCRIPTION="Qt Cryptographic Architecture (QCA)"
HOMEPAGE="http://delta.affinix.com/qca/"
SRC_URI="http://delta.affinix.com/download/${PN}/${PV%.*}/${P}.tar.bz2"

LICENSE="LGPL-2"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="debug doc examples"
RESTRICT="test"

DEPEND="!<app-crypt/qca-1.0-r3
	|| ( x11-libs/qt-core:4
		>=x11-libs/qt-4.2.0:4 )"
RDEPEND="${DEPEND}"

pkg_setup() {
	if use debug; then
		if has_version "<x11-libs/qt-4.4.0_alpha1:4" && ! built_with_use x11-libs/qt:4 debug; then
			eerror "You are trying to compile ${PN} with USE=\"debug\""
			eerror "while x11-libs/qt:4 is built without this particular flag."
			die "Rebuild x11-libs/qt:4 with USE=\"debug\"."
		elif has_version "x11-libs/qt-core:4" && ! built_with_use x11-libs/qt-core:4 debug; then
			eerror "You are trying to compile ${PN} with USE=\"debug\""
			eerror "while x11-libs/qt-core:4 is built without this particular flag."
			die "Rebuild x11-libs/qt-core:4 with USE=\"debug\"."
		fi
	fi
}

src_unpack() {
	unpack ${A}
	epatch "${FILESDIR}"/${P}-pcfilespath.patch
}

src_compile() {
	_libdir=$(get_libdir)
	local myconf
	use debug && myconf="--debug" || myconf="--release"
	eqmake4 || die "eqmake failed"

	./configure \
		--prefix=/usr \
		--qtdir=/usr \
		--includedir="/usr/include/qca2" \
		--libdir="/usr/${_libdir}/qca2" \
		--no-separate-debug-info \
		--disable-tests \
		${myconf} \
		|| die "configure failed"

	eqmake4 ${PN}.pro
	emake || die "emake failed"
}

src_install() {
	emake INSTALL_ROOT="${D}" install || die "emake install failed"
	dodoc README TODO || die "dodoc failed."

	cat <<-EOF > "${WORKDIR}"/44qca2
	LDPATH=/usr/${_libdir}/qca2
	EOF
	doenvd "${WORKDIR}"/44qca2

	if use doc; then
		dohtml "${S}"/apidocs/html/* || die "Failed to install documentation"
	fi

	if use examples; then
		insinto /usr/share/doc/${PF}/
		doins -r "${S}"/examples || die "Failed to install examples"
	fi
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-06  0:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-06  0:16 [gentoo-commits] gentoo-x86 commit in app-crypt/qca: ChangeLog qca-2.0.1-r1.ebuild qca-2.0.1.ebuild Daniel Black (dragonheart)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox