development/notepadqq: Desktop file patched.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
79620417f1
commit
bc74a79258
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in New Issue