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
commit63bb340b89a55a00c80c26fbfc0accadf25be4d6 (patch)
tree7e17191ad3c30c0b7e807ca3c03b552065fa320c
parentstable on ppc64 (Manifest recommit) (diff)
downloadgentoo-2-63bb340b89a55a00c80c26fbfc0accadf25be4d6.tar.gz
gentoo-2-63bb340b89a55a00c80c26fbfc0accadf25be4d6.tar.bz2
gentoo-2-63bb340b89a55a00c80c26fbfc0accadf25be4d6.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
-rw-r--r--net-wireless/libbtctl/ChangeLog11
-rw-r--r--net-wireless/libbtctl/Manifest2
-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, 84 insertions, 1 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..c81e5d63a73b 100644
--- a/net-wireless/libbtctl/Manifest
+++ b/net-wireless/libbtctl/Manifest
@@ -1,4 +1,6 @@
+MD5 ac1c3b5f4278a39eb2c5ad6a0ea8bbd3 libbtctl-0.4.1.ebuild 737
MD5 7c0733703cc532b217ef6ed7c4b43ca1 libbtctl-0.3.ebuild 742
MD5 9388faecb5df0a6f806a26a939f59896 ChangeLog 848
MD5 7a66fef4deb08f29b7cf0de1c2e3a4de metadata.xml 254
MD5 6fd25ef01add3d4f6b205a586233e783 files/digest-libbtctl-0.3 64
+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
+}