diff options
author | Antonio Leal <antonioleal@yahoo.com> | 2022-06-17 20:44:02 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-06-18 09:09:59 +0700 |
commit | bc74a792584082818a95160e69a64068c109a1ab (patch) | |
tree | 822797eadcfd6032f054cc1b4d61f3713d52a099 /development | |
parent | 79620417f1d758c3b3c42eb0bb33e3493fceb137 (diff) |
development/notepadqq: Desktop file patched.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/notepadqq/notepadqq.SlackBuild | 4 | ||||
-rw-r--r-- | development/notepadqq/notepadqq.desktop.patch | 30 | ||||
-rw-r--r-- | development/notepadqq/notepadqq.info | 2 |
3 files changed, 34 insertions, 2 deletions
diff --git a/development/notepadqq/notepadqq.SlackBuild b/development/notepadqq/notepadqq.SlackBuild index c7fc6706911ea..17e7c6de1b0bb 100644 --- a/development/notepadqq/notepadqq.SlackBuild +++ b/development/notepadqq/notepadqq.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=notepadqq VERSION=${VERSION:-1.4.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -85,6 +85,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG INSTALL_ROOT=$PKG +patch $PKG/usr/share/applications/notepadqq.desktop $CWD/notepadqq.desktop.patch + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/development/notepadqq/notepadqq.desktop.patch b/development/notepadqq/notepadqq.desktop.patch new file mode 100644 index 0000000000000..9f104de34beb7 --- /dev/null +++ b/development/notepadqq/notepadqq.desktop.patch @@ -0,0 +1,30 @@ +--- notepadqq.desktop 2022-06-10 15:08:20.381029816 +0100 ++++ notepadqq.desktop.new 2022-06-10 15:14:23.869057090 +0100 +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + Name=Notepadqq + Name[de_DE]=Notepadqq + Name[fr]=Notepadqq +@@ -24,7 +23,7 @@ + StartupNotify=false + MimeType=text/plain;text/html;text/x-php;text/x-c;text/x-shellscript; + Icon=notepadqq +-Categories=Development;Utility;TextEditor; ++Categories=Categories=Qt;KDE;Utility;TextEditor; + Actions=Window;Document; + + [Desktop Action Window] +@@ -77,7 +76,6 @@ + Name[zh_HK]=開啟新的視窗 + Name[zh_TW]=開啟新的視窗 + Exec=notepadqq --new-window +-OnlyShowIn=Unity; + + [Desktop Action Document] + Name=Open a New Document +@@ -129,4 +127,3 @@ + Name[zh_HK]=開啟新的文件 + Name[zh_TW]=開啟新的文件 + Exec=notepadqq +-OnlyShowIn=Unity; diff --git a/development/notepadqq/notepadqq.info b/development/notepadqq/notepadqq.info index c0da3cbc7b7d4..6014011b6b5b7 100644 --- a/development/notepadqq/notepadqq.info +++ b/development/notepadqq/notepadqq.info @@ -1,7 +1,7 @@ PRGNAM="notepadqq" VERSION="1.4.0" HOMEPAGE="http://https://notepadqq.com" -DOWNLOAD="https://github.com/notepadqq/notepadqq/archive/v1.4.0/notepadqq-1.4.0.tar.gz" +DOWNLOAD="https://github.com/notepadqq/notepadqq/archive/1.4.0/notepadqq-1.4.0.tar.gz" MD5SUM="67e1ec78abb43ab29d8650c4eef0356b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |