summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIoannis Aslanidis <deathwing00@gentoo.org>2006-10-16 15:02:03 +0000
committerIoannis Aslanidis <deathwing00@gentoo.org>2006-10-16 15:02:03 +0000
commit5ea8cb827a93e46e9366bf49e557860c7f44356d (patch)
tree679aaebf208162313992c0adfc0066218f77c295 /net-wireless/kdebluetooth
parentFixed gcc-4.1 compile issue, bug 140999. (diff)
downloadgentoo-2-5ea8cb827a93e46e9366bf49e557860c7f44356d.tar.gz
gentoo-2-5ea8cb827a93e46e9366bf49e557860c7f44356d.tar.bz2
gentoo-2-5ea8cb827a93e46e9366bf49e557860c7f44356d.zip
Improved localization support.
(Portage version: 2.1.2_pre3-r2)
Diffstat (limited to 'net-wireless/kdebluetooth')
-rw-r--r--net-wireless/kdebluetooth/ChangeLog8
-rw-r--r--net-wireless/kdebluetooth/files/digest-kdebluetooth-1.0_beta2-r13
-rw-r--r--net-wireless/kdebluetooth/kdebluetooth-1.0_beta2-r1.ebuild66
3 files changed, 76 insertions, 1 deletions
diff --git a/net-wireless/kdebluetooth/ChangeLog b/net-wireless/kdebluetooth/ChangeLog
index 40a4bfb5c203..17de97ab8182 100644
--- a/net-wireless/kdebluetooth/ChangeLog
+++ b/net-wireless/kdebluetooth/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/kdebluetooth
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/kdebluetooth/ChangeLog,v 1.52 2006/10/16 14:06:41 deathwing00 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kdebluetooth/ChangeLog,v 1.53 2006/10/16 15:02:03 deathwing00 Exp $
+
+*kdebluetooth-1.0_beta2-r1 (16 Oct 2006)
+
+ 16 Oct 2006; Ioannis Aslanidis <deathwing00@gentoo.org>
+ +kdebluetooth-1.0_beta2-r1.ebuild:
+ Added localization support so that it does not install unwanted language files.
*kdebluetooth-1.0_beta2 (16 Oct 2006)
diff --git a/net-wireless/kdebluetooth/files/digest-kdebluetooth-1.0_beta2-r1 b/net-wireless/kdebluetooth/files/digest-kdebluetooth-1.0_beta2-r1
new file mode 100644
index 000000000000..d5e6b2783336
--- /dev/null
+++ b/net-wireless/kdebluetooth/files/digest-kdebluetooth-1.0_beta2-r1
@@ -0,0 +1,3 @@
+MD5 3c9b2c4800d8ef0b92dcc481fd9c62c9 kdebluetooth-1.0_beta2.tar.bz2 1228026
+RMD160 52d54f49a1eb5c89b2a5ad9550dc6b85d50b62e9 kdebluetooth-1.0_beta2.tar.bz2 1228026
+SHA256 9d2637a1e9bb220f048ce62014516418163d2bf92c29835a941eb962154e41b7 kdebluetooth-1.0_beta2.tar.bz2 1228026
diff --git a/net-wireless/kdebluetooth/kdebluetooth-1.0_beta2-r1.ebuild b/net-wireless/kdebluetooth/kdebluetooth-1.0_beta2-r1.ebuild
new file mode 100644
index 000000000000..6470800af68b
--- /dev/null
+++ b/net-wireless/kdebluetooth/kdebluetooth-1.0_beta2-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kdebluetooth/kdebluetooth-1.0_beta2-r1.ebuild,v 1.1 2006/10/16 15:02:03 deathwing00 Exp $
+
+inherit kde autotools
+
+MY_PV=${PV}
+MY_P=${PN}-${MY_PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="KDE Bluetooth Framework"
+HOMEPAGE="http://bluetooth.kmobiletools.org/"
+SRC_URI="mirror://sourceforge/kde-bluetooth/${MY_P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="xmms irmc"
+
+DEPEND=">=dev-libs/openobex-1.1
+ >=net-wireless/bluez-libs-2.15
+ >=media-libs/libvorbis-1.0
+ xmms? ( >=media-sound/xmms-1.2.10 )
+ irmc? ( || ( >=kde-base/kitchensync-3.4_beta1 >=kde-base/kdepim-3.4_beta1 ) )"
+
+RDEPEND="${DEPEND}
+ || ( ( kde-base/kdialog kde-base/konqueror ) kde-base/kdebase )
+ net-wireless/bluez-utils"
+
+for X in ${LANGS} ; do
+ IUSE="${IUSE} linguas_${X}"
+done
+
+need-kde 3
+
+LANGS="bg br ca cs cy da de el en_GB es et fi fr ga gl hu is it ja ka lt
+mt nb nl nn pa pl pt pt_BR ro ru rw sk sr sr@Latn sv ta tr uk zh_CN"
+
+src_unpack() {
+ kde_src_unpack
+ cd "${WORKDIR}/${P}/po"
+ for X in ${LANGS} ; do
+ use linguas_${X} || rm -rf "${X}"
+ done
+ rm -f "${S}/configure"
+ #eaclocal && eautoconf || die "autotools failed"
+}
+
+src_compile() {
+ # Change defaults to match our bluez-utils setup
+ sed -i -e 's,/etc/init\.d/bluez-utils,/etc/init\.d/bluetooth,' \
+ "${S}/kdebluetooth/kbluetoothd/kcm_btpaired/pairedtab.cpp" || die
+ local myconf="$(use_with xmms) $(use_enable irmc irmcsynckonnector)"
+ kde_src_compile
+}
+
+pkg_postinst() {
+ einfo 'This version of kde-bluetooth provides a replacement for the'
+ einfo 'standard bluepin program "kbluepin". If you want to use this version,'
+ einfo 'you have to edit "/etc/bluetooth/hcid.conf" and change the line'
+ einfo '"pin_helper oldbluepin;" to "pin_helper /usr/lib/kdebluetooth/kbluepin;".'
+ einfo 'Then restart hcid to make the change take effect.'
+ einfo ''
+ einfo 'The bemused server (avaible with the "xmms" USE flag enabled) only works with'
+ einfo 'Symbian OS phones'
+}