/[gentoo-x86]/net-p2p/bitcoin-qt/bitcoin-qt-0.7.0.ebuild
Gentoo

Diff of /net-p2p/bitcoin-qt/bitcoin-qt-0.7.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/Attic/bitcoin-qt-0.7.0.ebuild,v 1.2 2012/10/29 02:20:08 blueness Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/Attic/bitcoin-qt-0.7.0.ebuild,v 1.3 2013/01/08 01:59:36 blueness Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7DB_VER="4.8" 7DB_VER="4.8"
8 8
19SLOT="0" 19SLOT="0"
20KEYWORDS="~amd64 ~arm ~x86" 20KEYWORDS="~amd64 ~arm ~x86"
21IUSE="$IUSE 1stclassmsg dbus +eligius ipv6 +qrcode upnp" 21IUSE="$IUSE 1stclassmsg dbus +eligius ipv6 +qrcode upnp"
22 22
23RDEPEND=" 23RDEPEND="
24 >=dev-libs/boost-1.41.0 24 >=dev-libs/boost-1.41.0[threads(+)]
25 dev-libs/openssl[-bindist] 25 dev-libs/openssl[-bindist]
26 qrcode? ( 26 qrcode? (
27 media-gfx/qrencode 27 media-gfx/qrencode
28 ) 28 )
29 upnp? ( 29 upnp? (
72 einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang" 72 einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang"
73} 73}
74 74
75src_configure() { 75src_configure() {
76 OPTS=() 76 OPTS=()
77 local BOOST_PKG BOOST_VER
78 77
79 use dbus && OPTS+=("USE_DBUS=1") 78 use dbus && OPTS+=("USE_DBUS=1")
80 if use upnp; then 79 if use upnp; then
81 OPTS+=("USE_UPNP=1") 80 OPTS+=("USE_UPNP=1")
82 else 81 else
86 use 1stclassmsg && OPTS+=("FIRST_CLASS_MESSAGING=1") 85 use 1stclassmsg && OPTS+=("FIRST_CLASS_MESSAGING=1")
87 use ipv6 || OPTS+=("USE_IPV6=-") 86 use ipv6 || OPTS+=("USE_IPV6=-")
88 87
89 OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") 88 OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
90 OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") 89 OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
91
92 BOOST_PKG="$(best_version 'dev-libs/boost')"
93 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
94 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
95 OPTS+=("BOOST_INCLUDE_PATH=/usr/include/boost-${BOOST_VER}")
96 OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}")
97 90
98 eqmake4 "${PN}.pro" "${OPTS[@]}" 91 eqmake4 "${PN}.pro" "${OPTS[@]}"
99} 92}
100 93
101src_compile() { 94src_compile() {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20