void-packages/srcpkgs/cairo-dock/template
2020-10-08 09:20:52 -03:00

35 lines
1 KiB
Bash

# Template file for 'cairo-dock'
pkgname=cairo-dock
version=3.4.1
revision=3
build_style=cmake
configure_args="-Denable-desktop-manager=ON -Denable-egl-support=ON"
hostmakedepends="pkg-config gettext"
makedepends="libcurl-devel dbus-glib-devel libXtst-devel gtk+3-devel librsvg-devel glu-devel"
depends="desktop-file-utils"
short_desc="Light eye-candy fully themable animated dock"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://glx-dock.org/"
distfiles="https://github.com/Cairo-Dock/cairo-dock-core/releases/download/${version}/cairo-dock-${version}.tar.gz"
checksum=dcadbbe089487f22b112f25a91d1c966275b245f248f950c6987de787eb95137
lib32disabled=yes
CFLAGS="-D_BSD_SOURCE"
CXXFLAGS="-D_BSD_SOURCE"
cairo-dock-devel_package() {
short_desc+=" - development files"
depends="${makedepends} libgldi>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libgldi_package() {
short_desc+=" - OpenGL Desktop Interface"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}