initial commit take from the AUR mirror

This commit is contained in:
Philipp Häfelfinger 2016-06-23 07:00:00 +02:00
parent 96e50f93d1
commit b793cf7c88
11 changed files with 1563 additions and 0 deletions

View File

@ -0,0 +1,35 @@
# Maintainer: Nuno Araujo <nuno.araujo@russo79.com>
pkgname=gnome15-gnome-plugins
pkgver=0.0.6
pkgrel=1
pkgdesc="Gnome related plugins for gnome15"
arch=(any)
url="http://www.gnome15.org/"
license=('GPL')
depends=(python2 gnome15 python-evolution python-vobject python-gnomekeyring)
optdepends=('pyxdg: for "Indicator Me" plugin'
'indicator-me: for "Indicator Me" plugin'
'indicator-messages: for "Indicator Messages" plugin')
source=(http://www.gnome15.org/downloads/Gnome15/Optional/${pkgname}-${pkgver}.tar.gz)
md5sums=('e0aac7b1137daf7e54871667cbd1f05e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# python2 fix
for file in $(find . -type f -name '*' -print); do
sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
done
./configure --prefix=/usr PYTHON=python2 PYTHON_VERSION=2
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" install
}
# vim:set ts=2 sw=2 et:

View File

@ -0,0 +1,26 @@
# Maintainer: Nuno Araujo <nuno.araujo@russo79.com>
pkgname=gnome15-gnome-shell
pkgver=0.0.3
pkgrel=1
pkgdesc="Gnome Shell plugin for Gnome15"
arch=(any)
url="http://www.russo79.com/gnome15"
license=('GPL')
depends=('gnome15' 'gnome-shell')
makedepends=('binutils')
install=$pkgname.install
source=("https://projects.russo79.com/attachments/download/110/${pkgname}-${pkgver}.tar.gz")
md5sums=('7aaace30a54dfe392c067d9eb37aa082')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make install DESTDIR=${pkgdir}
}
# vim:set ts=2 sw=2 et:

View File

@ -0,0 +1,13 @@
post_install() {
gtk-update-icon-cache -q -f /usr/share/icons/gnome
echo " >> Do not forget to enable the Logitech Keyboard gnome-shell extension"
}
post_upgrade() {
gtk-update-icon-cache -q -f /usr/share/icons/gnome
}
post_remove() {
gtk-update-icon-cache -q -f /usr/share/icons/gnome
}

View File

@ -0,0 +1,24 @@
# Maintainer: Nuno Araujo <nuno.araujo at russo79.com>
pkgname=gnome15-impulse15
pkgver=0.0.13
pkgrel=1
pkgdesc="Impulse plugin for gnome15"
arch=(any)
url="http://www.gnome15.org/"
license=('GPL')
depends=(gnome15 fftw libpulse)
source=(http://www.gnome15.org/downloads/Gnome15/Optional/$pkgname-$pkgver.tar.gz)
md5sums=('6149240e431505ff3f67759703030aac')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr PYTHON=python2 PYTHON_VERSION=2
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:

View File

@ -0,0 +1,39 @@
# Maintainer: Nuno Araujo <nuno.araujo at russo79.com>
pkgname=gnome15-panel-applet
pkgver=0.0.2
pkgrel=1
pkgdesc="Panel applet for gnome15"
arch=(any)
url="http://www.gnome15.org/"
license=('GPL')
depends=(gnome15 python-gnomeapplet)
source=(http://www.gnome15.org/downloads/Gnome15/Desktop/$pkgname-$pkgver.tar.gz
python2.patch
)
md5sums=('626eb957a0f6722a899d37297ec24f91'
'5a86cbe7ae05776246f26b77b18aa327')
build() {
cd "$srcdir/$pkgname-$pkgver"
# python2 fix
for file in $(find . -type f -name '*' -print); do
sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
done
patch -p1 -i ../python2.patch
export PYTHON_VERSION=2
export PYTHON=python2
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:

View File

@ -0,0 +1,11 @@
--- gnome15-panel-applet-0.0.1_orig/g15-applet 2011-03-12 22:18:30.836666681 +0100
+++ gnome15-panel-applet-0.0.1/g15-applet 2011-03-12 22:21:52.263333347 +0100
@@ -42,7 +42,7 @@
loop = gobject.MainLoop()
# Allow running from local path
-path = os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), "..", "gnome15", "src", "main", "python")
+path = os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), "..", "gnome15", "src", "main", "python2")
if os.path.exists(path):
sys.path.insert(0, path)

View File

