mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-wireless/blueman: remove broken 1.98 (missing patch and obsolete)
Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST blueman-1.23.tar.gz 1223094 SHA256 50b261bcdc2e99e176c7c194825da1259500aaacaccb92714d97af0209a4f011 SHA512 529a43dace73bf362baac69404a9e87d14f5bcb7b07b18194434c7a6c1dbc22f8fecdb4923c92a77b65656405a492b9e147e77cb7a161df4a93e8b78a003eba7 WHIRLPOOL 4070b4d86cbe743278730e4ee3022bcfdea590b5b76e545cc67912a3498de993ed0c62cb67ac2cd3ad3b8e3c17c5d5a8b1f8fa6e214234a64a784146c6d6d542
|
||||
DIST blueman-1.98_p20150105.tar.xz 1698524 SHA256 cb610b0c4799d87989a2f6147059fb850f71984909f761af875c3106f51d543a SHA512 c988ff6cf9769d7653be252bda59bb41388a4d41d7b1f5aa01df63278018fc637634ea96a08b183b78cb5b966c3d2dc189021f437eabf674e8f93812798d4a6b WHIRLPOOL 7070a1bff973fe682af3b0103c99424401e5c3c5bc5632aefbaa9b5c9835d3f001b0656a17893feaffdcc3bfe173aac0c17789b634f937c54906774c9acde22f
|
||||
DIST blueman-2.0.tar.xz 1941332 SHA256 81a5ca95124f12bfb62d2d2d0d265af70cdae1d43b0c6e4fc6d2bad8f82958f1 SHA512 44d3967d031f7482e7700674970eff08fee53d8cbeb96e46b2f97e2a2fb6b5790f663ed73129eab241545ebaa6c5748dc6cf6b90a2c4795b27e90b5399d71f80 WHIRLPOOL 394bac3e0b457fdbb79c69fe9181abafde3f9b1138ff71c4dc23bc78424b76284e3ad9cf02dc168848fa461541f86fa2bba5aee0f014e460f0852e1bfa163dae
|
||||
|
||||
@@ -1,101 +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 python-single-r1 gnome2-utils autotools
|
||||
|
||||
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 git-r3
|
||||
EGIT_REPO_URI="https://github.com/${PN}-project/${PN}.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
#SRC_URI="http://download.tuxfamily.org/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="gconf gnome network nls policykit pulseaudio thunar"
|
||||
|
||||
CDEPEND="dev-libs/glib:2=
|
||||
x11-libs/gtk+:3=
|
||||
x11-libs/startup-notification:=
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3
|
||||
>=net-wireless/bluez-4.61:=
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="${CDEPEND}
|
||||
nls? ( dev-util/intltool sys-devel/gettext )
|
||||
virtual/pkgconfig
|
||||
dev-python/cython[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=app-mobilephone/obex-data-server-0.4.4
|
||||
sys-apps/dbus
|
||||
x11-themes/hicolor-icon-theme
|
||||
gconf? ( dev-python/gconf-python[${PYTHON_USEDEP}] )
|
||||
gnome? ( gnome-base/nautilus )
|
||||
network? ( || ( net-dns/dnsmasq
|
||||
net-misc/dhcp
|
||||
>=net-misc/networkmanager-0.8 ) )
|
||||
policykit? ( sys-auth/polkit )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
!net-wireless/gnome-bluetooth
|
||||
x11-themes/gnome-icon-theme
|
||||
thunar? ( xfce-base/thunar )
|
||||
"
|
||||
# See bug 455320 and https://github.com/blueman-project/blueman/issues/112 for reason for gnome-icon-theme dep
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/^Encoding/d' \
|
||||
data/blueman-manager.desktop.in || die "sed failed"
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-9999-plugins-conf-file.patch" \
|
||||
"${FILESDIR}/${P}-set-codeset-for-gettext-to-UTF-8-always.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
$(use_enable policykit polkit) \
|
||||
$(use_enable gnome nautilus-sendto) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable thunar thunar-sendto)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
python_fix_shebang "${D}"
|
||||
|
||||
rm "${D}"/$(python_get_sitedir)/*.la || die
|
||||
use gnome && { rm "${D}"/usr/lib*/nautilus-sendto/plugins/*.la || die; }
|
||||
|
||||
# Note: Python 3 support would need __pycache__ file removal too
|
||||
use gconf || { rm "${D}"/$(python_get_sitedir)/${PN}/plugins/config/Gconf.py* || die; }
|
||||
use policykit || { rm -rf "${D}"/usr/share/polkit-1 || die; }
|
||||
use pulseaudio || { rm "${D}"/$(python_get_sitedir)/${PN}/{main/Pulse*.py*,plugins/manager/Pulse*.py*} || die; }
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
@@ -13,7 +13,6 @@
|
||||
<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="gnome">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