2013-06-17 08:45:17 +00:00
|
|
|
# Template file for 'kde-workspace'
|
|
|
|
pkgname=kde-workspace
|
2013-07-03 02:16:57 +00:00
|
|
|
version=4.10.5
|
2013-06-17 08:45:17 +00:00
|
|
|
revision=1
|
|
|
|
short_desc="Provides the interface and basic tools for the KDE workspace"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL, LGPL, FDL"
|
|
|
|
homepage="http://www.kde.org"
|
|
|
|
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
|
2013-07-03 02:16:57 +00:00
|
|
|
checksum=a346420258f96475b47a7e3a78945fc38c10d4732b01d8fc371d11dcad56e875
|
2013-06-17 08:45:17 +00:00
|
|
|
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DKDE4_BUILD_TESTS=OFF -DWITH_Xmms=OFF -DWITH_Googlegadgets=OFF
|
|
|
|
-DWITH_libgps=OFF -DWITH_CkConnector=OFF -DSYSCONFDIR=/etc"
|
|
|
|
|
|
|
|
# XXX raw1394, qalculate, prison.
|
|
|
|
hostmakedepends="cmake automoc4 pkg-config"
|
|
|
|
makedepends="openssl-devel qt-devel phonon-devel libdbusmenu-qt-devel strigi-devel
|
|
|
|
soprano-devel kdelibs-devel>=${version} kactivities-devel>=${version}
|
|
|
|
qimageblitz-devel xcb-util-image-devel xcb-util-renderutil-devel boost-devel
|
|
|
|
libjpeg-turbo-devel libpng-devel libXcursor-devel libXi-devel libxkbfile-devel
|
|
|
|
libXrandr-devel libXfixes-devel libSM-devel libXcomposite-devel libXdamage-devel
|
|
|
|
libXtst-devel libXft-devel glib-devel fontconfig-devel nepomuk-core-devel>=${version}
|
|
|
|
akonadi-devel kdepimlibs-devel>=${version} qjson-devel libsensors-devel
|
|
|
|
NetworkManager-devel pciutils-devel MesaLib-devel pam-devel libusb-compat-devel
|
|
|
|
kde-wallpapers>=${version} kde-base-artwork>=${version}"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vmkdir etc/pam.d
|
|
|
|
for f in kde kde-np kscreensaver; do
|
|
|
|
install -m644 ${FILESDIR}/${f}.pam ${DESTDIR}/etc/pam.d/${f}
|
|
|
|
done
|
|
|
|
vinstall ${FILESDIR}/kdm.service 644 usr/lib/systemd/system
|
|
|
|
|
|
|
|
vmkdir usr/share/xsessions
|
|
|
|
ln -sf /usr/share/apps/kdm/sessions/kde-plasma{,-safe}.desktop \
|
|
|
|
${DESTDIR}/usr/share/xsessions
|
|
|
|
}
|
|
|
|
|
|
|
|
kde-workspace-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove usr/share/apps/cmake
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
kde-workspace_package() {
|
|
|
|
depends="python kde-wallpapers>=${version} kde-base-artwork>=${version}"
|
|
|
|
conf_files="
|
|
|
|
/etc/ksysguarddrc
|
|
|
|
/etc/pam.d/kde-np.pam
|
|
|
|
/etc/pam.d/kde.pam
|
|
|
|
/etc/pam.d/kscreensaver.pam
|
|
|
|
/usr/share/config/kdm/kdmrc"
|
|
|
|
system_accounts="kdm"
|
|
|
|
kdm_homedir="/var/lib/kdm"
|
|
|
|
make_dirs="
|
|
|
|
/etc/kde/env 0755 root root
|
|
|
|
/etc/kde/shutdown 0755 root root
|
|
|
|
/var/lib/kdm 0755 kdm kdm"
|
|
|
|
pycompile_module="PyKDE4"
|
|
|
|
pkg_install() {
|
|
|
|
vmove all
|
|
|
|
}
|
|
|
|
}
|