This commit is contained in:
Philipp Häfelfinger 2017-09-18 20:39:45 +02:00
parent ca85334660
commit 708ded1757
16 changed files with 213 additions and 1563 deletions

23
crashplan-pro/.SRCINFO Normal file
View File

@ -0,0 +1,23 @@
pkgbase = crashplan-pro
pkgdesc = An business online/offsite backup solution
pkgver = 4.8.3
pkgrel = 1
url = http://www.crashplan.com/business
install = crashplan-pro.install
arch = i686
arch = x86_64
license = custom
makedepends = grep
makedepends = cpio
makedepends = gzip
depends = java-runtime
optdepends = swt: needed by some to open the GUI
source = http://download1.us.code42.com/installs/linux/install/CrashPlanPRO/CrashPlanPRO_4.8.3_Linux.tgz
source = crashplan-pro
source = crashplan-pro.service
sha256sums = d298dee27bddb5e543e7d48997cc3f5717c4286a0190dd1224b2b9144380edf5
sha256sums = b306d7da0dd41341512ce80ddcfb21bff8a9bb73ab5018696e69d08b89f7f1b6
sha256sums = c631a971f300bfbfe52e3ec8faa4d7b735eaa069d73e11d6021567e29d053dc3
pkgname = crashplan-pro

85
crashplan-pro/PKGBUILD Normal file
View File

@ -0,0 +1,85 @@
# Maintainer: Anthony Boccia <aboccia [at] boccia [dot] me>
# Contributer: Griffin Smith <wildgriffin [at] gmail [dot] com>
# Contributor: Bill Durr <billyburly [at] gmail [dot] com>
pkgname=crashplan-pro
pkgver=4.9.0
pkgrel=0
pkgdesc="An business online/offsite backup solution"
url="http://www.crashplan.com/business"
arch=('i686' 'x86_64')
license=('custom')
depends=('java-runtime')
makedepends=('grep' 'cpio' 'gzip')
optdepends=('swt: needed by some to open the GUI')
backup=()
install=crashplan-pro.install
source=(https://web-eam-msp.crashplanpro.com/client/installers/CrashPlanPRO_4.9.0_1436674888490_33_Linux.tgz
crashplan-pro
crashplan-pro.service)
sha256sums=('891426d6180c13a25e65bb935a9c0df36b733be121e547d47f35eb4b7175856d'
'b306d7da0dd41341512ce80ddcfb21bff8a9bb73ab5018696e69d08b89f7f1b6'
'c631a971f300bfbfe52e3ec8faa4d7b735eaa069d73e11d6021567e29d053dc3')
build() {
cd $srcdir/crashplan-install
echo ""
echo "You must review and agree to the EULA before using Crashplan PRO."
echo "You can do so at:"
echo " - http://support.crashplan.com/doku.php/eula"
echo " - /usr/share/licenses/${pkgname}/LICENSE"
echo ""
echo "" > install.vars
echo "JAVACOMMON=`which java`" >> install.vars
echo "#APP_BASENAME=CrashPlan" >> install.vars
echo "TARGETDIR=/opt/$pkgname" >> install.vars
echo "BINSDIR=" >> install.vars
echo "MANIFESTDIR=/opt/$pkgname/manifest" >> install.vars
echo "INITDIR=" >> install.vars
echo "RUNLVLDIR=" >> install.vars
NOW=`date +%Y%m%d`
echo "INSTALLDATE=$NOW" >> install.vars
sed -imod "s|Exec=.*|Exec=/opt/$pkgname/bin/CrashPlanDesktop|" scripts/CrashPlan.desktop
sed -imod "s|Icon=.*|Icon=/opt/$pkgname/skin/icon_app_64.74.png|" scripts/CrashPlan.desktop
sed -imod "s|Categories=.*|Categories=System;|" scripts/CrashPlan.desktop
}
package() {
mkdir -p $pkgdir/opt/$pkgname
cd $pkgdir/opt/$pkgname
cat $srcdir/crashplan-install/CrashPlanPRO_$pkgver.cpi | gzip -d -c - | cpio -i --no-preserve-owner
chmod 777 $pkgdir/opt/$pkgname/log
sed -i "s|<manifestPath>manifest</manifestPath>|<manifestPath>/opt/$pkgname/manifest</manifestPath>|g" $pkgdir/opt/$pkgname/conf/default.service.xml
mkdir -p $pkgdir/usr/bin
ln -s "/opt/$pkgname/bin/CrashPlanDesktop" $pkgdir/usr/bin/CrashPlanDesktop
# Fix for 32 bit: 64 bit libs cannot be stripped from symbols
# so we just remove those libs
if [ "$CARCH" = "i686" ]; then
rm $pkgdir/opt/$pkgname/*64.so
fi
# Fix for encoding troubles (CrashPlan ticket 178827)
# Make sure the daemon is running using the same localization as
# the (installing) user
echo "" >> $srcdir/crashplan-install/scripts/run.conf
echo "export LC_ALL=$LANG" >> $srcdir/crashplan-install/scripts/run.conf
install -D -m 644 $srcdir/crashplan-install/install.vars $pkgdir/opt/$pkgname/install.vars
#Removed as of Version 4.8.0 as the EULA is no longer included in the source
#install -D -m 644 $srcdir/crashplan-install/EULA.txt $pkgdir/opt/$pkgname/EULA.txt
#install -D -m 644 $srcdir/crashplan-install/EULA.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D -m 755 $srcdir/crashplan-install/scripts/CrashPlanDesktop $pkgdir/opt/$pkgname/bin/CrashPlanDesktop
install -D -m 644 $srcdir/crashplan-install/scripts/run.conf $pkgdir/opt/$pkgname/bin/run.conf
install -D -m 755 $srcdir/crashplan-install/scripts/CrashPlanEngine $pkgdir/opt/$pkgname/bin/CrashPlanEngine
install -D -m 755 $srcdir/crashplan-install/scripts/CrashPlan.desktop $pkgdir/usr/share/applications/crashplan.desktop
# rc.d daemon
install -D -m 755 $srcdir/crashplan-pro $pkgdir/etc/rc.d/crashplan-pro
# systemd unit
install -D -m 644 $srcdir/crashplan-pro.service $pkgdir/usr/lib/systemd/system/crashplan-pro.service
}

78
crashplan-pro/crashplan-pro Executable file
View File

@ -0,0 +1,78 @@
#!/usr/bin/env bash
. /etc/rc.conf
. /etc/rc.d/functions
if [[ -f /etc/profile.d/jre.sh ]]; then
. /etc/profile.d/jre.sh
elif [[ -f /etc/profile.d/openjdk6.sh ]]; then
. /etc/profile.d/openjdk6.sh
fi
WD=/opt/crashplan-pro
CRASHPLAN=$WD/bin/CrashPlanEngine
VARS=$WD/install.vars
CONFIG=$WD/bin/run.conf
test -f $VARS || exit 0
test -f $CONFIG || exit 0
test -f $CRASHPLAN || exit 0
. $VARS
. $CONFIG
if [[ ${LC_ALL} ]]; then
LOCALE=`sed 's/\..*//g' <<< ${LC_ALL}`
export LC_ALL="${LOCALE}.UTF-8"
elif [[ ${LC_CTYPE} ]]; then
LOCALE=`sed 's/\..*//g' <<< ${LC_CTYPE}`
export LC_CTYPE="${LOCALE}.UTF-8"
elif [[ ${LANG} ]]; then
LOCALE=`sed 's/\..*//g' <<< ${LANG}`
export LANG="${LOCALE}.UTF-8"
else
export LANG="en_US.UTF-8"
fi
[[ `$CRASHPLAN status` != "CrashPlan Engine is stopped." ]] && PID=`$CRASHPLAN status | sed -r 's/CrashPlan Engine \(pid ([0-9]+)\).*/\1/'`
case "$1" in
start)
stat_busy "Starting CrashPlan Engine"
PWD=`pwd`
cd $WD
[[ -z "$PID" ]] && nice -n 19 $CRASHPLAN start > /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon crashplan
stat_done
fi
cd $PWD
;;
stop)
stat_busy "Stopping CrashPlan Engine"
[[ ! -z "&PID" ]] && $CRASHPLAN stop &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon crashplan
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
status)
$CRASHPLAN status
;;
*)
echo "Usage: $0 <start|stop|restart|status>" >&2
exit 3
;;
esac

