ghex: Avoid showing up a command prompt in windows. (#6444)
* Avoid showing up a command prompt in windows. * ghex: Increase pkgrel.
This commit is contained in:
10
mingw-w64-ghex/003-gui-app.patch
Normal file
10
mingw-w64-ghex/003-gui-app.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
diff --unified --recursive --text --color ghex-3.18.4/src/meson.build ghex-3.18.4-gui/src/meson.build
|
||||
--- ghex-3.18.4/src/meson.build 2019-07-13 14:18:43.000000000 +0800
|
||||
+++ ghex-3.18.4-gui/src/meson.build 2020-05-03 11:25:05.907108600 +0800
|
||||
@@ -97,5 +97,6 @@
|
||||
include_directories: ghex_root_dir,
|
||||
dependencies: ghex_deps + [libghex_dep, ],
|
||||
c_args: ghex_c_args,
|
||||
+ gui_app: true,
|
||||
install: true
|
||||
)
|
||||
@@ -4,7 +4,7 @@ _realname=ghex
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=3.18.4
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A simple binary editor for the Gnome desktop (mingw-w64)"
|
||||
url="https://wiki.gnome.org/Apps/Ghex"
|
||||
arch=('any')
|
||||
@@ -17,15 +17,18 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
install=ghex-${CARCH}.install
|
||||
source=(https://download.gnome.org/sources/${_realname}/${pkgver%.*}/${_realname}-${pkgver}.tar.xz
|
||||
001-nohelp.patch
|
||||
002-fread.patch)
|
||||
002-fread.patch
|
||||
003-gui-app.patch)
|
||||
sha256sums=('c2d9c191ff5bce836618779865bee4059db81a3a0dff38bda3cc7a9e729637c0'
|
||||
'30a351ef0c0b0bc319edec222de5222879b8eecfb58237e5b25c3c1dccf02788'
|
||||
'670d0ac95803ea84e53d2d3ee27bd272599c4cab92501426644bfde9fef3d2ae')
|
||||
'670d0ac95803ea84e53d2d3ee27bd272599c4cab92501426644bfde9fef3d2ae'
|
||||
'e48c7c487bc6a4917c91e3bb08f378916e131ee446b0f2f7bd7666a3478a4141')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}"/${_realname}-${pkgver}
|
||||
patch -Np1 -i ${srcdir}/001-nohelp.patch
|
||||
patch -Np1 -i ${srcdir}/002-fread.patch
|
||||
patch -Np1 -i ${srcdir}/003-gui-app.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
Reference in New Issue
Block a user