summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-pda/barry/ChangeLog11
-rw-r--r--app-pda/barry/barry-0.17.1.ebuild107
-rw-r--r--app-pda/barry/metadata.xml24
3 files changed, 131 insertions, 11 deletions
diff --git a/app-pda/barry/ChangeLog b/app-pda/barry/ChangeLog
index e506ccdbcf38..95e5843020eb 100644
--- a/app-pda/barry/ChangeLog
+++ b/app-pda/barry/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for app-pda/barry
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/barry/ChangeLog,v 1.19 2011/03/29 06:13:02 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/barry/ChangeLog,v 1.20 2011/04/13 07:10:36 dirtyepic Exp $
+
+*barry-0.17.1 (13 Apr 2011)
+
+ 13 Apr 2011; Ryan Hill <dirtyepic@gentoo.org> +barry-0.17.1.ebuild,
+ metadata.xml:
+ Version bump. Major ebuild rewrite fixing many issues. Closes bug #360101
+ (install udev rules into /lib, not /etc) and bug #360103 (stop using plugdev
+ group). Add USE="opensync" for barry-sync plugin, install bash-completion and
+ pppd scripts.
29 Mar 2011; Nirbheek Chauhan <nirbheek@gentoo.org> barry-0.16.ebuild:
Fix slot-dep on gnome-mm libs
diff --git a/app-pda/barry/barry-0.17.1.ebuild b/app-pda/barry/barry-0.17.1.ebuild
new file mode 100644
index 000000000000..1492fa66460d
--- /dev/null
+++ b/app-pda/barry/barry-0.17.1.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/barry/barry-0.17.1.ebuild,v 1.1 2011/04/13 07:10:36 dirtyepic Exp $
+
+EAPI="4"
+
+inherit autotools-utils bash-completion eutils
+
+DESCRIPTION="Sync, backup, program management, and charging for BlackBerry devices"
+HOMEPAGE="http://www.netdirect.ca/software/packages/barry/"
+SRC_URI="mirror://sourceforge/barry/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost doc gui opensync nls static-libs"
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/libusb:0
+ dev-libs/openssl
+ sys-libs/zlib
+ >=dev-cpp/libxmlpp-2.6
+ >=dev-libs/libtar-1.2.11-r2
+ boost? ( >=dev-libs/boost-1.33 )
+ gui? ( dev-cpp/glibmm:2
+ dev-cpp/gtkmm:2.4
+ dev-cpp/libglademm:2.4 )
+ opensync? ( ~app-pda/libopensync-0.22 )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.9.0
+ doc? ( >=app-doc/doxygen-1.5.6 )
+ nls? ( >=sys-devel/gettext-0.17 )"
+
+DOCS=(AUTHORS DEPUTY ChangeLog NEWS README TODO)
+
+src_configure() {
+ myeconfargs=(
+ $(use_enable boost)
+ $(use_enable gui)
+ $(use_enable nls)
+ $(use_enable opensync opensync-plugin)
+ --disable-rpath
+ )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile
+ if use doc ; then
+ cd "${S}"
+ doxygen || die
+ fi
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ # docs
+ rm -rf "${S}"/doc/www/*.php
+ rm -rf "${S}"/doc/www/*.sh
+ find "${S}"/doc/www/doxygen/html -name "*.map" -size 0 -exec rm -f {} +
+
+ if use doc; then
+ dohtml "${S}"/doc/www/doxygen/html/*
+ fi
+
+ rm -rf "${S}"/doc/www
+ dodoc -r "${S}"/doc/*
+
+ # udev rules
+ insinto /lib/udev/rules.d
+ doins "${S}"/udev/10-blackberry.rules
+# doins "${S}"/udev/69-blackberry.rules
+ sed -i -e 's:plugdev:usb:g' "${S}"/udev/99-blackberry-perms.rules || die
+ doins "${S}"/udev/99-blackberry-perms.rules
+
+ # blacklist for BERRY_CHARGE kernel module
+ insinto /etc/modprobe.d
+ doins "${S}"/modprobe/blacklist-berry_charge.conf
+
+ # pppd options files
+ docinto "${DOCDIR}"/ppp/
+ dodoc "${S}"/ppp/*
+
+ BASHCOMPFILES="${S}/bash/btool ${S}/bash/bjavaloader"
+ dobashcompletion
+
+ if use gui; then
+ domenu "${S}"/menu/barrybackup.desktop || die
+ doicon "${S}"/logo/barry_logo_icon.png || die
+ fi
+}
+
+pkg_postinst() {
+ einfo
+ elog "Barry requires you to be a member of the \"usb\" group."
+ einfo
+ bash-completion_pkg_postinst
+ ewarn
+ ewarn "Barry and the in-kernel module 'BERRY_CHARGE' are incompatible."
+ ewarn
+ ewarn "Kernel-based USB suspending can discharge your blackberry."
+ ewarn "Use at least kernel 2.6.22 and/or disable CONFIG_USB_SUSPEND."
+ ewarn
+}
diff --git a/app-pda/barry/metadata.xml b/app-pda/barry/metadata.xml
index 9adb88570783..cc518f83b800 100644
--- a/app-pda/barry/metadata.xml
+++ b/app-pda/barry/metadata.xml
@@ -1,14 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>pda</herd>
-<longdescription lang="en">
- Barry is an Open Source Linux application that will
- allow synchronization, backup, restore, program
- management, and charging for BlackBerry devices.
-</longdescription>
-<use>
- <flag name='boost'>Enable boost support</flag>
- <flag name='gui'>Gui backup tool support</flag>
-</use>
+ <maintainer>
+ <email>dirtyepic@gentoo.org</email>
+ <name>Ryan Hill</name>
+ </maintainer>
+ <herd>pda</herd>
+ <longdescription lang="en">
+ Barry is a utility for synchronization, backup, restore,
+ program management, and charging of BlackBerry devices.
+ </longdescription>
+ <use>
+ <flag name='boost'>Enable boost support</flag>
+ <flag name='gui'>Install the GUI backup tool</flag>
+ <flag name='opensync'>Install the barry-sync plugin for OpenSync 0.22</flag>
+ </use>
</pkgmetadata>