diff options
Diffstat (limited to 'testing/source/vtown/kde/pre-install')
8 files changed, 49 insertions, 0 deletions
diff --git a/testing/source/vtown/kde/pre-install/README b/testing/source/vtown/kde/pre-install/README new file mode 100644 index 000000000..2478e45f9 --- /dev/null +++ b/testing/source/vtown/kde/pre-install/README @@ -0,0 +1,18 @@ + +IMPORTANT! + +To fail/exit a script, use this: + +[command that fails] || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } + +DO NOT USE THIS: + +[command that fails] || exit 1 + +as it will cause the parent script to exit in the wrong location and possibly +silently skip building some packages. + +Thanks, + +The Management + diff --git a/testing/source/vtown/kde/pre-install/alkimia.pre-install b/testing/source/vtown/kde/pre-install/alkimia.pre-install new file mode 100644 index 000000000..a9a19c72a --- /dev/null +++ b/testing/source/vtown/kde/pre-install/alkimia.pre-install @@ -0,0 +1,2 @@ +# https://bugs.kde.org/show_bug.cgi?id=415868 +sed -e '/set(QML_INSTALL_DIR/d' -i qml/CMakeLists.txt diff --git a/testing/source/vtown/kde/pre-install/kapidox.pre-install b/testing/source/vtown/kde/pre-install/kapidox.pre-install new file mode 100644 index 000000000..d3aa1a903 --- /dev/null +++ b/testing/source/vtown/kde/pre-install/kapidox.pre-install @@ -0,0 +1,2 @@ +sed -e "s/os.path.join('share', 'man'/os.path.join('man'/" -i setup.py + diff --git a/testing/source/vtown/kde/pre-install/kdeconnect-kde.pre-install b/testing/source/vtown/kde/pre-install/kdeconnect-kde.pre-install new file mode 100644 index 000000000..e89e2fc8f --- /dev/null +++ b/testing/source/vtown/kde/pre-install/kdeconnect-kde.pre-install @@ -0,0 +1,2 @@ +sed -i -e "s,#add_subdirectory(kio),add_subdirectory(kio)," CMakeLists.txt + diff --git a/testing/source/vtown/kde/pre-install/kdepimlibs4.pre-install b/testing/source/vtown/kde/pre-install/kdepimlibs4.pre-install new file mode 100644 index 000000000..d12070196 --- /dev/null +++ b/testing/source/vtown/kde/pre-install/kdepimlibs4.pre-install @@ -0,0 +1,9 @@ +# Temporary (hopefully) fix: +if ! grep -q 'cmake_minimum_required' CMakeLists.txt ; then + # Prepend a cmake_minimum_required stanza at the top, which enables + # newer cmake features which the build needs: + sed -i -e '1icmake_minimum_required(VERSION 2.8.9)\' CMakeLists.txt +fi + +# Don't build gpgme++ +sed -e '/gpgme++/d' -e '/qgpgme/d' -i CMakeLists.txt diff --git a/testing/source/vtown/kde/pre-install/kdewebdev.pre-install b/testing/source/vtown/kde/pre-install/kdewebdev.pre-install new file mode 100644 index 000000000..6cd51b1cc --- /dev/null +++ b/testing/source/vtown/kde/pre-install/kdewebdev.pre-install @@ -0,0 +1,6 @@ +# First, build and install Tidy: +cd $CWD/pre-install/kdewebdev/tidy + echo "Building htmltidy..." + ARCH=$ARCH sh ./tidy.build $PKG +cd - + diff --git a/testing/source/vtown/kde/pre-install/messagelib.pre-install b/testing/source/vtown/kde/pre-install/messagelib.pre-install new file mode 100644 index 000000000..d4883ff11 --- /dev/null +++ b/testing/source/vtown/kde/pre-install/messagelib.pre-install @@ -0,0 +1,3 @@ +# Temporary workaround for a gpgme cmake bug: +sed -e '/find_package.*QGpgme/d' -i CMakeLists.txt + diff --git a/testing/source/vtown/kde/pre-install/smokekde.pre-install b/testing/source/vtown/kde/pre-install/smokekde.pre-install new file mode 100644 index 000000000..a663cc69b --- /dev/null +++ b/testing/source/vtown/kde/pre-install/smokekde.pre-install @@ -0,0 +1,7 @@ +# Temporary (hopefully) fix: +if ! grep -q 'cmake_minimum_required' CMakeLists.txt ; then + # Prepend a cmake_minimum_required stanza at the top, which enables + # newer cmake features which the build needs: + sed -i -e '1icmake_minimum_required(VERSION 2.8.9)\' CMakeLists.txt +fi + |