mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
higan-qt: rebuild, fixed dialog command
This commit is contained in:
parent
efce07fbad
commit
b96be540c9
@ -1,5 +1,3 @@
|
||||
# Maintainer: Francesco Marinucci <franzmari [at] chakra-project [dot] it>
|
||||
#
|
||||
# Note: Newer versions of higan do not provide a Qt GUI. We should probably
|
||||
# drop this package at some point, and simply keep the regular, up-to-date
|
||||
# version of higan in the CCR.
|
||||
@ -7,7 +5,7 @@
|
||||
pkgname=higan-qt
|
||||
_pkgname=higan
|
||||
pkgver=094
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Nintendo multi-system emulator'
|
||||
arch=('x86_64')
|
||||
url='http://byuu.org/'
|
||||
@ -20,7 +18,7 @@ conflicts=('higan-gtk' 'higan')
|
||||
source=("https://gitlab.com/higan/higan/repository/archive.tar.gz?ref=v${pkgver}"
|
||||
'higan')
|
||||
md5sums=('7568af5467b435d94ea51f35554647d4'
|
||||
'2dbbb988e9ea452e9c2d5a4c57ea5bdc')
|
||||
'87fe11373998b6e164c3e77abecb23c8')
|
||||
|
||||
_profiles='accuracy balanced performance'
|
||||
|
||||
|
@ -7,7 +7,7 @@ cp -ru /usr/share/higan ~/.config/
|
||||
[ -e /usr/bin/higan-accuracy ] && tag1=accuracy
|
||||
[ -e /usr/bin/higan-balanced ] && tag2=balanced
|
||||
[ -e /usr/bin/higan-performance ] && tag3=performance
|
||||
profile="$(Xdialog --stdout --no-tags --title "higan" --radiolist "Choose a profile" 0 0 0 "$tag1" "Accuracy" off "$tag2" "Balanced" off "$tag3" "Performance" off)"
|
||||
profile="$(dialog --stdout --no-tags --title "higan" --radiolist "Choose a profile" 0 0 0 "$tag1" "Accuracy" off "$tag2" "Balanced" off "$tag3" "Performance" off)"
|
||||
|
||||
# Launch selected profile
|
||||
exec higan-$profile "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user