mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
Fix dosbox's .desktop issue.
This commit is contained in:
parent
b6bbde8900
commit
9824a0e024
@ -1,27 +1,24 @@
|
|||||||
#
|
|
||||||
# Chakra Packages for Chakra, part of chakra-project.org
|
|
||||||
#
|
|
||||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
||||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
||||||
|
|
||||||
pkgname=dosbox
|
pkgname=dosbox
|
||||||
pkgver=0.74
|
pkgver=0.74
|
||||||
pkgrel=5
|
pkgrel=6
|
||||||
pkgdesc="An emulator with builtin DOS for running DOS Games"
|
pkgdesc="An emulator with builtin DOS for running DOS Games"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://dosbox.sourceforge.net/"
|
url="http://dosbox.sourceforge.net/"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('sdl_net' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs' 'zlib')
|
depends=('sdl_net' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs' 'zlib' 'glu')
|
||||||
makedepends=('mesa')
|
makedepends=('mesa-libgl' 'gendesk')
|
||||||
categories=('games' 'system')
|
categories=('games' 'system')
|
||||||
source=("http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz"
|
source=("http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz"
|
||||||
'dosbox.png' 'dosbox.desktop' 'gcc46.patch')
|
'dosbox.png'
|
||||||
|
'gcc46.patch')
|
||||||
md5sums=('b9b240fa87104421962d14eee71351e8'
|
md5sums=('b9b240fa87104421962d14eee71351e8'
|
||||||
'2aac25fc06979e375953fcc36824dc5e'
|
'2aac25fc06979e375953fcc36824dc5e'
|
||||||
'85169ca599028bee8e29e0b3b7b34dd8'
|
|
||||||
'3fba2e3c7c43290319b2928f40ed30e5')
|
'3fba2e3c7c43290319b2928f40ed30e5')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
cd ${srcdir}
|
||||||
|
gendesk --pkgname ${pkgname} --pkgdesc ${pkgdesc}
|
||||||
|
|
||||||
cd ${srcdir}/${pkgname}-${pkgver}
|
cd ${srcdir}/${pkgname}-${pkgver}
|
||||||
patch -Np1 -i "$srcdir/gcc46.patch"
|
patch -Np1 -i "$srcdir/gcc46.patch"
|
||||||
sed -i 's/png_check_sig/png_sig_cmp/' configure
|
sed -i 's/png_check_sig/png_sig_cmp/' configure
|
||||||
@ -30,8 +27,7 @@ prepare() {
|
|||||||
build(){
|
build(){
|
||||||
cd ${srcdir}/${pkgname}-${pkgver}
|
cd ${srcdir}/${pkgname}-${pkgver}
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr --sysconfdir=/etc/dosbox
|
||||||
--sysconfdir=/etc/dosbox
|
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Encoding=UTF-8
|
|
||||||
Name=dosbox Emulator
|
|
||||||
GenericName=Emulator
|
|
||||||
Comment=An emulator to run old DOS games
|
|
||||||
Icon=dosbox
|
|
||||||
Exec=dosbox
|
|
||||||
Terminal=false
|
|
||||||
Categories=Emulator;Application;
|
|
Loading…
Reference in New Issue
Block a user