mirror of
https://github.com/moparisthebest/arch-ppa
synced 2024-12-21 14:08:48 -05:00
update redis-desktop-manager
This commit is contained in:
parent
45356dff2c
commit
56a135fb4a
@ -1,12 +1,14 @@
|
||||
# Maintainer: Vyacheslav Konovalov <echo dnlhY2hrb25vdmFsb3ZAZ21haWwuY29tCg== | base64 -d>
|
||||
# Maintainer: Versus Void <chaoskeeper @ mail FULL STOP ru>
|
||||
# Maintainer: Mehmet Ozgur Bayhan <mozgurbayhan@gmail.com>
|
||||
# Contributor: Vyacheslav Konovalov <echo dnlhY2hrb25vdmFsb3ZAZ21haWwuY29tCg== | base64 -d>
|
||||
|
||||
pkgname=redis-desktop-manager
|
||||
pkgver=2019.3
|
||||
pkgver=2019.5
|
||||
pkgrel=1
|
||||
pkgdesc='Open source cross-platform Redis Desktop Manager based on Qt 5'
|
||||
arch=('x86_64')
|
||||
url="https://redisdesktop.com/"
|
||||
license=('GPLv3')
|
||||
license=('GPL3')
|
||||
depends=(
|
||||
'qt5-base'
|
||||
'qt5-imageformats'
|
||||
@ -17,45 +19,35 @@ depends=(
|
||||
'qt5-charts'
|
||||
'qt5-graphicaleffects'
|
||||
'qt5-svg'
|
||||
'libssh2')
|
||||
makedepends=('git' 'gcc' 'python2' 'python')
|
||||
'libssh2'
|
||||
'python')
|
||||
makedepends=('git' 'gcc')
|
||||
conflicts=('redis-desktop-manager-bin')
|
||||
source=("rdm::git://github.com/uglide/RedisDesktopManager.git#tag=$pkgver"
|
||||
'rdm.sh'
|
||||
'rdm.desktop')
|
||||
'rdm.desktop'
|
||||
'link-python.patch')
|
||||
sha256sums=('SKIP'
|
||||
'f469d9a5adce723904efe0f1b1db5d79807410f90aafb117f18ae108d8b2d391'
|
||||
'9ca6cfe0fc1a050552ec2fa009a2d517de3b049ff6f379f0fda849e4dbca3f68')
|
||||
'9ca6cfe0fc1a050552ec2fa009a2d517de3b049ff6f379f0fda849e4dbca3f68'
|
||||
'428d2758345059f844dee05bbc6d06eecf82f6cbd3f1a8a308fe4f54cadb43ce')
|
||||
|
||||
prepare() {
|
||||
cd rdm/
|
||||
git apply ../link-python.patch
|
||||
git submodule update --init --recursive
|
||||
git submodule add https://chromium.googlesource.com/linux-syscall-support 3rdparty/linux-syscall-support
|
||||
|
||||
python2 build/utils/set_version.py "$pkgver" > src/version.h
|
||||
python2 build/utils/set_version.py "$pkgver" > 3rdparty/crashreporter/src/version.h
|
||||
python build/utils/set_version.py "$pkgver" > src/version.h
|
||||
|
||||
_lssdir='3rdparty/gbreakpad/src/third_party/lss/'
|
||||
mkdir -p ${_lssdir}
|
||||
cp 3rdparty/linux-syscall-support/linux_syscall_support.h ${_lssdir}
|
||||
cd 3rdparty/gbreakpad
|
||||
touch README
|
||||
touch 3rdparty/gbreakpad/README
|
||||
}
|
||||
|
||||
build() {
|
||||
rm -rf $srcdir/rdm/bin
|
||||
|
||||
cd $srcdir/rdm/3rdparty/crashreporter
|
||||
sed -ie 's/(APP_NAME)/("RedisDesktopManager")/g' src/main.cpp
|
||||
sed -ie "s/(APP_VERSION)/(\"$pkgver\")/g" src/main.cpp
|
||||
sed -ie 's/(CRASH_SERVER_URL)/("\/crash-report")/g' src/main.cpp
|
||||
qmake CONFIG+=release DESTDIR="$srcdir/rdm/bin/linux/release" QMAKE_LFLAGS_RPATH=""
|
||||
make -j 2
|
||||
|
||||
cd $srcdir/rdm/3rdparty/gbreakpad
|
||||
./configure
|
||||
make -j 2
|
||||
|
||||
cd $srcdir/rdm/src
|
||||
qmake && make
|
||||
}
|
||||
@ -71,7 +63,6 @@ package() {
|
||||
|
||||
install -Dm644 "$srcdir/rdm/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
install -Dm755 "${_instdir}/rdm" "${_bindir}/rdm"
|
||||
install -Dm755 "${_instdir}/crashreporter" "${_bindir}/crashreporter"
|
||||
install -Dm755 "$srcdir/rdm.sh" "${_bindir}/rdm.sh"
|
||||
install -Dm644 "$srcdir/rdm/src/resources/images/rdm.png" "$pkgdir/usr/share/pixmaps/rdm.png"
|
||||
install -Dm644 "$srcdir/rdm.desktop" "$pkgdir/usr/share/applications/rdm.desktop"
|
||||
|
Loading…
Reference in New Issue
Block a user