cutter: update to 2.1.0.
This commit is contained in:
parent
be5572d105
commit
d4ef6e224d
3 changed files with 16 additions and 50 deletions
1
srcpkgs/cutter-devel
Symbolic link
1
srcpkgs/cutter-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
cutter
|
|
@ -1,43 +0,0 @@
|
|||
diff --git a/src/common/Configuration.cpp b/src/common/Configuration.cpp
|
||||
index 3c309e83..47019165 100644
|
||||
--- a/src/common/Configuration.cpp
|
||||
+++ b/src/common/Configuration.cpp
|
||||
@@ -7,9 +7,9 @@
|
||||
#include <QApplication>
|
||||
|
||||
#ifdef CUTTER_ENABLE_KSYNTAXHIGHLIGHTING
|
||||
-# include <KSyntaxHighlighting/repository.h>
|
||||
-# include <KSyntaxHighlighting/theme.h>
|
||||
-# include <KSyntaxHighlighting/definition.h>
|
||||
+# include <repository.h>
|
||||
+# include <theme.h>
|
||||
+# include <definition.h>
|
||||
#endif
|
||||
|
||||
#include "common/ColorThemeWorker.h"
|
||||
diff --git a/src/common/SyntaxHighlighter.cpp b/src/common/SyntaxHighlighter.cpp
|
||||
index 64a2038e..eebb59f9 100644
|
||||
--- a/src/common/SyntaxHighlighter.cpp
|
||||
+++ b/src/common/SyntaxHighlighter.cpp
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
# include "Configuration.h"
|
||||
|
||||
-# include <KSyntaxHighlighting/theme.h>
|
||||
+# include <theme.h>
|
||||
|
||||
SyntaxHighlighter::SyntaxHighlighter(QTextDocument *document)
|
||||
: KSyntaxHighlighting::SyntaxHighlighter(document)
|
||||
diff --git a/src/common/SyntaxHighlighter.h b/src/common/SyntaxHighlighter.h
|
||||
index b9e88970..a21b4ec2 100644
|
||||
--- a/src/common/SyntaxHighlighter.h
|
||||
+++ b/src/common/SyntaxHighlighter.h
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#ifdef CUTTER_ENABLE_KSYNTAXHIGHLIGHTING
|
||||
|
||||
-# include <KSyntaxHighlighting/syntaxhighlighter.h>
|
||||
+# include <syntaxhighlighter.h>
|
||||
|
||||
class SyntaxHighlighter : public KSyntaxHighlighting::SyntaxHighlighter
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'cutter'
|
||||
pkgname=cutter
|
||||
version=2.0.5
|
||||
version=2.1.0
|
||||
revision=1
|
||||
_translations_commit="974298653ba71b958e1b6c83f6011f5fefff6236"
|
||||
_translations_commit="67f5c654523d22c7843811e5aa852a01742f6f12"
|
||||
build_style=cmake
|
||||
configure_args="-DCUTTER_EXTRA_PLUGIN_DIRS=/usr/lib/rizin/Cutter/plugins
|
||||
configure_args="-DCUTTER_EXTRA_PLUGIN_DIRS=/usr/lib/rizin/cutter/plugins
|
||||
-DCUTTER_ENABLE_PYTHON=ON -DCUTTER_ENABLE_PYTHON_BINDINGS=OFF
|
||||
-DCUTTER_ENABLE_GRAPHVIZ=ON -DCUTTER_ENABLE_KSYNTAXHIGHLIGHTING=ON
|
||||
-DCUTTER_USE_BUNDLED_RIZIN=OFF -DCUTTER_USE_ADDITIONAL_RIZIN_PATHS=OFF
|
||||
|
@ -17,13 +17,21 @@ short_desc="GUI for radare2 written in C++ and QT"
|
|||
maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
|
||||
license="GPL-3.0-only"
|
||||
homepage="https://cutter.re"
|
||||
distfiles="https://github.com/rizinorg/${pkgname}/archive/refs/tags/v${version}.tar.gz
|
||||
distfiles="https://github.com/rizinorg/cutter/archive/refs/tags/v${version}.tar.gz
|
||||
https://github.com/rizinorg/cutter-translations/archive/${_translations_commit}.tar.gz"
|
||||
checksum="c206cc72443b989b7306cbc1ec5c85206a5feb5e7dc8621fe4f03876b9e447ab
|
||||
9a9d42769c1e9364dfc694968b05994d02ea840813a33b16ca6a6cbe80c90069"
|
||||
|
||||
checksum="60aacead1604c2dc8afad4239732ad10d5882ab38828e695c0f53d1e134c2a5c
|
||||
12a06a7f977cf7c6d28e1d466cb9e421edb2d26c36e838d02292e5e45bc326c5"
|
||||
|
||||
post_extract() {
|
||||
rmdir src/translations
|
||||
mv "${XBPS_BUILDDIR}/cutter-translations-${_translations_commit}" "src/translations"
|
||||
}
|
||||
|
||||
cutter-devel_package() {
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/cmake
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue