summaryrefslogtreecommitdiff
path: root/user/rocs
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-05 20:12:34 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-05 20:12:56 +0000
commitc16b7147097e6052bb643518cb07b205d187b12f (patch)
treec794da00e208d05eba0c88d678b5823fc69480ba /user/rocs
parentb2997ede702a824a09454b6adc6a03dd196095b0 (diff)
downloadpackages-c16b7147097e6052bb643518cb07b205d187b12f.tar.gz
packages-c16b7147097e6052bb643518cb07b205d187b12f.tar.bz2
packages-c16b7147097e6052bb643518cb07b205d187b12f.tar.xz
packages-c16b7147097e6052bb643518cb07b205d187b12f.zip
user/[KDE]: Upgrade the rest of KDE to current versions
Diffstat (limited to 'user/rocs')
-rw-r--r--user/rocs/APKBUILD14
-rw-r--r--user/rocs/webkit.patch11
2 files changed, 18 insertions, 7 deletions
diff --git a/user/rocs/APKBUILD b/user/rocs/APKBUILD
index a679afb20..792ad2e1d 100644
--- a/user/rocs/APKBUILD
+++ b/user/rocs/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=rocs
-pkgver=19.08.2
+pkgver=19.12.0
pkgrel=0
pkgdesc="Graph theory IDE"
url="https://www.kde.org/applications/education/rocs/"
@@ -14,10 +14,11 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev kdoctools-dev boost-dev
karchive-dev kconfig-dev kcoreaddons-dev kcrash-dev kdeclarative-dev
ki18n-dev kitemviews-dev ktexteditor-dev kxmlgui-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/rocs-$pkgver.tar.xz"
+source="https://download.kde.org/stable/release-service/$pkgver/src/rocs-$pkgver.tar.xz
+ webkit.patch
+ "
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -28,18 +29,17 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} .
make
}
check() {
- cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="2832a0dfe83076100357c86eeb3ad0fccf55f667bd4b86c0cd8bd2db21f8b323a524d3016db9509f7bfee1837820d9bcdac0dc4dd8a4e5d2af020f8102b4aa0d rocs-19.08.2.tar.xz"
+sha512sums="11d9c6a0e6234c86752e07b5037ddd066673459c9f2bc1a779bfe54a06bce796af01b79af811c056f59ffcc85233ab357502a3597eeb21b5112d0f681cb51c6a rocs-19.12.0.tar.xz
+0ed6660f78096d0f6b53e563f7c632dd1616beda4032a3a6556aef20dc1c79f6a31b93a377b005a1d3acaecd9da7b20ae8c0b3e7e36d97ef65837b207d3e94b3 webkit.patch"
diff --git a/user/rocs/webkit.patch b/user/rocs/webkit.patch
new file mode 100644
index 000000000..87ba9e747
--- /dev/null
+++ b/user/rocs/webkit.patch
@@ -0,0 +1,11 @@
+--- rocs-19.12.0/src/CMakeLists.txt.old 2019-12-05 19:44:59.000000000 +0000
++++ rocs-19.12.0/src/CMakeLists.txt 2020-01-05 05:05:52.820317770 +0000
+@@ -103,7 +103,7 @@
+ Qt5::Core
+ Qt5::Quick
+ Qt5::QuickWidgets
+- Qt5::WebKit
++ Qt5::WebKitLegacy
+ Qt5::WebKitWidgets
+ Qt5::XmlPatterns
+ )