Files
        @ 7a1fc4e9f4f4
    
        
              Branch filter: 
        
    Location: portage-overlay.git/app-misc/gnome15/gnome15-0.9.6-r6.ebuild
        
            
            7a1fc4e9f4f4
            5.7 KiB
            application/vnd.gentoo.ebuild
        
        
    
    ebuild for last commit
    | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
inherit autotools eutils linux-info python-single-r1
DESCRIPTION="Gnome tools for the Logitech G Series Keyboards And Z-10 Speakers"
HOMEPAGE="http://www.russo79.com/gnome15"
SRC_URI="https://projects.russo79.com/attachments/download/140/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="alsa ayatana debug cairo evo g15 g19 g930 gnome google gstreamer
	  imap lg4l-module lm_sensors pop pulseaudio
	  rss screensaver systray telepathy themes title voip weather
	  xrandr yahoo"
### in development:
#networkmanager nexuiz webkit
OBSOLETE_PACKAGES="\
	!dev-python/pylibg19
	!app-misc/gnome15-core
	!app-misc/gnome15-iconpack
	!app-misc/gnome15-impulse15
	!app-misc/gnome15-plugins"
RDEPEND="${OBSOLETE_PACKAGES} \
			   dev-python/pygtk
			   dev-python/gconf-python
			   dev-python/dbus-python
			   dev-python/libgtop-python
			   dev-python/lxml
			   virtual/python-imaging
			   dev-python/python-xlib
			   dev-python/librsvg-python
			   dev-python/pyinotify
			   dev-python/libwnck-python
			   dev-python/pyusb
			   dev-python/pyxdg
			   dev-python/python-uinput
			   dev-python/python-virtkey
			   dev-python/pyinputevent
			   virtual/udev
			   dev-python/keyring
			   x11-themes/gnome-icon-theme
alsa?        ( dev-python/pyalsa
			   dev-python/pyalsaaudio )
cairo?       ( x11-misc/cairo-clock
			   dev-python/pycairo
			   dev-python/cairoplot-gnome15 )
evo?         ( dev-python/evolution-python
			   dev-python/vobject )
gnome?       ( gnome-base/libgnomeui
			   dev-python/gnome-applets-python
			   dev-python/gnome-desktop-python
			   dev-python/gnome-keyring-python
			   dev-python/pygobject )
g15?         ( !app-misc/g15daemon
			   dev-libs/libg15-gnome15 )
google?      ( dev-python/gdata )
gstreamer?   ( dev-python/gst-python )
lg4l-module? ( sys-kernel/lg4l-kernel-module )
lm_sensors?  ( dev-python/PySensors )
pulseaudio?  ( sci-libs/fftw:3.0
			   media-sound/pulseaudio )
rss?         ( dev-python/feedparser )
systray?     ( dev-python/pygobject )
telepathy?   ( dev-python/telepathy-python )
title?       ( dev-python/setproctitle )
"
DEPEND="${RDEPEND}"
### in development:
#nexuiz?      ( games-fps/nexuiz )
pkg_setup() {
	ERROR_INPUT_UINPUT="INPUT_UINPUT is required for g15-desktop-service to work"
	CONFIG_CHECK="~INPUT_UINPUT"
	check_extra_config
	python-single-r1_pkg_setup
}
src_prepare() {
	epatch "${FILESDIR}/${P}-use_pillow.patch"
	eautoconf
}
src_configure() {
	local DRIVERS
	local PLUGINS
	local THEMES
### if you have suggestions or problems using Gnome15 via these ebuilds,
### post them at https://github.com/CMoH/gnome15-overlay
	DRIVERS="\
		$(use_enable lg4l-module driver-kernel) \
		$(use_enable g15         driver-g15direct) \
		$(use_enable g19         driver-g19direct) \
		$(use_enable g930        driver-g930) \
	"
	PLUGINS="\
		--enable-plugin-background \
		--enable-plugin-clock \
		--enable-plugin-fx \
		--enable-plugin-lcdshot \
		--enable-plugin-macro_recorder \
		--enable-plugin-macros \
		--enable-plugin-menu \
		--enable-plugin-mounts \
		--enable-plugin-mpris \
		--enable-plugin-panel \
		--enable-plugin-processes \
		--enable-plugin-profiles \
		--enable-plugin-stopwatch \
		--enable-plugin-sysmon \
		--enable-plugin-trafficstats \
		--enable-plugin-tails \
		--enable-plugin-tweak \
		$(use_enable alsa           plugin-volume) \
		$(use_enable ayatana        plugin-indicator-messages) \
		$(use_enable debug          plugin-debug) \
		$(use_enable cairo          plugin-cairo-clock) \
		$(use_enable evo            plugin-cal-evolution) \
		$(use_enable gstreamer      plugin-mediaplayer) \
		$(use_enable g15            plugin-g15daemon-server) \
		$(use_enable google         plugin-cal-google) \
		$(use_enable gstreamer      plugin-mediaplayer) \
		$(use_enable lm_sensors     plugin-sense) \
		$(use_enable pulseaudio     plugin-impulse15) \
		$(use_enable rss            plugin-rss) \
		$(use_enable screensaver    plugin-screensaver) \
		$(use_enable telepathy      plugin-im) \
		$(use_enable voip           plugin-voip) \
		$(use_enable weather        plugin-weather) \
		$(use_enable xrandr         plugin-display) \
	"
### in development
		# --enable-plugin-backlight \
		# --enable-plugin-things \
		# $(use_enable networkmanager plugin-nm) \
		# $(use_enable webkit         plugin-webkit-browser) \
	# calendar plugins
	if use evo || use google ; then
		PLUGINS="${PLUGINS} --enable-plugin-cal"
	fi
	if use cairo && use google ; then
		PLUGINS="${PLUGINS} --enable-plugin-google-analytics"
	fi
	if use pop || use imap ; then
		PLUGINS="${PLUGINS} --enable-plugin-lcdbiff"
	fi
	if use voip ; then
		PLUGINS="${PLUGINS} --enable-plugin-voip-teamspeak3"
	fi
	if use weather ; then
		PLUGINS="${PLUGINS} --enable-plugin-weather-noaa"
		if use yahoo ; then
			PLUGINS="${PLUGINS} --enable-plugin-weather-yahoo"
		fi
	fi
#### not sure how to expose these plugins:
# --enable-plugin-lens    Enable Unity Lens plugin.
# --enable-plugin-notify-lcd
#                         Enable Notify LCD plugin. Takes over as notification
#                         daemon and displays messages on LCD, blinks keyboard
# --enable-plugin-notify-lcd2
#                         Enable Notify LCD plugin. Takes over as notification
#                         daemon and displays messages on LCD, blinks keyboard
# --enable-plugin-ppastats
#                         Enable PPAStats plugin.
###########################################
	THEMES="\
		--enable-icons-mono \
		$(use_enable themes  icons-awoken) \
	"
	# finally, the config
	GST_REGISTRY="${T}/gstreamer-registry" \
		econf \
		$(use_enable ayatana indicator) \
		$(use_enable systray systemtray) \
		$(use_enable gnome   gnome-shell-extension) \
		${DRIVERS} \
		${PLUGINS} \
		${THEMES}
}
src_compile() {
	emake
	python_fix_shebang "${S}/src/scripts"
}
 |