summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-11-15 22:02:52 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-11-15 22:02:52 +0000
commit924ecbaa1338d7756eeb35e7952a2dcc16299f4b (patch)
treefeb618a85e149fc9d87580978b9fd7241653235b /app-pda/libopensync
parentFix support for non-multilib profiles in PYTHON(). Print additional data in v... (diff)
downloadhistorical-924ecbaa1338d7756eeb35e7952a2dcc16299f4b.tar.gz
historical-924ecbaa1338d7756eeb35e7952a2dcc16299f4b.tar.bz2
historical-924ecbaa1338d7756eeb35e7952a2dcc16299f4b.zip
Version bump, bug #283228. Fix swig dependency on old ebuilds, bug #221457. Make sure use flags match something. Clean up old revisions.
Package-Manager: portage-2.2_rc49/cvs/Linux x86_64
Diffstat (limited to 'app-pda/libopensync')
-rw-r--r--app-pda/libopensync/ChangeLog12
-rw-r--r--app-pda/libopensync/Manifest23
-rw-r--r--app-pda/libopensync/libopensync-0.20.ebuild48
-rw-r--r--app-pda/libopensync/libopensync-0.21.ebuild49
-rw-r--r--app-pda/libopensync/libopensync-0.22.ebuild12
-rw-r--r--app-pda/libopensync/libopensync-0.35.ebuild59
-rw-r--r--app-pda/libopensync/libopensync-0.39.ebuild (renamed from app-pda/libopensync/libopensync-0.36.ebuild)35
-rw-r--r--app-pda/libopensync/libopensync-9999.ebuild36
8 files changed, 57 insertions, 217 deletions
diff --git a/app-pda/libopensync/ChangeLog b/app-pda/libopensync/ChangeLog
index 4313095a7b7c..333ad12df930 100644
--- a/app-pda/libopensync/ChangeLog
+++ b/app-pda/libopensync/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for app-pda/libopensync
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/ChangeLog,v 1.33 2009/07/05 19:38:19 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/ChangeLog,v 1.34 2009/11/15 22:02:52 eva Exp $
+
+*libopensync-0.39 (15 Nov 2009)
+
+ 15 Nov 2009; Gilles Dartiguelongue <eva@gentoo.org>
+ -libopensync-0.20.ebuild, -libopensync-0.21.ebuild,
+ libopensync-0.22.ebuild, -libopensync-0.35.ebuild,
+ -libopensync-0.36.ebuild, +libopensync-0.39.ebuild,
+ libopensync-9999.ebuild:
+ Version bump, bug #283228. Fix swig dependency on old ebuilds, bug
+ #221457. Make sure use flags match something. Clean up old revisions.
05 Jul 2009; Alexis Ballier <aballier@gentoo.org>
libopensync-0.36-r1.ebuild, libopensync-0.38.ebuild:
diff --git a/app-pda/libopensync/Manifest b/app-pda/libopensync/Manifest
index 28e1cb95248b..9ae7fc740f0a 100644
--- a/app-pda/libopensync/Manifest
+++ b/app-pda/libopensync/Manifest
@@ -3,26 +3,21 @@ Hash: SHA1
AUX libopensync-0.22-fbsd.patch 981 RMD160 32336ef24c3f7c093db6fe550061cba3a2d9baad SHA1 4408b9c05a649e0be8a96505dcaefd4ce52df2f5 SHA256 49089d7e784a5c0f7f2566880db6d266162c1661e35308d6077ea68a23ba78a6
AUX libopensync-py2.6.patch 2498 RMD160 b2049c3df05d52a6f16f3e5885ce32cbfb672779 SHA1 bbf8fb0a018a58cac588c202864d10803b59d0d1 SHA256 cfe5ad3152288a6bbcd8f1d37c129d51cb8065ff784b830cec91fdccaeec5c83
-DIST libopensync-0.20.tar.gz 681064 RMD160 3cfaf0a456cd78240a4abb04e0c4c0c7ea35f878 SHA1 88958a9197397eb051e23d14bb710783cb4dd069 SHA256 5da9e72de291e7654fb59bf40b647633f3afb3cde924bd11b80d6ed26c911feb
-DIST libopensync-0.21.tar.bz2 526365 RMD160 7294e0296a9f05e791fe119732eef7a9e54cee66 SHA1 ab717090e8596745f4f1d800b4736042d0f7990c SHA256 1adf93d58ee31b788e7be5327de65503d13d6517b314dc9ea1fa54305e6dd895
DIST libopensync-0.22.tar.bz2 489978 RMD160 a1e9715d037a7c474b80d609e6c96a24cbb6692f SHA1 47860a8c6621aa89fbff2af2517787747af7cc30 SHA256 3394bae1e3bcfe463d139a367ba5ebe73d968df128c871842dcb4965a725d0dc
-DIST libopensync-0.35.tar.bz2 863792 RMD160 8a06ffeba1a0cddc40a57f0bff7e5909ede77d4c SHA1 db9c7df0a305942c31f08d6136a466bb6bd8c5b9 SHA256 cc2cc8c40b136f7f29c4a2ed7869300e3a0ba2eda3afe494df2c9e2161f28083
DIST libopensync-0.36.tar.bz2 879868 RMD160 8c4f2b6799c2767e53fc51f17ad95fcfb1e09c70 SHA1 df85159b376427953048134c60872e2bd260a245 SHA256 c686d27f0818e2d8cc6277ba123c74d7210e70fa2b320c5a828eaaedd598e908
DIST libopensync-0.38.tar.bz2 1029341 RMD160 1d0d0bc5c66b919a42cc27fab8aaeea46e86bc0e SHA1 b07f26276b12d319d3b9b3af85ba1ce099777bb4 SHA256 a3176ddeeb50e327de32c91ca8419657f9496badbe74531f40c32e5bcba7fdb6
-EBUILD libopensync-0.20.ebuild 1248 RMD160 2ec37608c98352530df4f37dd2c1d106ea9f1980 SHA1 a7f38aeca185688dfd294d8fa3289297fe8a9360 SHA256 4d640031659c1891d5079ec91167da38cc62315b49e8b529629843864784704d
-EBUILD libopensync-0.21.ebuild 1258 RMD160 689edd5c9761611e1a93d5a49a598d9b936e5c58 SHA1 94adb7b1a829628937598328a17e6ae4cc6a5cd9 SHA256 bd6699daa2db75f107be9261ba20b74b26bb0f88bae40f178f7e9d6f5a222d10
-EBUILD libopensync-0.22.ebuild 1958 RMD160 2297142ba8c988a9a4adae7a29c33fc1cf423243 SHA1 ec035a9174db1047c2191f46a0533359e46949aa SHA256 72c468efa7e7d84f83077f9e63a55fdbeb9d99633805445d5cf96b6891dd169a
-EBUILD libopensync-0.35.ebuild 1577 RMD160 5ca215c8ef3aee973a6a48474be54b9c00146b60 SHA1 e52326c3c68012064822ae65e703507dcb31c4d0 SHA256 5444f140fbdff7e80bfbffb970db0f8221484a6d9612af9db735f70aff9182ec
+DIST libopensync-0.39.tar.bz2 1146955 RMD160 2124c2d65d75811f021437383f3385df9c954328 SHA1 3d97732675aa874da49cca0f8d6de6f004f2a416 SHA256 078f5d1d29774a190679e7e65e587f34cd8b001f07ea8745f31eba3f07edc430
+EBUILD libopensync-0.22.ebuild 1964 RMD160 bcff66c58e974aef264bb0995edb6f4d47cba465 SHA1 4a0c7af8a6b12d710d37d4e98f1e1a24cc3e4adf SHA256 c87b557e25bbf00f6c6d138625689d2d2206981307fa7efaed8e70c355dc3fac
EBUILD libopensync-0.36-r1.ebuild 1942 RMD160 aeee52ffb5944ed490dc230e2bb1a8b30bb9f9d2 SHA1 54a4486e44f5cf85234d7b0b71d9c395f164d4a5 SHA256 04e860af16b996bb9b3232c746e6a05f8f09b3e28a85ad23420bb1eef708c55d
-EBUILD libopensync-0.36.ebuild 1845 RMD160 a4b7b2d18741dd180565d2e9b1a6dd7c3586d663 SHA1 844078eb28cd3c66c9b991692254772110ace43d SHA256 758639d9bea0ca1613b0ed3e39709c7b4f6a444008d890da3d4b126b809706a9
EBUILD libopensync-0.38.ebuild 1939 RMD160 eaf867b3addaba111693a8691efb08073163fa22 SHA1 efaec0d585dff1b426246cdae644acffcde51936 SHA256 72714e0c20927c0d6bc0c93b4baf803319b34c2527e3426b83e64bc97f451430
-EBUILD libopensync-9999.ebuild 1843 RMD160 f3da5102e96c788127828da07cc904df04ea24ac SHA1 ba84cc8838a400a152dc10f5acd0c9346ace2dd8 SHA256 73eb4117f00d553adc964dc05cb150b797516f4a263c0645b80099933d24a739
-MISC ChangeLog 4645 RMD160 6d12c2e2fb657fde842175abc209c8ed579356c9 SHA1 86c5f84effb5ad6fe108c8d69d16cba874817000 SHA256 aa332bbb66927942dd9b6eef047ee1b0e27a6424d865732c777b1f249adc3415
+EBUILD libopensync-0.39.ebuild 1728 RMD160 e2700f621be2abd886c8af8218a0b4a7953df344 SHA1 526211909de74bbbb828ad47d8e1cbec86269188 SHA256 115f9942e860e05297a7cc1ae74b3e8226be0eb919e766029a39714b093bea44
+EBUILD libopensync-9999.ebuild 1661 RMD160 90086aa9f146442d8adf3540fce58b90737d1494 SHA1 63132519184093bf8f46aeaacd3facdf5b8d1372 SHA256 1e12077bb4ea873e81afb438b95cb6cd47615f4804f3c77e0b4a1c6a6a3230ef
+MISC ChangeLog 5057 RMD160 29ef9fda0f48146c34572b2c3ee3ecfad3167d34 SHA1 c002ee90aed4c939f5c3e8ba9db251418e182d18 SHA256 4b790cbc1e2b55121362d0c3bb44d046658af2f7e9a168f1123a670ad5f66a01
MISC metadata.xml 304 RMD160 1da32fded95735800bc96b0ff4c0a3af4691a724 SHA1 b96c72c417192c099990a616b12a1d2f55a06064 SHA256 7fa8df0f64197f3f6c018ed0d6c4cc4da014fbcc9af2da9b633f71657470236a
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.13 (GNU/Linux)
-iEYEARECAAYFAkpRASwACgkQvFcC4BYPU0owjgCgp9ximl2byNyZ7DjYsZvT1969
-4mIAnivkHsPieQMsLPvONhJ1UERSiB1F
-=dn8+
+iEYEARECAAYFAksAepIACgkQ1fmVwcYIWAYuQwCffFWzA8w5uoKioYeCFJW+x2Sx
+LkEAniFoF5S6GnJMVybPJXwodSuMsBJp
+=Aryk
-----END PGP SIGNATURE-----
diff --git a/app-pda/libopensync/libopensync-0.20.ebuild b/app-pda/libopensync/libopensync-0.20.ebuild
deleted file mode 100644
index 516d43ecb878..000000000000
--- a/app-pda/libopensync/libopensync-0.20.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-0.20.ebuild,v 1.7 2007/07/15 05:41:19 mr_bones_ Exp $
-
-DESCRIPTION="OpenSync synchronisation framework library"
-HOMEPAGE="http://www.opensync.org/"
-SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.gz"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-LICENSE="LGPL-2.1"
-IUSE="debug doc python"
-#test
-#profiling" - needs tau - http://www.cs.uoregon.edu/research/tau/
-
-RDEPEND=">=dev-db/sqlite-3
- >=dev-libs/glib-2
- dev-libs/libxml2
- python? ( >=dev-lang/python-2.2
- >=dev-lang/swig-1.3.17 )
- debug? ( >=dev-libs/check-0.9.2 ) "
-DEPEND="${RDEPEND}
- >=dev-util/pkgconfig-0.9.0
- doc? ( app-doc/doxygen )"
-
-# Tests are still broken in 0.20
-RESTRICT="test"
-
-src_compile() {
- #$(use_enable test unit-tests) \
- econf \
- --enable-engine \
- --enable-tools \
- $(use_enable python) \
- $(use_enable debug) \
- $(use_enable debug tracing) \
- || die "econf failed"
-
- emake || die "emake failed"
-
- use doc && doxygen Doxyfile
-}
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc AUTHORS ChangeLog NEWS README TODO
- use doc && dohtml docs/html/*
-}
diff --git a/app-pda/libopensync/libopensync-0.21.ebuild b/app-pda/libopensync/libopensync-0.21.ebuild
deleted file mode 100644
index ec13e388139c..000000000000
--- a/app-pda/libopensync/libopensync-0.21.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-0.21.ebuild,v 1.2 2007/03/28 20:14:35 peper Exp $
-
-DESCRIPTION="OpenSync synchronisation framework library"
-HOMEPAGE="http://www.opensync.org/"
-SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.bz2"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-LICENSE="LGPL-2.1"
-IUSE="debug doc python"
-#test
-#profiling" - needs tau - http://www.cs.uoregon.edu/research/tau/
-
-RDEPEND=">=dev-db/sqlite-3
- >=dev-libs/glib-2
- dev-libs/libxml2
- python? ( >=dev-lang/python-2.2
- >=dev-lang/swig-1.3.17 )
- debug? ( >=dev-libs/check-0.9.2 ) "
-
-DEPEND="${RDEPEND}
- >=dev-util/pkgconfig-0.9.0
- doc? ( app-doc/doxygen )"
-
-# Some of the tests are still broken in 0.21
-RESTRICT="test"
-
-src_compile() {
- #$(use_enable test unit-tests) \
- econf \
- --enable-engine \
- --enable-tools \
- $(use_enable python) \
- $(use_enable debug) \
- $(use_enable debug tracing) \
- || die "econf failed"
-
- emake || die "emake failed"
-
- use doc && doxygen Doxyfile
-}
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc AUTHORS ChangeLog NEWS README TODO
- use doc && dohtml docs/html/*
-}
diff --git a/app-pda/libopensync/libopensync-0.22.ebuild b/app-pda/libopensync/libopensync-0.22.ebuild
index 54f0a1802919..cee14b95234f 100644
--- a/app-pda/libopensync/libopensync-0.22.ebuild
+++ b/app-pda/libopensync/libopensync-0.22.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-0.22.ebuild,v 1.16 2008/06/15 06:11:14 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-0.22.ebuild,v 1.17 2009/11/15 22:02:52 eva Exp $
inherit eutils
@@ -21,13 +21,13 @@ RESTRICT="test"
RDEPEND=">=dev-db/sqlite-3
>=dev-libs/glib-2
dev-libs/libxml2
- python? ( >=dev-lang/python-2.2
- >=dev-lang/swig-1.3.17 )
- debug? ( >=dev-libs/check-0.9.2 ) "
+ python? ( >=dev-lang/python-2.2 )
+ debug? ( >=dev-libs/check-0.9.2 )"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.9.0
- doc? ( app-doc/doxygen )"
+ doc? ( app-doc/doxygen )
+ python? ( >=dev-lang/swig-1.3.17 )"
src_unpack() {
unpack ${A}
diff --git a/app-pda/libopensync/libopensync-0.35.ebuild b/app-pda/libopensync/libopensync-0.35.ebuild
deleted file mode 100644
index e8876eb66293..000000000000
--- a/app-pda/libopensync/libopensync-0.35.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-0.35.ebuild,v 1.3 2009/06/05 11:42:55 scarabeus Exp $
-
-inherit cmake-utils eutils
-
-DESCRIPTION="OpenSync synchronisation framework library"
-HOMEPAGE="http://www.opensync.org/"
-SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
-
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-SLOT="0"
-LICENSE="LGPL-2.1"
-IUSE="debug doc python"
-
-# Tests don't pass
-#>=dev-libs/check-0.9.2
-#mycmakeargs="${mycmakeargs} -DOPENSYNC_UNITTESTS=ON"
-RESTRICT="test"
-
-RDEPEND=">=dev-db/sqlite-3
- >=dev-libs/glib-2
- dev-libs/libxml2
- python? ( >=dev-lang/python-2.2 >=dev-lang/swig-1.3.17 )"
-
-DEPEND="${RDEPEND}
- >=dev-util/pkgconfig-0.9.0
- doc? ( app-doc/doxygen )"
-
-src_compile() {
- local mycmakeargs
- mycmakeargs="${mycmakeargs} -DCMAKE_SKIP_RPATH=ON
- $(cmake-utils_use debug OPENSYNC_TRACE)
- $(cmake-utils_use debug OPENSYNC_DEBUG_MODULES)
- $(cmake-utils_use python OPENSYNC_PYTHONBINDINGS)
- $(cmake-utils_use_build doc DOCUMENTATION)
- "
- cmake-utils_src_compile
-
- if use doc ; then
- cd "${CMAKE_BUILD_DIR}"
- doxygen Doxyfile || die "Failed to generate docs."
- fi
-}
-
-src_install() {
- cmake-utils_src_install
-
- if use doc ; then
- cd "${CMAKE_BUILD_DIR}"
- dohtml docs/html/* || die "Failed to install docs."
- fi
-}
-
-pkg_postinst() {
- elog "Building with 'debug' useflag is highly encouraged"
- elog "and requiered for bug reports."
- elog "Also see http://www.opensync.org/wiki/tracing"
-}
diff --git a/app-pda/libopensync/libopensync-0.36.ebuild b/app-pda/libopensync/libopensync-0.39.ebuild
index df21d0c86e0c..714e254ad16a 100644
--- a/app-pda/libopensync/libopensync-0.36.ebuild
+++ b/app-pda/libopensync/libopensync-0.39.ebuild
@@ -1,53 +1,50 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-0.36.ebuild,v 1.3 2009/06/05 11:42:55 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-0.39.ebuild,v 1.1 2009/11/15 22:02:52 eva Exp $
-inherit cmake-utils eutils
+inherit cmake-utils
DESCRIPTION="OpenSync synchronisation framework library"
HOMEPAGE="http://www.opensync.org/"
SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
SLOT="0"
LICENSE="LGPL-2.1"
-IUSE="debug doc python"
+IUSE="doc python test"
-# Tests don't pass
-#>=dev-libs/check-0.9.2
-#mycmakeargs="${mycmakeargs} -DOPENSYNC_UNITTESTS=ON"
+# 14% tests passed, 275 tests failed out of 321
RESTRICT="test"
RDEPEND=">=dev-db/sqlite-3
- >=dev-libs/glib-2
+ >=dev-libs/glib-2.12
dev-libs/libxml2
python? ( >=dev-lang/python-2.2 )"
DEPEND="${RDEPEND}
- python? ( >=dev-lang/swig-1.3.17 )
>=dev-util/pkgconfig-0.9.0
- doc? ( app-doc/doxygen )"
+ doc? ( app-doc/doxygen )
+ python? ( >=dev-lang/swig-1.3.17 )
+ test? ( >=dev-libs/check-0.9.2 )"
src_compile() {
- local mycmakeargs
- mycmakeargs="${mycmakeargs} -DCMAKE_SKIP_RPATH=ON
- $(cmake-utils_use debug OPENSYNC_TRACE)
- $(cmake-utils_use debug OPENSYNC_DEBUG_MODULES)
- $(cmake-utils_use python OPENSYNC_PYTHONBINDINGS)
+ DOCS="AUTHORS CODING ChangeLog README"
+
+ local mycmakeargs="
+ -DCMAKE_SKIP_RPATH=ON
+ $(cmake-utils_use_enable python WRAPPER)
$(cmake-utils_use_build doc DOCUMENTATION)
+ $(cmake-utils_use test OPENSYNC_UNITTESTS)
"
cmake-utils_src_compile
if use doc ; then
- cd "${CMAKE_BUILD_DIR}"
- doxygen Doxyfile || die "Failed to generate docs."
+ cmake-utils_src_make DoxygenDoc || die "Failed to generate docs."
fi
}
src_test() {
- echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
-
pushd "${CMAKE_BUILD_DIR}" > /dev/null
if ! LD_LIBRARY_PATH="${CMAKE_BUILD_DIR}/opensync/" emake -j1 test ; then
diff --git a/app-pda/libopensync/libopensync-9999.ebuild b/app-pda/libopensync/libopensync-9999.ebuild
index 1d66b83934fa..8eca1d980e00 100644
--- a/app-pda/libopensync/libopensync-9999.ebuild
+++ b/app-pda/libopensync/libopensync-9999.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild,v 1.5 2009/06/05 11:42:55 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild,v 1.6 2009/11/15 22:02:52 eva Exp $
-inherit cmake-utils eutils subversion
+inherit cmake-utils subversion
DESCRIPTION="OpenSync synchronisation framework library"
HOMEPAGE="http://www.opensync.org/"
@@ -10,46 +10,40 @@ SRC_URI=""
ESVN_REPO_URI="http://svn.opensync.org/trunk"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
SLOT="0"
LICENSE="LGPL-2.1"
-IUSE="debug doc python"
-
-# Tests don't pass
-#>=dev-libs/check-0.9.2
-#mycmakeargs="${mycmakeargs} -DOPENSYNC_UNITTESTS=ON"
-RESTRICT="test"
+IUSE="doc python test"
RDEPEND=">=dev-db/sqlite-3
- >=dev-libs/glib-2
+ >=dev-libs/glib-2.12
dev-libs/libxml2
python? ( >=dev-lang/python-2.2 )"
DEPEND="${RDEPEND}
- python? ( >=dev-lang/swig-1.3.17 )
>=dev-util/pkgconfig-0.9.0
- doc? ( app-doc/doxygen )"
+ doc? ( app-doc/doxygen )
+ python? ( >=dev-lang/swig-1.3.17 )
+ test? ( >=dev-libs/check-0.9.2 )"
src_compile() {
- local mycmakeargs
- mycmakeargs="${mycmakeargs} -DCMAKE_SKIP_RPATH=ON
- $(cmake-utils_use debug OPENSYNC_TRACE)
- $(cmake-utils_use debug OPENSYNC_DEBUG_MODULES)
- $(cmake-utils_use python OPENSYNC_PYTHONBINDINGS)
+ DOCS="AUTHORS CODING ChangeLog README"
+
+ local mycmakeargs="
+ -DCMAKE_SKIP_RPATH=ON
+ $(cmake-utils_use_enable python WRAPPER)
$(cmake-utils_use_build doc DOCUMENTATION)
+ $(cmake-utils_use test OPENSYNC_UNITTESTS)
"
cmake-utils_src_compile
if use doc ; then
- cd "${CMAKE_BUILD_DIR}"
- doxygen Doxyfile || die "Failed to generate docs."
+ cmake-utils_src_make DoxygenDoc || die "Failed to generate docs."
fi
}
src_test() {
- echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
-
pushd "${CMAKE_BUILD_DIR}" > /dev/null
if ! LD_LIBRARY_PATH="${CMAKE_BUILD_DIR}/opensync/" emake -j1 test ; then