View File

@ -0,0 +1,11 @@
post_install () {
INOTIFY_WATCHES=`cat /proc/sys/fs/inotify/max_user_watches`
if [[ $INOTIFY_WATCHES -le 8192 ]]; then
echo ""
echo "Your system is currently configured to watch $INOTIFY_WATCHES files in real time."
echo "CrashPlan recommends using a larger value; see the CrashPlan support site for details."
echo "e.g. add the following line to /etc/sysctl.d/99-sysctl.conf "
echo " fs.inotify.max_user_watches=1048576"
echo ""
fi
}

View File

@ -0,0 +1,16 @@
[Unit]
Description=CrashPlanPRO Backup Engine
After=network.target
[Service]
Type=forking
PIDFile=/opt/crashplan-pro/CrashPlanEngine.pid
EnvironmentFile=/opt/crashplan-pro/bin/run.conf
WorkingDirectory=/opt/crashplan-pro
ExecStart=/opt/crashplan-pro/bin/CrashPlanEngine start
ExecStop=/opt/crashplan-pro/bin/CrashPlanEngine stop
Restart=always
[Install]
WantedBy=multi-user.target

View File

@ -1,35 +0,0 @@
# 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

@ -1,26 +0,0 @@
# 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

@ -1,13 +0,0 @@
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

@ -1,24 +0,0 @@
# 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

@ -1,39 +0,0 @@
# 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

@ -1,11 +0,0 @@
--- 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

@ -1,27 +0,0 @@
# 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:

View File

@ -1,459 +0,0 @@
# 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

@ -1,34 +0,0 @@
# 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:

View File

@ -1,870 +0,0 @@
# 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:

View File

@ -1,25 +0,0 @@
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
}