cairo-dock-plugins: rebuild for Python 3.9
This commit is contained in:
parent
965e37c71c
commit
4a110aa2a4
|
@ -1 +0,0 @@
|
||||||
cairo-dock-plugins
|
|
|
@ -1,14 +1,12 @@
|
||||||
# Template file for 'cairo-dock-plugins'
|
# Template file for 'cairo-dock-plugins'
|
||||||
pkgname=cairo-dock-plugins
|
pkgname=cairo-dock-plugins
|
||||||
version=3.4.1
|
version=3.4.1
|
||||||
revision=12
|
revision=13
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="gettext pkg-config"
|
hostmakedepends="gettext pkg-config"
|
||||||
# XXX libetpan, libdbusmenu, etc
|
|
||||||
makedepends="alsa-lib-devel fftw-devel pulseaudio-devel libexif-devel
|
makedepends="alsa-lib-devel fftw-devel pulseaudio-devel libexif-devel
|
||||||
libical-devel libxklavier-devel zeitgeist-devel libsensors-devel
|
libical-devel libxklavier-devel zeitgeist-devel libsensors-devel vala-devel
|
||||||
cairo-dock-devel gnome-menus-devel vte290-devel vala-devel vala
|
cairo-dock-devel gnome-menus-devel vte290-devel python3-devel upower-devel"
|
||||||
python-devel python3-devel upower-devel"
|
|
||||||
depends="cairo-dock>=${version} upower"
|
depends="cairo-dock>=${version} upower"
|
||||||
short_desc="Plugins for cairo-dock"
|
short_desc="Plugins for cairo-dock"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
@ -19,7 +17,7 @@ checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" python-devel python3-devel vala"
|
hostmakedepends+=" python3-devel vala-devel"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CFLAGS="-fcommon"
|
CFLAGS="-fcommon"
|
||||||
|
@ -32,14 +30,6 @@ pre_configure() {
|
||||||
echo -n > logout/CMakeLists.txt
|
echo -n > logout/CMakeLists.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
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() {
|
cairo-dock-plugins-python3_package() {
|
||||||
depends="python3 ${sourcepkg}>=${version}_${revision}"
|
depends="python3 ${sourcepkg}>=${version}_${revision}"
|
||||||
pycompile_module="CDBashApplet.py CairoDock.py CDApplet.py"
|
pycompile_module="CDBashApplet.py CairoDock.py CDApplet.py"
|
||||||
|
|
Loading…
Reference in New Issue