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

Diff of /net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.10_rc3.ebuild

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

Revision 1.1 Revision 1.2
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.6.0.10_rc3.ebuild,v 1.1 2012/10/08 18:26:45 blueness Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/Attic/bitcoin-qt-0.6.0.10_rc3.ebuild,v 1.2 2013/01/13 22:40:35 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 +qrcode ssl upnp" 21IUSE="$IUSE 1stclassmsg dbus +eligius +qrcode ssl 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 use ssl && OPTS+=("DEFINES+=USE_SSL") 79 use ssl && OPTS+=("DEFINES+=USE_SSL")
81 if use upnp; then 80 if use upnp; then
82 OPTS+=("USE_UPNP=1") 81 OPTS+=("USE_UPNP=1")
86 use qrcode && OPTS+=("USE_QRCODE=1") 85 use qrcode && OPTS+=("USE_QRCODE=1")
87 use 1stclassmsg && OPTS+=("FIRST_CLASS_MESSAGING=1") 86 use 1stclassmsg && OPTS+=("FIRST_CLASS_MESSAGING=1")
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.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20