summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-06-27 03:57:00 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-06-27 03:57:00 +0000
commit5970c9546e039db84433e3069818767ecf8099fa (patch)
tree1569a1d5afe89be610af5c1cea4b908213571d1e /net-wireless/libbtctl
parentstable on ppc64 (diff)
downloadhistorical-5970c9546e039db84433e3069818767ecf8099fa.tar.gz
historical-5970c9546e039db84433e3069818767ecf8099fa.tar.bz2
historical-5970c9546e039db84433e3069818767ecf8099fa.zip
adding new version. now has python and optional mono bindings. added unused disable/enable python patch. we don't use it right now because its not complete yet and the only thing that needs libbtctl right now requires the python bindings
Diffstat (limited to 'net-wireless/libbtctl')
-rw-r--r--net-wireless/libbtctl/ChangeLog11
-rw-r--r--net-wireless/libbtctl/Manifest5
-rw-r--r--net-wireless/libbtctl/files/digest-libbtctl-0.4.11
-rw-r--r--net-wireless/libbtctl/files/libbtctl-0.4.1-enable_python.patch36
-rw-r--r--net-wireless/libbtctl/libbtctl-0.4.1.ebuild35
5 files changed, 86 insertions, 2 deletions
diff --git a/net-wireless/libbtctl/ChangeLog b/net-wireless/libbtctl/ChangeLog
index 23aef905145f..86e10df95e86 100644
--- a/net-wireless/libbtctl/ChangeLog
+++ b/net-wireless/libbtctl/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-wireless/libbtctl
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/libbtctl/ChangeLog,v 1.5 2004/06/25 00:46:12 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/libbtctl/ChangeLog,v 1.6 2004/06/27 03:57:00 liquidx Exp $
+
+*libbtctl-0.4.1 (26 Jun 2004)
+
+ 26 Jun 2004; Alastair Tse <liquidx@gentoo.org>
+ +files/libbtctl-0.4.1-enable_python.patch, +libbtctl-0.4.1.ebuild:
+ adding new version. now has python and optional mono bindings. added unused
+ disable/enable python patch. we don't use it right now because its not
+ complete yet and the only thing that needs libbtctl right now requires the
+ python bindings
12 Feb 2004; Ciaran McCreesh <ciaranm@gentoo.org> libbtctl-0.3.ebuild:
Adding ~sparc (works with some kernels, see bug #39710)
diff --git a/net-wireless/libbtctl/Manifest b/net-wireless/libbtctl/Manifest
index 39b8eac70d57..10aa47c94a38 100644
--- a/net-wireless/libbtctl/Manifest
+++ b/net-wireless/libbtctl/Manifest
@@ -1,4 +1,7 @@
+MD5 ffbde17411383425def2253ab41e9e5c libbtctl-0.4.1.ebuild 940
MD5 7c0733703cc532b217ef6ed7c4b43ca1 libbtctl-0.3.ebuild 742
-MD5 9388faecb5df0a6f806a26a939f59896 ChangeLog 848
+MD5 c8037999a2d22c041dc55c249b5673ec ChangeLog 1243
MD5 7a66fef4deb08f29b7cf0de1c2e3a4de metadata.xml 254
MD5 6fd25ef01add3d4f6b205a586233e783 files/digest-libbtctl-0.3 64
+MD5 2f18fdc85cff32fc3b1eb5dcf7376b3a files/libbtctl-0.4.1-enable_python.patch 1292
+MD5 89c026311c1c9a92f14e59fe40698804 files/digest-libbtctl-0.4.1 66
diff --git a/net-wireless/libbtctl/files/digest-libbtctl-0.4.1 b/net-wireless/libbtctl/files/digest-libbtctl-0.4.1
new file mode 100644
index 000000000000..a01311a1ac8a
--- /dev/null
+++ b/net-wireless/libbtctl/files/digest-libbtctl-0.4.1
@@ -0,0 +1 @@
+MD5 7c858214d32d76e45a87b34dd885df37 libbtctl-0.4.1.tar.gz 416947
diff --git a/net-wireless/libbtctl/files/libbtctl-0.4.1-enable_python.patch b/net-wireless/libbtctl/files/libbtctl-0.4.1-enable_python.patch
new file mode 100644
index 000000000000..c89c9db53857
--- /dev/null
+++ b/net-wireless/libbtctl/files/libbtctl-0.4.1-enable_python.patch
@@ -0,0 +1,36 @@
+--- configure.in 2004-06-12 08:47:29.000000000 -0400
++++ /liquidx/configure.in 2004-06-26 23:20:12.785893120 -0400
+@@ -70,15 +70,24 @@
+ AC_SUBST(ADDSDPLIB)
+
+ dnl Python bindings
+-PKG_CHECK_MODULES(BTCTLPY, pygtk-2.0, HAVE_PYTHON=yes, HAVE_PYTHON=no)
+-AC_MSG_CHECKING(for python support)
+-if test "x$HAVE_PYTHON" = "xyes"; then
+- AM_PATH_PYTHON(2.2)
+- AC_MSG_RESULT(yes)
+- DEFSDIR=`pkg-config --variable=defsdir pygtk-2.0`
+- AC_SUBST(DEFSDIR)
+- AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
+-else
++dnl Mono bindings
++AC_ARG_ENABLE(python, [ --enable-python Build Python bindings [default=yes]], enable_python="$enableval", enable_python=yes)
++
++if test "x$enable_python" = "xyes"; then
++ PKG_CHECK_MODULES(BTCTLPY, pygtk-2.0, HAVE_PYTHON=yes, HAVE_PYTHON=no)
++ AC_MSG_CHECKING(for python support)
++ if test "x$HAVE_PYTHON" = "xyes"; then
++ AM_PATH_PYTHON(2.2)
++ AC_MSG_RESULT(yes)
++ DEFSDIR=`pkg-config --variable=defsdir pygtk-2.0`
++ AC_SUBST(DEFSDIR)
++ AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
++ else
++ AC_MSG_RESULT(no)
++ fi
++else
++ AC_MSG_CHECKING(for python support)
++ HAVE_PYTHON=no
+ AC_MSG_RESULT(no)
+ fi
+ AM_CONDITIONAL(HAVE_PYTHON, [test $HAVE_PYTHON = yes])
diff --git a/net-wireless/libbtctl/libbtctl-0.4.1.ebuild b/net-wireless/libbtctl/libbtctl-0.4.1.ebuild
new file mode 100644
index 000000000000..783c56deea7d
--- /dev/null
+++ b/net-wireless/libbtctl/libbtctl-0.4.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/libbtctl/libbtctl-0.4.1.ebuild,v 1.1 2004/06/27 03:57:00 liquidx Exp $
+
+inherit gnome2
+
+DESCRIPTION="A GObject wrapper for Bluetooth functionality"
+HOMEPAGE="http://usefulinc.com/software/gnome-bluetooth/"
+SRC_URI="http://downloads.usefulinc.com/libbtctl/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc"
+IUSE="mono"
+
+RDEPEND=">=dev-libs/glib-2
+ >=net-wireless/bluez-utils-2.7
+ >=net-wireless/bluez-libs-2.7
+ >=dev-libs/openobex-1
+ >=dev-lang/python-2.3
+ >=dev-python/pygtk-2.0
+ !sparc? ( mono? ( >=dev-dotnet/mono-0.96 ) )"
+
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ dev-util/pkgconfig
+ doc? ( dev-util/gtk-doc )"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+DOCS="README NEWS ChangeLog AUTHORS COPYING"
+
+src_compile() {
+ use sparc || G2CONF="`use_enable mono`"
+ gnome2_src_compile
+}