diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-12-17 09:04:32 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-12-17 09:04:32 +0000 |
commit | 87bbed2e86cea11a5ceb2e348ab0e4b99d698962 (patch) | |
tree | 2e1bbaa05cf95e92c1311077a6320be7f3127076 /app-pda/barry | |
parent | Adding live ebuild for initial SELinux policy on openrc-specifics (diff) | |
download | gentoo-2-87bbed2e86cea11a5ceb2e348ab0e4b99d698962.tar.gz gentoo-2-87bbed2e86cea11a5ceb2e348ab0e4b99d698962.tar.bz2 gentoo-2-87bbed2e86cea11a5ceb2e348ab0e4b99d698962.zip |
Version bump wrt #442108 by "grey dot"
(Portage version: 2.2.0_alpha147/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'app-pda/barry')
-rw-r--r-- | app-pda/barry/ChangeLog | 8 | ||||
-rw-r--r-- | app-pda/barry/barry-0.18.3.ebuild | 111 | ||||
-rw-r--r-- | app-pda/barry/metadata.xml | 1 |
3 files changed, 119 insertions, 1 deletions
diff --git a/app-pda/barry/ChangeLog b/app-pda/barry/ChangeLog index 0ac372d1332e..a1fd307208a3 100644 --- a/app-pda/barry/ChangeLog +++ b/app-pda/barry/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-pda/barry # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/barry/ChangeLog,v 1.28 2012/12/11 15:54:56 axs Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/barry/ChangeLog,v 1.29 2012/12/17 09:04:32 ssuominen Exp $ + +*barry-0.18.3 (17 Dec 2012) + + 17 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> +barry-0.18.3.ebuild, + metadata.xml: + Version bump wrt #442108 by "grey dot" 11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> barry-0.17.1-r1.ebuild: changed udev rules installations to use udev.eclass (a cleaner way to diff --git a/app-pda/barry/barry-0.18.3.ebuild b/app-pda/barry/barry-0.18.3.ebuild new file mode 100644 index 000000000000..875646a90f75 --- /dev/null +++ b/app-pda/barry/barry-0.18.3.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/barry/barry-0.18.3.ebuild,v 1.1 2012/12/17 09:04:32 ssuominen Exp $ + +EAPI=5 +inherit bash-completion-r1 eutils gnome2-utils udev + +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="CCPL-Attribution-ShareAlike-3.0 GPL-2" #See logo/README for CCPL +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="boost desktop doc gui opensync nls static-libs" + +RDEPEND=">=dev-cpp/libxmlpp-2.6 + >=dev-libs/glib-2 + >=dev-libs/libtar-1.2.11-r2 + >=media-libs/libsdl-1.2 + >=sys-fs/fuse-2.5 + sys-libs/zlib + virtual/libusb:1 + boost? ( >=dev-libs/boost-1.33 ) + desktop? ( >=net-libs/libgcal-0.9.6 ) + gui? ( + dev-cpp/glibmm:2 + dev-cpp/gtkmm:2.4 + dev-cpp/libglademm:2.4 + ) + opensync? ( ~app-pda/libopensync-0.22 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( >=app-doc/doxygen-1.5.6 ) + nls? ( >=sys-devel/gettext-0.18.1.1 )" + +DOCS=( AUTHORS ChangeLog KnownBugs NEWS README TODO ) + +src_prepare() { + sed -i -e 's:plugdev:usb:g' "${S}"/udev/99-blackberry-perms.rules || die + sed -i -e '/Icon/s:=.*:=barry:' "${S}"/menu/*.desktop || die +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable boost) \ + $(use_enable gui) \ + $(use_enable nls) \ + $(use_enable opensync opensync-plugin) \ + --disable-rpath +} + +src_compile() { + default + + if use doc; then + cd "${S}" + doxygen || die + fi +} + +src_install() { + default + + # docs + rm -rf "${S}"/doc/www/*.{php,sh} + find "${S}"/doc/www/doxygen/html -name "*.map" -size 0 -exec rm -f {} + + use doc && dohtml "${S}"/doc/www/doxygen/html/* + rm -rf "${S}"/doc/www + dodoc -r "${S}"/doc/* + + # Skipping different (old Fedora) rules 69-blackberry.rules in purpose + udev_dorules "${S}"/udev/10-blackberry.rules "${S}"/udev/99-blackberry-perms.rules + + # blacklist for BERRY_CHARGE kernel module + insinto /lib/modprobe.d + doins "${S}"/modprobe/blacklist-berry_charge.conf + + # pppd options files + docinto ppp + dodoc "${S}"/ppp/* + + dobashcomp "${S}"/bash/btool "${S}"/bash/bjavaloader + + newicon -s scalable "${S}"/logo/${PN}_logo_icon.svg ${PN}.svg + use desktop && domenu "${S}"/menu/barrydesktop.desktop + use gui && domenu "${S}"/menu/barrybackup.desktop + + prune_libtool_files +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + + elog "Barry requires you to be a member of the \"usb\" group." + 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 +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/app-pda/barry/metadata.xml b/app-pda/barry/metadata.xml index cc518f83b800..66ddce891b74 100644 --- a/app-pda/barry/metadata.xml +++ b/app-pda/barry/metadata.xml @@ -12,6 +12,7 @@ </longdescription> <use> <flag name='boost'>Enable boost support</flag> + <flag name='desktop'>Install the GUI desktop control panel</flag> <flag name='gui'>Install the GUI backup tool</flag> <flag name='opensync'>Install the barry-sync plugin for OpenSync 0.22</flag> </use> |