forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mate-base/mate-applets: Import 1.10.x from Project:MATE repo
Package-Manager: portage-2.2.26
- Loading branch information
1 parent
084246f
commit 55b1dac
Showing
2 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST mate-applets-1.10.4.tar.xz 6850348 SHA256 e713b4205a901048120d48578dc86e87d2f87a294484110a331acdf77f4f48c2 SHA512 4e1fd0523cb1f50bf056f6805b048137442360eb8ec8c05b02c3075e48acb79a5150056b1c815439659048958c11def8141fe3df917d5da8d608adfb6c330ee3 WHIRLPOOL ed0cfe389168f01b081852716a3df459bc6ee63de67cd802b56f42daf7a8447e5a524f5dfaf45cae8d7d553ee7bbf8ca3371bd77f174f27bb0b6d1377ad53298 | ||
DIST mate-applets-1.8.0.tar.xz 6911348 SHA256 e1798784cf2828803e8bae4660a7bcd4c5a44b510217a50c650cfcaacadf71c1 SHA512 d5d211377df4e7bb0135babee7f49fb1fdc894d3fee3a4a485efe0b47d392d0534a1aa978743730e927420f9607efb761b4d3e6814a76aa393aa892788055e35 WHIRLPOOL 69bc6167b2907463660e75fa9a69a97ee9f4d106c8ace983492c78631f603198f93396ed5d58abd87ffd123188503ddee222527aac28a998aa738b4aa76ad288 | ||
DIST mate-applets-1.8.1.tar.xz 6877876 SHA256 6f1a88453e526a7ee67e14fa4d6b3dc74fb954a1465c7cb3a76f205389a2df83 SHA512 054d74be78175a4b8d29f854d6ee9c4eaadca518c6382a58230b0131115aff30567c4005f8601c5c6fc629d8c2b46d2512c24cb235c35d921d6fcd97a7ef24d9 WHIRLPOOL c426ba49c5e52541ca55843422249c487da7a05a1cf06c54f3db601b548a231c629ebbed504e5ae3552705096ec3506e29c17e30530dafdffd2b654dd0732434 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI="5" | ||
|
||
GCONF_DEBUG="no" | ||
PYTHON_COMPAT=( python2_7 ) | ||
|
||
inherit eutils gnome2 python-single-r1 versionator | ||
|
||
MATE_BRANCH="$(get_version_component_range 1-2)" | ||
|
||
SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz" | ||
DESCRIPTION="Applets for the MATE Desktop and Panel" | ||
HOMEPAGE="http://mate-desktop.org" | ||
|
||
LICENSE="GPL-2 FDL-1.1 LGPL-2" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
|
||
IUSE="X ipv6 policykit +upower" | ||
REQUIRED_USE="${PYTHON_REQUIRED_USE}" | ||
|
||
RDEPEND="${PYTHON_DEPS} | ||
app-text/rarian:0 | ||
dev-libs/atk:0 | ||
>=dev-libs/dbus-glib-0.74:0 | ||
>=dev-libs/glib-2.36:2 | ||
>=dev-libs/libmateweather-1.10:0 | ||
>=dev-libs/libxml2-2.5:2 | ||
dev-python/pygobject:3 | ||
>=gnome-base/libgtop-2.11.92:2= | ||
>=mate-base/mate-desktop-1.10:0 | ||
>=mate-base/mate-panel-1.10:0 | ||
>=mate-base/mate-settings-daemon-1.10:0 | ||
>=sys-apps/dbus-1.1.2:0 | ||
sys-power/cpupower | ||
upower? ( || ( >=sys-power/upower-0.9.23 >=sys-power/upower-pm-utils-0.9.23 ) ) | ||
x11-libs/gdk-pixbuf:2 | ||
>=x11-libs/gtk+-2.24:2 | ||
x11-libs/gtksourceview:2.0 | ||
>=x11-libs/libnotify-0.7:0 | ||
x11-libs/libX11:0 | ||
>=x11-libs/libwnck-2.30:1 | ||
x11-libs/pango:0 | ||
>=x11-themes/mate-icon-theme-1.10:0 | ||
virtual/libintl:0 | ||
policykit? ( >=sys-auth/polkit-0.92:0 )" | ||
|
||
DEPEND="${RDEPEND} | ||
app-text/docbook-xml-dtd:4.3 | ||
>=app-text/scrollkeeper-dtd-1:1.0 | ||
app-text/yelp-tools:0 | ||
>=dev-util/intltool-0.35:* | ||
dev-libs/libxslt:0 | ||
>=mate-base/mate-common-1.10:0 | ||
sys-devel/gettext:* | ||
virtual/pkgconfig:*" | ||
|
||
src_configure() { | ||
gnome2_src_configure \ | ||
--libexecdir=/usr/libexec/mate-applets \ | ||
--with-cpufreq-lib=cpupower \ | ||
$(use_enable ipv6) \ | ||
$(use_enable policykit polkit) \ | ||
$(use_with upower) \ | ||
$(use_with X x) | ||
} | ||
|
||
src_test() { | ||
unset DBUS_SESSION_BUS_ADDRESS | ||
emake check | ||
} | ||
|
||
DOCS="AUTHORS ChangeLog NEWS README" | ||
|
||
src_install() { | ||
python_fix_shebang invest-applet | ||
gnome2_src_install | ||
|
||
local APPLETS="accessx-status battstat charpick command cpufreq drivemount | ||
geyes invest-applet mateweather multiload null_applet stickynotes | ||
timerapplet trashapplet" | ||
|
||
for applet in ${APPLETS}; do | ||
docinto ${applet} | ||
|
||
for d in AUTHORS ChangeLog NEWS README README.themes TODO; do | ||
[ -s ${applet}/${d} ] && dodoc ${applet}/${d} | ||
done | ||
done | ||
} |