49 lines
1.7 KiB
Bash
49 lines
1.7 KiB
Bash
# Template file for 'cairo-dock-plugins'
|
|
pkgname=cairo-dock-plugins
|
|
version=3.4.1
|
|
revision=4
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config"
|
|
# XXX libetpan, libdbusmenu, etc
|
|
makedepends="alsa-lib-devel fftw-devel pulseaudio-devel libexif-devel
|
|
libical-devel libxklavier-devel zeitgeist-devel libsensors-devel
|
|
cairo-dock-devel gnome-menus-devel webkitgtk-devel
|
|
vte290-devel vala-devel python-devel python3-devel upower0-devel"
|
|
depends="cairo-dock>=${version} ConsoleKit2 upower0"
|
|
short_desc="Plugins for cairo-dock"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="https://launchpad.net/cairo-dock"
|
|
distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
|
|
checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
|
|
|
|
cairo-dock-plugins-python2_package() {
|
|
depends="python ${sourcepkg}>=${version}_${revision}"
|
|
pycompile_module="CDBashApplet.py CairoDock.py CDApplet.py"
|
|
short_desc+=" - python2 bindings"
|
|
pkg_install() {
|
|
vmove ${py2_sitelib}
|
|
}
|
|
}
|
|
cairo-dock-plugins-python3_package() {
|
|
replaces="cairo-dock-plugins-python3.4>=0"
|
|
depends="python3 ${sourcepkg}>=${version}_${revision}"
|
|
pycompile_module="CDBashApplet.py CairoDock.py CDApplet.py"
|
|
short_desc+=" - python3 bindings"
|
|
pkg_install() {
|
|
vmove ${py3_sitelib}
|
|
}
|
|
}
|
|
cairo-dock-plugins-vala_package() {
|
|
depends="vala-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Vala bindings"
|
|
pkg_install() {
|
|
vmove usr/share/vala
|
|
}
|
|
}
|
|
cairo-dock-plugins-python3.4_package() {
|
|
build_style=meta
|
|
short_desc+=" - python3.4 bindings (transitional dummy package)"
|
|
depends="cairo-dock-plugins-python3>=${version}_${revision}"
|
|
}
|