summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-02-16 20:15:02 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-02-16 20:15:02 +0000
commit491d063d1bb1485f247711f6cdd9e253339674e5 (patch)
treee882d38e47e4e61c799afaee09c984eb6a1d1ad4 /sys-auth/bioapi
parentImport two patches from upstream: touch MODULE-overrides.txt when missing in ... (diff)
downloadgentoo-2-491d063d1bb1485f247711f6cdd9e253339674e5.tar.gz
gentoo-2-491d063d1bb1485f247711f6cdd9e253339674e5.tar.bz2
gentoo-2-491d063d1bb1485f247711f6cdd9e253339674e5.zip
Remove USE="qt3" wrt #304475, thanks to Ben de Groot for reporting.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth/bioapi')
-rw-r--r--sys-auth/bioapi/ChangeLog6
-rw-r--r--sys-auth/bioapi/bioapi-1.2.3-r2.ebuild25
2 files changed, 13 insertions, 18 deletions
diff --git a/sys-auth/bioapi/ChangeLog b/sys-auth/bioapi/ChangeLog
index 3f97187e69d2..478e65cf21cf 100644
--- a/sys-auth/bioapi/ChangeLog
+++ b/sys-auth/bioapi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-auth/bioapi
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/bioapi/ChangeLog,v 1.12 2010/01/18 19:24:07 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/bioapi/ChangeLog,v 1.13 2010/02/16 20:15:02 ssuominen Exp $
+
+ 16 Feb 2010; Samuli Suominen <ssuominen@gentoo.org>
+ bioapi-1.2.3-r2.ebuild:
+ Remove USE="qt3" wrt #304475, thanks to Ben de Groot for reporting.
18 Jan 2010; Markus Meier <maekke@gentoo.org> bioapi-1.2.3-r2.ebuild:
amd64/x86 stable, bug #299192
diff --git a/sys-auth/bioapi/bioapi-1.2.3-r2.ebuild b/sys-auth/bioapi/bioapi-1.2.3-r2.ebuild
index 18a7db12b090..7fe294724946 100644
--- a/sys-auth/bioapi/bioapi-1.2.3-r2.ebuild
+++ b/sys-auth/bioapi/bioapi-1.2.3-r2.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/bioapi/bioapi-1.2.3-r2.ebuild,v 1.3 2010/01/18 19:24:07 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/bioapi/bioapi-1.2.3-r2.ebuild,v 1.4 2010/02/16 20:15:02 ssuominen Exp $
+EAPI=2
inherit eutils multilib
DESCRIPTION="Framework for biometric-based authentication"
@@ -11,35 +12,28 @@ SRC_URI="http://bioapi-linux.googlecode.com/files/${PN}_${PV}.tar.gz"
LICENSE="bioapi"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="qt3"
-
-DEPEND="qt3? ( =x11-libs/qt-3* )"
+IUSE=""
S=${WORKDIR}/bioapi-linux
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${P}-enroll-ret.patch #236654
epatch "${FILESDIR}"/${P}-no-delete.patch
epatch "${FILESDIR}"/${P}-gcc44.patch
}
-src_compile() {
- econf $(use_with qt3 Qt-dir /usr/qt/3) || die "./configure failed"
- emake || die "emake failed"
+src_configure() {
+ econf \
+ --without-Qt-dir
}
src_install() {
- emake SKIPCONFIG=true DESTDIR="${D}" install || die "install failed"
+ emake SKIPCONFIG=true DESTDIR="${D}" install || die
dodoc README
dohtml *.htm
# rename generic binaries
mv "${D}"/usr/bin/{,BioAPI}Sample || die
- if use qt3 ; then
- mv "${D}"/usr/bin/{,BioAPI}QSample || die
- fi
}
pkg_config() {
@@ -47,7 +41,6 @@ pkg_config() {
mod_install -fi /usr/$(get_libdir)/libbioapi100.so
mod_install -fi /usr/$(get_libdir)/libbioapi_dummy100.so
mod_install -fi /usr/$(get_libdir)/libpwbsp.so
- use qt3 && mod_install -fi /usr/$(get_libdir)/libqtpwbsp.so
}
pkg_preinst() {
@@ -61,7 +54,6 @@ pkg_preinst() {
pkg_postinst() {
einfo "Some generic-named programs have been renamed:"
einfo " Sample -> BioAPISample"
- einfo " QSample -> BioAPIQSample"
if [[ ${ROOT} == "/" ]] ; then
pkg_config
@@ -81,5 +73,4 @@ pkg_prerm() {
mod_install -fu libbioapi100.so
mod_install -fu libbioapi_dummy100.so
mod_install -fu libpwbsp.so
- use qt3 && mod_install -fu libqtpwbsp.so
}