mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-wireless/blueman: Drop old, bug #564264
Package-Manager: portage-2.2.23
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST blueman-1.23.tar.gz 1223094 SHA256 50b261bcdc2e99e176c7c194825da1259500aaacaccb92714d97af0209a4f011 SHA512 529a43dace73bf362baac69404a9e87d14f5bcb7b07b18194434c7a6c1dbc22f8fecdb4923c92a77b65656405a492b9e147e77cb7a161df4a93e8b78a003eba7 WHIRLPOOL 4070b4d86cbe743278730e4ee3022bcfdea590b5b76e545cc67912a3498de993ed0c62cb67ac2cd3ad3b8e3c17c5d5a8b1f8fa6e214234a64a784146c6d6d542
|
||||
DIST blueman-2.0.tar.xz 1941332 SHA256 81a5ca95124f12bfb62d2d2d0d265af70cdae1d43b0c6e4fc6d2bad8f82958f1 SHA512 44d3967d031f7482e7700674970eff08fee53d8cbeb96e46b2f97e2a2fb6b5790f663ed73129eab241545ebaa6c5748dc6cf6b90a2c4795b27e90b5399d71f80 WHIRLPOOL 394bac3e0b457fdbb79c69fe9181abafde3f9b1138ff71c4dc23bc78424b76284e3ad9cf02dc168848fa461541f86fa2bba5aee0f014e460f0852e1bfa163dae
|
||||
|
||||
@@ -1,100 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2:2.7"
|
||||
|
||||
inherit eutils python gnome2-utils
|
||||
|
||||
DESCRIPTION="GTK+ Bluetooth Manager, designed to be simple and intuitive for everyday bluetooth tasks"
|
||||
HOMEPAGE="https://github.com/blueman-project/blueman"
|
||||
SRC_URI="http://download.tuxfamily.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="gconf sendto network nls policykit pulseaudio"
|
||||
|
||||
CDEPEND="dev-libs/glib:2
|
||||
>=x11-libs/gtk+-2.12:2
|
||||
x11-libs/startup-notification
|
||||
dev-python/pygobject:2
|
||||
<net-wireless/bluez-5
|
||||
>=net-wireless/bluez-4.21"
|
||||
DEPEND="${CDEPEND}
|
||||
nls? ( dev-util/intltool sys-devel/gettext )
|
||||
virtual/pkgconfig
|
||||
>=dev-python/pyrex-0.9.8"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=app-mobilephone/obex-data-server-0.4.4
|
||||
sys-apps/dbus
|
||||
dev-python/pygtk
|
||||
dev-python/notify-python
|
||||
dev-python/dbus-python
|
||||
x11-themes/hicolor-icon-theme
|
||||
gconf? ( dev-python/gconf-python )
|
||||
sendto? ( gnome-base/nautilus )
|
||||
network? ( || ( net-dns/dnsmasq
|
||||
net-misc/dhcp
|
||||
>=net-misc/networkmanager-0.8 ) )
|
||||
policykit? ( sys-auth/polkit )
|
||||
pulseaudio? ( media-sound/pulseaudio )"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2.7
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# disable pyc compiling
|
||||
ln -sf $(type -P true) py-compile
|
||||
|
||||
sed -i \
|
||||
-e '/^Encoding/d' \
|
||||
data/blueman-manager.desktop.in || die "sed failed"
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}/${P}-plugins-conf-file.patch" \
|
||||
"${FILESDIR}/${P}-fix-broken-status-icon.patch" \
|
||||
"${FILESDIR}/${P}-set-codeset-for-gettext-to-UTF-8-always.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
$(use_enable policykit polkit) \
|
||||
$(use_enable sendto) \
|
||||
--disable-hal \
|
||||
$(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
python_convert_shebangs 2.7 "${D}"/usr/bin/blueman-* "${D}/usr/libexec/blueman-mechanism"
|
||||
|
||||
rm "${D}"/$(python_get_sitedir)/*.la
|
||||
use sendto && rm "${D}"/usr/lib*/nautilus-sendto/plugins/*.la
|
||||
|
||||
use gconf || rm "${D}"/$(python_get_sitedir)/${PN}/plugins/config/Gconf.py
|
||||
use policykit || rm -rf "${D}"/usr/share/polkit-1
|
||||
use pulseaudio || rm "${D}"/$(python_get_sitedir)/${PN}/{main/Pulse*.py,plugins/applet/Pulse*.py}
|
||||
|
||||
python_need_rebuild
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize ${PN}
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup ${PN}
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
@@ -1,116 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit eutils gnome2-utils linux-info python-single-r1
|
||||
|
||||
DESCRIPTION="GTK+ Bluetooth Manager, designed to be simple and intuitive for everyday bluetooth tasks"
|
||||
HOMEPAGE="https://github.com/blueman-project/blueman"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit autotools git-r3
|
||||
EGIT_REPO_URI="https://github.com/blueman-project/blueman.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/blueman-project/${PN}/releases/download/${PV}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="appindicator network nls policykit pulseaudio thunar"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-python/pygobject:3
|
||||
>=net-wireless/bluez-4.61:=
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
virtual/pkgconfig
|
||||
nls? ( dev-util/intltool sys-devel/gettext )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
sys-apps/dbus
|
||||
x11-libs/gtk+:3[introspection]
|
||||
x11-libs/libnotify[introspection]
|
||||
|| (
|
||||
x11-themes/faenza-icon-theme
|
||||
x11-themes/gnome-icon-theme
|
||||
x11-themes/mate-icon-theme
|
||||
)
|
||||
appindicator? ( dev-libs/libappindicator:3[introspection] )
|
||||
network? (
|
||||
net-dns/avahi[autoipd]
|
||||
net-firewall/iptables
|
||||
sys-apps/net-tools
|
||||
|| (
|
||||
net-dns/dnsmasq
|
||||
net-misc/dhcp
|
||||
>=net-misc/networkmanager-0.8
|
||||
)
|
||||
)
|
||||
policykit? ( sys-auth/polkit )
|
||||
pulseaudio? ( media-sound/pulseaudio[bluetooth] )
|
||||
thunar? ( xfce-base/thunar )
|
||||
!net-wireless/gnome-bluetooth
|
||||
"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
pkg_pretend() {
|
||||
if use network; then
|
||||
local CONFIG_CHECK="~BRIDGE ~IP_NF_IPTABLES
|
||||
~IP_NF_NAT ~IP_NF_TARGET_MASQUERADE"
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
pkg_pretend
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${P}-set-codeset-for-gettext-to-UTF-8-always.patch"
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--disable-runtime-deps-check \
|
||||
--disable-static \
|
||||
$(use_enable policykit polkit) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable thunar thunar-sendto)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
python_fix_shebang "${D}"
|
||||
rm "${D}"/$(python_get_sitedir)/*.la || die
|
||||
|
||||
use appindicator || { rm "${D}"/$(python_get_sitedir)/${PN}/plugins/applet/AppIndicator.py* || die; }
|
||||
use pulseaudio || { rm "${D}"/$(python_get_sitedir)/${PN}/{main/Pulse*.py*,plugins/manager/Pulse*.py*} || die; }
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
@@ -10,9 +10,7 @@
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="appindicator">Enable usage of <pkg>dev-libs/libappindicator</pkg> to export menu options</flag>
|
||||
<flag name="gconf">Enable the GConf configuration backend</flag>
|
||||
<flag name="network">Add functionality to setup (host) PAN connections using either <pkg>net-dns/dnsmasq</pkg> or <pkg>net-misc/dhcp</pkg></flag>
|
||||
<flag name="sendto">Install the sendto-plugin for <pkg>gnome-base/nautilus</pkg></flag>
|
||||
<flag name="thunar">Install the sendto-plugin for <pkg>xfce-base/thunar</pkg></flag>
|
||||
</use>
|
||||
<upstream>
|
||||
|
||||
Reference in New Issue
Block a user