@ -0,0 +1,27 @@
# Maintainer: Nuno Araujo <nuno.araujo at russo79.com>
pkgname=gnome15-plugin-impulse15
_pkgname=gnome15-impulse15
pkgver=0.0.15
pkgrel=1
pkgdesc="Gnome15 Impulse plugin"
arch=('i686' 'x86_64')
url="http://www.russo79.com/gnome15"
license=('GPL')
depends=('gnome15' 'fftw' 'libpulse')
replaces=('gnome15-impulse15')
groups=('gnome15-plugins')
source=("https://projects.russo79.com/attachments/download/123/${_pkgname}-${pkgver}.tar.gz")
md5sums=('2496bd3411a05a57f09159c72d8e9128')
build() {
cd "$srcdir/$_pkgname-$pkgver"
./configure --prefix=/usr PYTHON=python2 PYTHON_VERSION=2
make
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:

459
gnome15-plugins/PKGBUILD Normal file
View File

@ -0,0 +1,459 @@
# Maintainer: Nuno Araujo <nuno.araujo@russo79.com>
pkgname=gnome15-plugins
true && pkgname=('gnome15-plugin-background'
'gnome15-plugin-cairo-clock'
'gnome15-plugin-clock'
'gnome15-plugin-fx'
'gnome15-plugin-g15daemon-server'
'gnome15-plugin-im'
'gnome15-plugin-macro-recorder'
'gnome15-plugin-macros'
'gnome15-plugin-profiles'
'gnome15-plugin-menu'
'gnome15-plugin-mounts'
'gnome15-plugin-mpris'
'gnome15-plugin-notify-lcd'
'gnome15-plugin-panel'
'gnome15-plugin-screensaver'
'gnome15-plugin-stopwatch'
'gnome15-plugin-mediaplayer'
'gnome15-plugin-weather'
'gnome15-plugin-weather-noaa'
'gnome15-plugin-weather-yahoo'
'gnome15-plugin-volume'
'gnome15-plugin-rss'
'gnome15-plugin-sysmon'
'gnome15-plugin-processes'
'gnome15-plugin-debug'
'gnome15-plugin-cal'
'gnome15-plugin-cal-evolution'
'gnome15-plugin-cal-google'
'gnome15-plugin-google-analytics'
'gnome15-plugin-lcdbiff'
'gnome15-plugin-sense'
'gnome15-plugin-lcdshot'
'gnome15-plugin-tweak'
'gnome15-plugin-tails'
'gnome15-plugin-display'
'gnome15-plugin-voip'
'gnome15-plugin-voip-teamspeak3'
'gnome15-plugin-trafficstats')
pkgbase=gnome15-plugins
pkgver=0.9.5
pkgrel=1
pkgdesc="gnome15 plugins"
arch=('any')
url="http://www.russo79.com/gnome15"
license=('GPL')
depends=('python2' 'gnome15' 'python2-xlib')
conflicts=('gnome15-gnome-plugins')
source=("https://projects.russo79.com/attachments/download/130/${pkgbase}-${pkgver}.tar.gz")
md5sums=('85e93e4f873636698f987a14669ac063')
prepare() {
cd "${srcdir}/${pkgbase}-${pkgver}"
# python2 fix
for file in $(find . -type f -name '*' -print); do
sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
done
}
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
./configure --prefix=/usr \
--enable-background --enable-cairo-clock --enable-clock --enable-fx \
--enable-g15daemon-server --enable-im --enable-macro-recorder --enable-macros \
--enable-profiles --enable-menu --enable-mounts --enable-mpris --enable-notify-lcd \
--enable-panel --enable-screensaver --enable-stopwatch --enable-mediaplayer \
--enable-weather --enable-weather-noaa --enable-weather-yahoo \
--disable-indicator-me --disable-indicator-messages \
--enable-volume --enable-rss --enable-sysmon --enable-processes --enable-debug \
--enable-cal --enable-cal-evolution --enable-cal-google --enable-google-analytics \
--enable-lcdbiff --enable-sense --enable-lcdshot --enable-tweak \
--enable-tails --enable-display --enable-voip --enable-voip-teamspeak3 \
--enable-trafficstats \
PYTHON=python2 PYTHON_VERSION=2
make
}
package_gnome15-plugin-background() {
true && pkgdesc="gnome15 Wallpaper plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-cairo-clock() {
true && pkgdesc="gnome15 Cairo Clock plugin"
true && depends=('gnome15')
true && optdepends=('cairo-clock: Add more skins')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-clock() {
true && pkgdesc="gnome15 Clock plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-fx() {
true && pkgdesc="gnome15 Special Effect plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-g15daemon-server() {
true && pkgdesc="gnome15 G15Daemon Compatibility plugin"
true && provides=('g15daemon')
true && conflicts=('g15daemon')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-im() {
true && pkgdesc="gnome15 Instant Messenger plugin"
true && depends=('gnome15' 'python2-telepathy')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-macro-recorder() {
true && pkgdesc="gnome15 Macro Recorder plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-macros() {
true && pkgdesc="gnome15 Macro Information plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-profiles() {
true && pkgdesc="gnome15 Profile Selector plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-menu() {
true && pkgdesc="gnome15 Menu plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-mounts() {
true && pkgdesc="gnome15 Mounts plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-mpris() {
true && pkgdesc="gnome15 Now Playing plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-notify-lcd() {
true && pkgdesc="gnome15 Notify plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-panel() {
true && pkgdesc="gnome15 Panel plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-screensaver() {
true && pkgdesc="gnome15 Screensaver plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-stopwatch() {
true && pkgdesc="gnome15 Stopwatch plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-mediaplayer() {
true && pkgdesc="gnome15 Media Player plugin"
true && depends=('gnome15' 'gstreamer0.10-python')
groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-weather() {
true && pkgdesc="gnome15 Weather plugin"
true && optdepends=("gnome15-plugin-weather-noaa: Use NOAA as weather source"
"gnome15-plugin-weather-yahoo: Use Yahoo as weather source")
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-weather-noaa() {
true && pkgdesc="gnome15 Weather (NOAA support) plugin"
true && depends=('gnome15' 'gnome15-plugin-weather')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-weather-yahoo() {
true && pkgdesc="gnome15 Weather (Yahoo support) plugin"
true && depends=('gnome15' 'gnome15-plugin-weather')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
#package_gnome15-plugin-indicator-messages() {
# true && pkgdesc="gnome15 Cairo Clock plugin"
# true && depends=('gnome15' 'cairo-clock')
# true && groups=('gnome15-plugins')
#
# cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
#
# make DESTDIR="${pkgdir}/" install
#}
package_gnome15-plugin-volume() {
true && pkgdesc="gnome15 Volume Monitor plugin"
true && depends=('gnome15' 'python-pyalsaaudio')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-rss() {
true && pkgdesc="gnome15 RSS plugin"
true && depends=('gnome15' 'python2-feedparser')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-sysmon() {
true && pkgdesc="gnome15 System Monitor plugin"
true && depends=('gnome15' 'python2-cairoplot-gnome15' 'python2-gtop')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-processes() {
true && pkgdesc="gnome15 Process List plugin"
true && depends=('gnome15' 'python2-gtop')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-debug() {
true && pkgdesc="gnome15 Debug plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-cal() {
true && pkgdesc="gnome15 Calendar plugin"
true && optdepends=('gnome15-plugin-cal-evolution: Use evolution data'
'gnome15-plugin-cal-google: Use Google calendar data')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-cal-evolution() {
true && pkgdesc="gnome15 Calendar (Evolution support) plugin"
true && depends=('gnome15' 'gnome15-plugin-cal' 'python2-vobject')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-cal-google() {
true && pkgdesc="gnome15 Calendar (Google support) plugin"
true && depends=('gnome15' 'gnome15-plugin-cal' 'python2-gdata')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-google-analytics() {
true && pkgdesc="gnome15 Google Analytics plugin"
true && depends=('gnome15' 'python2-gdata' 'python2-cairoplot-gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-lcdbiff() {
true && pkgdesc="gnome15 POP3 / IMAP Email Notification plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-sense() {
true && pkgdesc="gnome15 Sensors plugin"
true && depends=('gnome15' 'python2-cairoplot-gnome15' 'python2-sensors' 'libatasmart')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-lcdshot() {
true && pkgdesc="gnome15 LCD Screenshot plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-tweak() {
true && pkgdesc="gnome15 Tweak Gnome15 plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-tails() {
true && pkgdesc="gnome15 Tails plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-display() {
true && pkgdesc="gnome15 Display Resolution plugin"
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-voip() {
true && pkgdesc="gnome15 VoIP plugin"
true && optdepends=('gnome15-plugin-voip-teamspeak3: Add TeamSpeak3 support')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-voip-teamspeak3() {
true && pkgdesc="gnome15 Teamspeak3 plugin"
true && depends=('gnome15' 'gnome15-plugin-voip' 'teamspeak3')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-trafficstats() {
true && pkgdesc="gnome15 Traffic Stats plugin"
true && depends=('gnome15')
true && optdepends=('vnstat: use vnstat data')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
# vim:set ts=2 sw=2 et:

View File

@ -0,0 +1,34 @@
# Maintainer: Nuno Araujo <nuno.araujo at russo79.com>
pkgname=gnome15-systemtray
pkgver=0.0.2
pkgrel=1
pkgdesc="System tray icon for gnome15"
arch=(any)
url="http://www.gnome15.org"
license=('GPL')
depends=(gnome15)
source=(http://www.gnome15.org/downloads/Gnome15/Desktop/$pkgname-$pkgver.tar.gz)
md5sums=('5328a4badc3c8b58801e3fadffe307fa')
build() {
cd "$srcdir/$pkgname-$pkgver"
# python2 fix
for file in $(find . -type f -name '*' -print); do
sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
done
export PYTHON_VERSION=2
export PYTHON=python2
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:

870
gnome15/PKGBUILD Normal file
View File

@ -0,0 +1,870 @@
# Maintainer: Nuno Araujo <nuno.araujo at russo79.com>
pkgname=gnome15
true && pkgname=('gnome15'
'gnome15-driver-g19direct'
'python2-pylibg19'
'gnome15-driver-g15direct'
'gnome15-driver-kernel'
'gnome15-driver-g930'
'gnome15-driver-gtk'
'gnome15-systemtray'
'gnome15-gnome-shell'
'gnome15-plugin-background'
'gnome15-plugin-cairo-clock'
'gnome15-plugin-clock'
'gnome15-plugin-fx'
'gnome15-plugin-g15daemon-server'
'gnome15-plugin-im'
'gnome15-plugin-macro-recorder'
'gnome15-plugin-macros'
'gnome15-plugin-profiles'
'gnome15-plugin-menu'
'gnome15-plugin-mounts'
'gnome15-plugin-mpris'
'gnome15-plugin-notify-lcd'
'gnome15-plugin-panel'
'gnome15-plugin-screensaver'
'gnome15-plugin-stopwatch'
'gnome15-plugin-mediaplayer'
'gnome15-plugin-weather'
'gnome15-plugin-weather-noaa'
'gnome15-plugin-weather-yahoo'
'gnome15-plugin-volume'
'gnome15-plugin-rss'
'gnome15-plugin-sysmon'
'gnome15-plugin-processes'
'gnome15-plugin-debug'
'gnome15-plugin-cal'
'gnome15-plugin-cal-evolution'
'gnome15-plugin-cal-google'
'gnome15-plugin-google-analytics'
'gnome15-plugin-lcdbiff'
'gnome15-plugin-sense'
'gnome15-plugin-lcdshot'
'gnome15-plugin-tweak'
'gnome15-plugin-tails'
'gnome15-plugin-display'
'gnome15-plugin-voip'
'gnome15-plugin-voip-teamspeak3'
'gnome15-plugin-trafficstats'
'gnome15-plugin-pommodoro'
'gnome15-plugin-impulse15')
pkgbase=gnome15
pkgver=0.9.8
pkgrel=1
pkgdesc="Gnome tools for the Logitech G Series Keyboards And Z-10 Speakers"
arch=('i686' 'x86_64' 'any')
url="http://www.russo79.com/gnome15"
license=('GPL')
depends=('python2'
'pygtk'
'python2-keyring'
'python2-virtkey'
'python2-imaging'
'python2-cairo'
'python2-dbus'
'python2-pyinotify'
'python2-lxml'
'python2-gobject2'
'python2-xdg'
'python2-pyusb'
'python2-gconf'
'python2-rsvg'
'python2-uinput'
'python2-xlib'
'python2-wnck'
'python2-setproctitle'
'python2-pyudev'
'hicolor-icon-theme'
'gnome-icon-theme')
makedepends=('python2-pyinputevent'
'gstreamer0.10-python'
'python2-telepathy'
'python2-pyalsaaudio'
'python2-feedparser'
'python2-vobject'
'python2-gdata'
'python2-cairoplot-gnome15'
'python2-sensors'
'libg15-gnome15'
'lg4l'
'fftw'
'libpulse')
source=(https://projects.russo79.com/attachments/download/153/${pkgbase}-${pkgver}.tar.gz)
md5sums=('c0ccd06b59999234b79d82d7e7773e81')
prepare() {
cd "${srcdir}/${pkgbase}-${pkgver}"
# Force usage of system python2
for file in $(find . -type f -name '*' -print); do
sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
sed -i 's_^#!.*/usr/bin/env.*python2_#!/usr/bin/python2_' $file
sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/python2_' $file
done
}
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
./configure \
--prefix=/usr --sysconfdir=/etc \
--enable-driver-kernel \
--enable-driver-g19direct \
--enable-driver-g930 \
--enable-driver-g15direct \
--disable-indicator \
--enable-systemtray \
--enable-gnome-shell-extension \
--disable-icons-mono \
--enable-plugin-background \
--enable-plugin-cairo-clock \
--enable-plugin-clock \
--enable-plugin-fx \
--enable-plugin-g15daemon-server \
--enable-plugin-im \
--enable-plugin-macro-recorder \
--enable-plugin-macros \
--enable-plugin-profiles \
--enable-plugin-menu \
--enable-plugin-mounts \
--enable-plugin-mpris \
--enable-plugin-notify-lcd \
--enable-plugin-panel \
--enable-plugin-screensaver \
--enable-plugin-stopwatch \
--enable-plugin-mediaplayer \
--enable-plugin-weather \
--enable-plugin-weather-noaa \
--enable-plugin-weather-yahoo \
--disable-plugin-indicator-messages \
--enable-plugin-volume \
--enable-plugin-rss \
--enable-plugin-sysmon \
--enable-plugin-processes \
--enable-plugin-debug \
--enable-plugin-cal \
--enable-plugin-cal-evolution \
--enable-plugin-cal-google \
--enable-plugin-google-analytics \
--enable-plugin-lcdbiff \
--enable-plugin-sense \
--enable-plugin-lcdshot \
--enable-plugin-tweak \
--enable-plugin-tails \
--enable-plugin-display \
--enable-plugin-voip \
--enable-plugin-voip-teamspeak3 \
--enable-plugin-trafficstats \
--enable-plugin-pommodoro \
--enable-plugin-impulse15 \
--disable-plugin-game-nexuiz \
--disable-plugin-backlight \
--disable-plugin-notify-lcd2 \
--disable-plugin-ppastats \
--disable-plugin-nm \
--disable-plugin-lens \
--disable-plugin-webkit-browser \
--disable-plugin-things \
UDEV_RULES_PATH=/usr/lib/udev/rules.d \
DEVICEGROUP=gnome15 \
PYTHON=python2
make
}
package_gnome15() {
true && arch=('any')
true && optdepends=('joystick: Allows to calibrate the virtual joysticks'
'jstest-gtk-git: Allows to calibrate the virtual joysticks')
cd "${srcdir}/${pkgbase}-${pkgver}"
install=$pkgname.install
install -d ${pkgdir}/etc/xdg/autostart
install -d ${pkgdir}/usr/bin
install -d ${pkgdir}/usr/lib/python2.7/site-packages/gnome15
install -d ${pkgdir}/usr/lib/python2.7/site-packages/gnome15/util
install -d ${pkgdir}/usr/lib/python2.7/site-packages/gnome15/drivers
install -d ${pkgdir}/usr/lib/udev/rules.d
install -d ${pkgdir}/usr/share/applications
install -d ${pkgdir}/usr/share/dbus-1/services
install -d ${pkgdir}/usr/share/gnome15/ui
install -d ${pkgdir}/usr/share/gnome15/i18n/en_GB/LC_MESSAGES
install -d ${pkgdir}/usr/share/gnome15/images
install -d ${pkgdir}/usr/share/gnome15/themes
install -d ${pkgdir}/usr/share/gnome15/themes/default
install -d ${pkgdir}/usr/share/gnome15/ukeys
install -d ${pkgdir}/usr/share/icons/hicolor/16x16/status
install -d ${pkgdir}/usr/share/icons/hicolor/22x22/apps
install -d ${pkgdir}/usr/share/icons/hicolor/22x24/status
install -d ${pkgdir}/usr/share/icons/hicolor/24x24/{apps,status}
install -d ${pkgdir}/usr/share/icons/hicolor/48x48/apps
install -d ${pkgdir}/usr/share/icons/hicolor/64x64/apps
install -d ${pkgdir}/usr/share/icons/hicolor/scalable/{apps,devices,status}
install -d ${pkgdir}/usr/share/man/man1
install -t ${pkgdir}/etc/xdg/autostart \
-m644 data/autostart/gnome15.desktop
install -t ${pkgdir}/usr/bin \
-m755 src/scripts/g15-config \
src/scripts/g15-desktop-service \
src/scripts/g15-diag \
src/scripts/g15-launch \
src/scripts/g15-support-dump
install -t ${pkgdir}/usr/lib/python2.7/site-packages/gnome15 \
-m644 src/gnome15/*.py
install -t ${pkgdir}/usr/lib/python2.7/site-packages/gnome15/util \
-m644 src/gnome15/util/*.py
install -t ${pkgdir}/usr/lib/python2.7/site-packages/gnome15/drivers \
-m644 src/gnome15/drivers/__init__.py
install -t ${pkgdir}/usr/lib/udev/rules.d \
-m644 data/udev/98-gnome15.rules
install -t ${pkgdir}/usr/share/applications \
-m644 data/applications/g15-config.desktop
install -t ${pkgdir}/usr/share/dbus-1/services \
-m644 data/dbus/org.gnome15.Gnome15.service
install -t ${pkgdir}/usr/share/gnome15/ui \
-m644 data/ui/accounts.ui \
data/ui/colorpicker.ui \
data/ui/g15-config.ui \
data/ui/macro-editor.ui \
data/ui/password.ui \
data/ui/script-editor.ui \
data/ui/redblue.png
install -t ${pkgdir}/usr/share/gnome15/i18n/en_GB/LC_MESSAGES \
-m644 i18n/en_GB/LC_MESSAGES/colorpicker.mo \
i18n/en_GB/LC_MESSAGES/g15-config.mo \
i18n/en_GB/LC_MESSAGES/gnome15-drivers.mo \
i18n/en_GB/LC_MESSAGES/gnome15.mo \
i18n/en_GB/LC_MESSAGES/macro-editor.mo
install -t ${pkgdir}/usr/share/gnome15/images \
-m644 data/images/*.{svg,png}
install -t ${pkgdir}/usr/share/gnome15/themes/default \
-m644 data/themes/default/*.svg
install -t ${pkgdir}/usr/share/gnome15/ukeys \
-m644 data/ukeys/*.keys \
-m644 data/ukeys/keysym-to-uinput
install -t ${pkgdir}/usr/share/icons/hicolor/16x16/status \
-m644 data/icons/hicolor/16x16/status/*.png
install -t ${pkgdir}/usr/share/icons/hicolor/22x22/apps \
-m644 data/icons/hicolor/22x22/apps/*.png
install -t ${pkgdir}/usr/share/icons/hicolor/22x24/status \
-m644 data/icons/hicolor/22x22/status/*.png
install -t ${pkgdir}/usr/share/icons/hicolor/24x24/apps \
-m644 data/icons/hicolor/24x24/apps/*.png
install -t ${pkgdir}/usr/share/icons/hicolor/24x24/status \
-m644 data/icons/hicolor/24x24/status/*.png
install -t ${pkgdir}/usr/share/icons/hicolor/48x48/apps \
-m644 data/icons/hicolor/48x48/apps/*.png
install -t ${pkgdir}/usr/share/icons/hicolor/64x64/apps \
-m644 data/icons/hicolor/64x64/apps/*.png
install -t ${pkgdir}/usr/share/icons/hicolor/scalable/apps \
-m644 data/icons/hicolor/scalable/apps/*.svg
install -t ${pkgdir}/usr/share/icons/hicolor/scalable/devices \
-m644 data/icons/hicolor/scalable/devices/*.png
install -t ${pkgdir}/usr/share/icons/hicolor/scalable/status \
-m644 data/icons/hicolor/scalable/status/*.svg
install -t ${pkgdir}/usr/share/man/man1 \
-m644 man/g15-config.1 \
man/g15-desktop-service.1
python2 -m compileall ${pkgdir}/usr/lib/python2.7/site-packages/gnome15
python2 -O -m compileall ${pkgdir}/usr/lib/python2.7/site-packages/gnome15
}
package_python2-pylibg19() {
true && pkgdesc="Basis for G19 support in Gnome15"
true && arch=('any')
true && depends=('python2' 'python2-pyusb' 'python2-imaging')
cd "${srcdir}/${pkgbase}-${pkgver}/src/pylibg19"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-driver-g19direct() {
true && pkgdesc="Gnome15 driver for the Logitech G19"
true && arch=('any')
true && depends=('gnome15' 'python2-pylibg19')
true && groups=('gnome15-drivers')
cd "${srcdir}/${pkgbase}-${pkgver}"
install -d ${pkgdir}/usr/lib/python2.7/site-packages/gnome15/drivers
install -d ${pkgdir}/usr/lib/udev/rules.d
install -d ${pkgdir}/usr/share/gnome15/ui
install -d ${pkgdir}/usr/share/gnome15/i18n/en_GB/LC_MESSAGES
install -t ${pkgdir}/usr/lib/python2.7/site-packages/gnome15/drivers \
-m644 src/gnome15/drivers/driver_g19direct.py
install -t ${pkgdir}/usr/lib/udev/rules.d \
-m644 data/udev/99-gnome15-g19direct.rules
install -t ${pkgdir}/usr/share/gnome15/ui \
-m644 data/ui/driver_g19direct.ui
install -t ${pkgdir}/usr/share/gnome15/i18n/en_GB/LC_MESSAGES \
-m644 i18n/en_GB/LC_MESSAGES/driver_g19direct.mo
python2 -m compileall ${pkgdir}/usr/lib/python2.7/site-packages/gnome15
python2 -O -m compileall ${pkgdir}/usr/lib/python2.7/site-packages/gnome15
}
package_gnome15-driver-g15direct() {
true && pkgdesc="Gnome15 driver for the Logitech G11, G13, G15, G110, Z-10"
true && arch=('any')
true && depends=('gnome15' 'libg15-gnome15')
true && groups=('gnome15-drivers')
cd "${srcdir}/${pkgbase}-${pkgver}"
install -d ${pkgdir}/usr/bin
install -d ${pkgdir}/usr/lib/python2.7/site-packages/gnome15/drivers
install -d ${pkgdir}/usr/lib/udev/rules.d
install -d ${pkgdir}/usr/share/gnome15/ui
install -d ${pkgdir}/usr/share/gnome15/i18n/en_GB/LC_MESSAGES
install -t ${pkgdir}/usr/bin \
-m755 src/scripts/libg15test
install -t ${pkgdir}/usr/lib/python2.7/site-packages/gnome15/drivers \
-m644 src/gnome15/drivers/driver_g15direct.py
install -t ${pkgdir}/usr/lib/python2.7/site-packages/gnome15/drivers \
-m644 src/gnome15/drivers/pylibg15.py
install -t ${pkgdir}/usr/lib/udev/rules.d \
-m644 data/udev/99-gnome15-g15direct.rules
install -t ${pkgdir}/usr/share/gnome15/ui \
-m644 data/ui/driver_g15direct.ui
install -t ${pkgdir}/usr/share/gnome15/i18n/en_GB/LC_MESSAGES \
-m644 i18n/en_GB/LC_MESSAGES/driver_g15direct.mo
python2 -m compileall ${pkgdir}/usr/lib/python2.7/site-packages/gnome15
python2 -O -m compileall ${pkgdir}/usr/lib/python2.7/site-packages/gnome15
}
package_gnome15-driver-kernel() {
true && pkgdesc="Gnome15 kernel driver"
true && arch=('any')
true && depends=('gnome15' 'lg4l' 'python2-pyinputevent')
true && groups=('gnome15-drivers')
cd "${srcdir}/${pkgbase}-${pkgver}"
install -d ${pkgdir}/etc/dbus-1/system.d
install -d ${pkgdir}/usr/bin
install -d ${pkgdir}/usr/lib/python2.7/site-packages/gnome15/drivers
install -d ${pkgdir}/usr/lib/udev/rules.d
install -d ${pkgdir}/usr/share/dbus-1/system-services
install -d ${pkgdir}/usr/share/gnome15/ui
install -d ${pkgdir}/usr/share/gnome15/i18n/en_GB/LC_MESSAGES
install -d ${pkgdir}/usr/share/man/man1
install -t ${pkgdir}/etc/dbus-1/system.d \
-m644 data/dbus/g15-system-service.conf
install -t ${pkgdir}/usr/bin \
-m755 src/scripts/g15-system-service
install -t ${pkgdir}/usr/lib/python2.7/site-packages/gnome15/drivers \
-m644 src/gnome15/drivers/driver_kernel.py
install -t ${pkgdir}/usr/lib/python2.7/site-packages/gnome15/drivers \
-m644 src/gnome15/drivers/fb.py
install -t ${pkgdir}/usr/lib/udev/rules.d \
-m644 data/udev/99-gnome15-kernel.rules
install -t ${pkgdir}/usr/share/dbus-1/system-services \
-m644 data/dbus/org.gnome15.SystemService.service
install -t ${pkgdir}/usr/share/gnome15/ui \
-m644 data/ui/driver_kernel.ui
install -t ${pkgdir}/usr/share/gnome15/i18n/en_GB/LC_MESSAGES \
-m644 i18n/en_GB/LC_MESSAGES/driver_kernel.mo
install -t ${pkgdir}/usr/share/man/man1 \
-m644 man/g15-system-service.1
python2 -m compileall ${pkgdir}/usr/lib/python2.7/site-packages/gnome15
python2 -O -m compileall ${pkgdir}/usr/lib/python2.7/site-packages/gnome15
}
package_gnome15-driver-g930() {
true && pkgdesc="Gnome15 driver for the Logitech G930 and G35"
true && arch=('any')
true && depends=('gnome15' 'python2-pyinputevent')
true && groups=('gnome15-drivers')
cd "${srcdir}/${pkgbase}-${pkgver}"
install -d ${pkgdir}/usr/lib/python2.7/site-packages/gnome15/drivers
install -d ${pkgdir}/usr/lib/udev/rules.d
install -d ${pkgdir}/usr/share/gnome15/ui
install -d ${pkgdir}/usr/share/gnome15/i18n/en_GB/LC_MESSAGES
install -t ${pkgdir}/usr/lib/python2.7/site-packages/gnome15/drivers \
-m644 src/gnome15/drivers/driver_g930.py
install -t ${pkgdir}/usr/lib/udev/rules.d \
-m644 data/udev/99-gnome15-g930.rules
install -t ${pkgdir}/usr/share/gnome15/ui \
-m644 data/ui/driver_g930.ui
install -t ${pkgdir}/usr/share/gnome15/i18n/en_GB/LC_MESSAGES \
-m644 i18n/en_GB/LC_MESSAGES/driver_g930.mo
python2 -m compileall ${pkgdir}/usr/lib/python2.7/site-packages/gnome15
python2 -O -m compileall ${pkgdir}/usr/lib/python2.7/site-packages/gnome15
}
package_gnome15-driver-gtk() {
true && pkgdesc="Gnome15 emulator driver"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-drivers')
cd "${srcdir}/${pkgbase}-${pkgver}"
install -d ${pkgdir}/usr/lib/python2.7/site-packages/gnome15/drivers
install -d ${pkgdir}/usr/share/gnome15/ui
install -d ${pkgdir}/usr/share/gnome15/i18n/en_GB/LC_MESSAGES
install -t ${pkgdir}/usr/lib/python2.7/site-packages/gnome15/drivers \
-m644 src/gnome15/drivers/driver_gtk.py
install -t ${pkgdir}/usr/share/gnome15/ui \
-m644 data/ui/driver_gtk.ui
install -t ${pkgdir}/usr/share/gnome15/i18n/en_GB/LC_MESSAGES \
-m644 i18n/en_GB/LC_MESSAGES/driver_gtk.mo
python2 -m compileall ${pkgdir}/usr/lib/python2.7/site-packages/gnome15
python2 -O -m compileall ${pkgdir}/usr/lib/python2.7/site-packages/gnome15
}
package_gnome15-systemtray() {
true && pkgdesc="System tray icon for Gnome15"
true && arch=('any')
true && depends=('gnome15')
cd "${srcdir}/${pkgbase}-${pkgver}"
install -d ${pkgdir}/etc/xdg/autostart
install -d ${pkgdir}/usr/bin
install -d ${pkgdir}/usr/share/man/man1
install -t ${pkgdir}/etc/xdg/autostart \
-m644 data/autostart/g15-systemtray.desktop
install -t ${pkgdir}/usr/bin \
-m755 src/scripts/g15-systemtray
install -t ${pkgdir}/usr/share/man/man1 \
-m644 man/g15-systemtray.1
}
package_gnome15-gnome-shell() {
true && pkgdesc="Gnome Shell extension for Gnome15"
true && arch=('any')
true && depends=('gnome15' 'gnome-shell')
cd "${srcdir}/${pkgbase}-${pkgver}/src/gnome-shell-extension"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-background() {
true && pkgdesc="gnome15 Wallpaper plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-cairo-clock() {
true && pkgdesc="gnome15 Cairo Clock plugin"
true && arch=('any')
true && depends=('gnome15')
true && optdepends=('cairo-clock: Add more skins')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-clock() {
true && pkgdesc="gnome15 Clock plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-fx() {
true && pkgdesc="gnome15 Special Effect plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-g15daemon-server() {
true && pkgdesc="gnome15 G15Daemon Compatibility plugin"
true && arch=('any')
true && depends=('gnome15')
true && provides=('g15daemon')
true && conflicts=('g15daemon')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-im() {
true && pkgdesc="gnome15 Instant Messenger plugin"
true && arch=('any')
true && depends=('gnome15' 'python2-telepathy')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-macro-recorder() {
true && pkgdesc="gnome15 Macro Recorder plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-macros() {
true && pkgdesc="gnome15 Macro Information plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-profiles() {
true && pkgdesc="gnome15 Profile Selector plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-menu() {
true && pkgdesc="gnome15 Menu plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-mounts() {
true && pkgdesc="gnome15 Mounts plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-mpris() {
true && pkgdesc="gnome15 Now Playing plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-notify-lcd() {
true && pkgdesc="gnome15 Notify plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-panel() {
true && pkgdesc="gnome15 Panel plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-screensaver() {
true && pkgdesc="gnome15 Screensaver plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-stopwatch() {
true && pkgdesc="gnome15 Stopwatch plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-mediaplayer() {
true && pkgdesc="gnome15 Media Player plugin"
true && arch=('any')
true && depends=('gnome15' 'gstreamer0.10-python')
groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-weather() {
true && pkgdesc="gnome15 Weather plugin"
true && arch=('any')
true && depends=('gnome15')
true && optdepends=("gnome15-plugin-weather-noaa: Use NOAA as weather source"
"gnome15-plugin-weather-yahoo: Use Yahoo as weather source")
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-weather-noaa() {
true && pkgdesc="gnome15 Weather (NOAA support) plugin"
true && arch=('any')
true && depends=('gnome15' 'gnome15-plugin-weather')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-weather-yahoo() {
true && pkgdesc="gnome15 Weather (Yahoo support) plugin"
true && arch=('any')
true && depends=('gnome15' 'gnome15-plugin-weather')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-volume() {
true && pkgdesc="gnome15 Volume Monitor plugin"
true && arch=('any')
true && depends=('gnome15' 'python2-pyalsaaudio')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-rss() {
true && pkgdesc="gnome15 RSS plugin"
true && arch=('any')
true && depends=('gnome15' 'python2-feedparser')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-sysmon() {
true && pkgdesc="gnome15 System Monitor plugin"
true && arch=('any')
true && depends=('gnome15' 'python2-cairoplot-gnome15' 'python2-gtop')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-processes() {
true && pkgdesc="gnome15 Process List plugin"
true && arch=('any')
true && depends=('gnome15' 'python2-gtop')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-debug() {
true && pkgdesc="gnome15 Debug plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-cal() {
true && pkgdesc="gnome15 Calendar plugin"
true && arch=('any')
true && depends=('gnome15')
true && optdepends=('gnome15-plugin-cal-evolution: Use evolution data'
'gnome15-plugin-cal-google: Use Google calendar data')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-cal-evolution() {
true && pkgdesc="gnome15 Calendar (Evolution support) plugin"
true && arch=('any')
true && depends=('gnome15' 'gnome15-plugin-cal' 'python2-vobject')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-cal-google() {
true && pkgdesc="gnome15 Calendar (Google support) plugin"
true && arch=('any')
true && depends=('gnome15' 'gnome15-plugin-cal' 'python2-gdata')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-google-analytics() {
true && pkgdesc="gnome15 Google Analytics plugin"
true && arch=('any')
true && depends=('gnome15' 'python2-gdata' 'python2-cairoplot-gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-lcdbiff() {
true && pkgdesc="gnome15 POP3 / IMAP Email Notification plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-sense() {
true && pkgdesc="gnome15 Sensors plugin"
true && arch=('any')
true && depends=('gnome15' 'python2-cairoplot-gnome15' 'python2-sensors' 'libatasmart')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-lcdshot() {
true && pkgdesc="gnome15 LCD Screenshot plugin"
true && arch=('any')
true && depends=('gnome15')
true && optdepents=('mencoder: capture videos of device LCD')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-tweak() {
true && pkgdesc="gnome15 Tweak Gnome15 plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-tails() {
true && pkgdesc="gnome15 Tails plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-display() {
true && pkgdesc="gnome15 Display Resolution plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-voip() {
true && pkgdesc="gnome15 VoIP plugin"
true && arch=('any')
true && depends=('gnome15')
true && optdepends=('gnome15-plugin-voip-teamspeak3: Add TeamSpeak3 support')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-voip-teamspeak3() {
true && pkgdesc="gnome15 Teamspeak3 plugin"
true && arch=('any')
true && depends=('gnome15' 'gnome15-plugin-voip' 'teamspeak3')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-trafficstats() {
true && pkgdesc="gnome15 Traffic Stats plugin"
true && arch=('any')
true && depends=('gnome15' 'python2-gtop')
true && optdepends=('vnstat: use vnstat data')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-pommodoro() {
true && pkgdesc="gnome15 Pommodoro Timer plugin"
true && arch=('any')
true && depends=('gnome15')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
package_gnome15-plugin-impulse15() {
true && pkgdesc="Gnome15 Impulse plugin"
true && arch=('i686' 'x86_64')
true && depends=('gnome15' 'fftw' 'libpulse')
true && groups=('gnome15-plugins')
cd "${srcdir}/${pkgbase}-${pkgver}/src/libimpulse"
make DESTDIR="${pkgdir}/" install
cd "${srcdir}/${pkgbase}-${pkgver}/src/plugins/${pkgname:15}"
make DESTDIR="${pkgdir}/" install
}
# vim:set ts=2 sw=2 et:

25
gnome15/gnome15.install Normal file
View File

@ -0,0 +1,25 @@
pkgname=gnome15
post_install() {
gtk-update-icon-cache -q -f /usr/share/icons/hicolor
groupadd -f gnome15 &> /dev/null
echo " >> you need to be a member of the gnome15 group for the application"
echo " >> to work properly."
echo " >> If you have a device with a 1bpp display and on some plugins the"
echo " >> fonts seem to be 'blurry', please disable bitmap font scaling: "
echo " >> https://wiki.archlinux.org/index.php/Font_Configuration#Disable_scaling_of_bitmap_fonts"
}
post_upgrade() {
gtk-update-icon-cache -q -f /usr/share/icons/hicolor
echo " >> If you have a device with a 1bpp display and on some plugins the"
echo " >> fonts seem to be 'blurry', please disable bitmap font scaling: "
echo " >> https://wiki.archlinux.org/index.php/Font_Configuration#Disable_scaling_of_bitmap_fonts"
}
post_remove() {
gtk-update-icon-cache -q -f /usr/share/icons/hicolor
}