parent
f0b18fc2d0
commit
d6655e2dec
5 changed files with 67 additions and 0 deletions
|
@ -3057,3 +3057,8 @@ libembb_base_c.so embb-devel-1.0.0_1
|
||||||
libmatio.so.4 matio-1.5.11_1
|
libmatio.so.4 matio-1.5.11_1
|
||||||
libhpdf.so Haru-devel-2.3.0_1
|
libhpdf.so Haru-devel-2.3.0_1
|
||||||
libKF5Contacts.so.5 kcontacts-17.12.0_1
|
libKF5Contacts.so.5 kcontacts-17.12.0_1
|
||||||
|
libKF5AkonadiPrivate.so.5 akonadi5-17.12.0_1
|
||||||
|
libKF5AkonadiCore.so.5 akonadi5-17.12.0_1
|
||||||
|
libKF5AkonadiAgentBase.so.5 akonadi5-17.12.0_1
|
||||||
|
libKF5AkonadiWidgets.so.5 akonadi5-17.12.0_1
|
||||||
|
libKF5AkonadiXml.so.5 akonadi5-17.12.0_1
|
||||||
|
|
1
srcpkgs/akonadi5-devel
Symbolic link
1
srcpkgs/akonadi5-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
akonadi5
|
13
srcpkgs/akonadi5/patches/protocolgen-cross.patch
Normal file
13
srcpkgs/akonadi5/patches/protocolgen-cross.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
--- src/private/protocolgen/CMakeLists.txt 2018-01-09 20:34:31.345972552 +0100
|
||||||
|
+++ src/private/protocolgen/CMakeLists.txt 2018-01-09 20:45:14.393984830 +0100
|
||||||
|
@@ -1,5 +1,10 @@
|
||||||
|
project(protocolgen)
|
||||||
|
|
||||||
|
+IF(CMAKE_CROSSCOMPILING)
|
||||||
|
+ SET(CMAKE_CXX_COMPILER $ENV{CXX_host})
|
||||||
|
+ SET(CMAKE_CXX_FLAGS $ENV{XBPS_CXXFLAGS})
|
||||||
|
+ENDIF(CMAKE_CROSSCOMPILING)
|
||||||
|
+
|
||||||
|
set(protocolgen_SRCS
|
||||||
|
main.cpp
|
||||||
|
cppgenerator.cpp
|
46
srcpkgs/akonadi5/template
Normal file
46
srcpkgs/akonadi5/template
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
# Template file for 'akonadi5'
|
||||||
|
pkgname=akonadi5
|
||||||
|
version=17.12.1
|
||||||
|
revision=1
|
||||||
|
build_style=cmake
|
||||||
|
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python
|
||||||
|
shared-mime-info libxslt pkg-config"
|
||||||
|
makedepends="qt5-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql
|
||||||
|
qt5-plugin-sqlite qt5-plugin-tds kcompletion-devel kconfigwidgets-devel
|
||||||
|
kdbusaddons-devel kiconthemes-devel kitemmodels-devel kio-devel sqlite-devel
|
||||||
|
qt5-tools-devel"
|
||||||
|
depends="shared-mime-info"
|
||||||
|
short_desc="PIM layer providing an asynchronous API to access PIM data"
|
||||||
|
conflicts="akonadi"
|
||||||
|
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
||||||
|
license="LGPL-2.1"
|
||||||
|
homepage="https://community.kde.org/KDE_PIM/Akonadi"
|
||||||
|
distfiles="https://download.kde.org/stable/applications/${version}/src/akonadi-${version}.tar.xz"
|
||||||
|
checksum=1d488840bdc4f856b211c01ad31eb66027df41e2a59a8dc4691c99b8ea345c45
|
||||||
|
wrksrc="akonadi-${version}"
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" qt5-tools-devel qt5-devel kconfig"
|
||||||
|
fi
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
sed -e "s?/usr/${XBPS_CROSS_TRIPLET}??g" \
|
||||||
|
-i build/src/private/protocolgen/CMakeFiles/protocolgen.dir/flags.make
|
||||||
|
sed -e "s?/usr/${XBPS_CROSS_TRIPLET}??g" \
|
||||||
|
-i build/src/private/protocolgen/CMakeFiles/protocolgen.dir/link.txt
|
||||||
|
sed -e 's!\&\& protocolgen!\&\& ../../bin/protocolgen!' \
|
||||||
|
-i build/src/private/CMakeFiles/generate_protocol.dir/build.make
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
akonadi5-devel_package() {
|
||||||
|
short_desc+=" - development"
|
||||||
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/qt5/mkspecs
|
||||||
|
vmove usr/lib/cmake
|
||||||
|
vmove usr/lib/*.so
|
||||||
|
}
|
||||||
|
}
|
2
srcpkgs/akonadi5/update
Normal file
2
srcpkgs/akonadi5/update
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
site="https://download.kde.org/stable/applications/"
|
||||||
|
pattern='href="\K[\d\.]+(?=/")'
|
Loading…
Reference in a new issue