2013-06-17 08:45:17 +00:00
|
|
|
# Template file for 'kde-workspace'
|
|
|
|
pkgname=kde-workspace
|
2013-12-17 10:54:17 +00:00
|
|
|
version=4.11.4
|
2013-12-23 09:15:43 +00:00
|
|
|
revision=2
|
2013-06-17 08:45:17 +00:00
|
|
|
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-12-17 10:54:17 +00:00
|
|
|
checksum=13420aeac5a6e0143f497fe988e6396f62d12862ae33ea1e1139d8137c07f16f
|
2013-06-17 08:45:17 +00:00
|
|
|
|
|
|
|
build_style=cmake
|
2013-12-17 10:54:17 +00:00
|
|
|
configure_args="-DKDE4_BUILD_TESTS=OFF -DSYSCONF_INSTALL_DIR=/etc
|
|
|
|
-DWITH_Xmms=OFF -DWITH_libgps=OFF -DWITH_CkConnector=OFF
|
|
|
|
-DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2"
|
2013-06-17 08:45:17 +00:00
|
|
|
|
2013-09-04 15:03:21 +00:00
|
|
|
# XXX qalculate, prison.
|
2013-06-17 08:45:17 +00:00
|
|
|
hostmakedepends="cmake automoc4 pkg-config"
|
|
|
|
makedepends="openssl-devel qt-devel phonon-devel libdbusmenu-qt-devel strigi-devel
|
2013-09-04 15:03:21 +00:00
|
|
|
soprano-devel kdelibs-devel>=${version} kactivities-devel>=${version} xcb-util-keysyms-devel
|
2013-06-17 08:45:17 +00:00
|
|
|
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}
|
2013-12-17 10:54:17 +00:00
|
|
|
akonadi-devel kdepimlibs-devel>=${version} qjson-devel libsensors-devel wayland-devel
|
2013-06-17 08:45:17 +00:00
|
|
|
NetworkManager-devel pciutils-devel MesaLib-devel pam-devel libusb-compat-devel
|
2013-09-05 06:18:56 +00:00
|
|
|
libraw1394-devel python-devel kde-wallpapers>=${version} kde-base-artwork>=${version}"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="kde-wallpapers>=${version} kde-base-artwork>=${version}"
|
|
|
|
conf_files="
|
|
|
|
/etc/kdm/kdmrc
|
|
|
|
/etc/ksysguarddrc
|
|
|
|
/etc/pam.d/kde-np.pam
|
|
|
|
/etc/pam.d/kde.pam
|
|
|
|
/etc/pam.d/kscreensaver.pam"
|
|
|
|
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"
|
2013-06-17 08:45:17 +00:00
|
|
|
|
2013-12-17 10:54:17 +00:00
|
|
|
pre_configure() {
|
|
|
|
sed -e "s,@PKG_SYSCONFDIR@,/etc,g" -i kdm/kcm/main.cpp
|
|
|
|
}
|
|
|
|
|
2013-06-17 08:45:17 +00:00
|
|
|
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
|
2013-12-17 10:54:17 +00:00
|
|
|
|
|
|
|
install -Dm644 ${DESTDIR}/usr/share/config/kdm/kdmrc \
|
|
|
|
${DESTDIR}/etc/kdm/kdmrc
|
2013-06-17 08:45:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-17 10:54:17 +00:00
|
|
|
kde-python_package() {
|
|
|
|
short_desc+=" - Python 2 bindings"
|
|
|
|
pycompile_module="PyKDE4"
|
|
|
|
pycompile_dirs="usr/share/apps/plasma_scriptengine_python"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python2.7
|
|
|
|
vmove usr/share/apps/plasma_scriptengine_python
|
|
|
|
vmove "/usr/share/kde4/services/plasma-scriptengine*"
|
|
|
|
}
|
|
|
|
}
|