vice: 3.1 -> 3.5
This commit is contained in:
parent
d94eebe616
commit
b83b5dc1ec
@ -1,20 +1,63 @@
|
|||||||
{ lib, stdenv, fetchurl, bison, flex, perl, libpng, giflib, libjpeg, alsa-lib, readline, libGLU, libGL, libXaw
|
{ lib
|
||||||
, pkg-config, gtk2, SDL, autoreconfHook, makeDesktopItem
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, bison
|
||||||
|
, flex
|
||||||
|
, perl
|
||||||
|
, libpng
|
||||||
|
, giflib
|
||||||
|
, libjpeg
|
||||||
|
, alsa-lib
|
||||||
|
, readline
|
||||||
|
, libGLU
|
||||||
|
, libGL
|
||||||
|
, libXaw
|
||||||
|
, pkg-config
|
||||||
|
, gtk2
|
||||||
|
, SDL
|
||||||
|
, SDL_image
|
||||||
|
, autoreconfHook
|
||||||
|
, makeDesktopItem
|
||||||
|
, dos2unix
|
||||||
|
, xa
|
||||||
|
, file
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "vice";
|
pname = "vice";
|
||||||
version = "3.1";
|
version = "3.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/vice-emu/vice-${version}.tar.gz";
|
url = "mirror://sourceforge/vice-emu/vice-${version}.tar.gz";
|
||||||
sha256 = "0h0jbml02s2a36hr78dxv1zshmfhxp1wadpcdl09aq416fb1bf1y";
|
sha256 = "sha256-Vrl4+q64solgMr1gTQPDUBACGH7vHKWM7O1A8Rpl3A4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ bison flex perl libpng giflib libjpeg alsa-lib readline libGLU libGL
|
nativeBuildInputs = [
|
||||||
pkg-config gtk2 SDL autoreconfHook libXaw ];
|
autoreconfHook
|
||||||
|
bison
|
||||||
|
dos2unix
|
||||||
|
file
|
||||||
|
flex
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
alsa-lib
|
||||||
|
giflib
|
||||||
|
gtk2
|
||||||
|
libGL
|
||||||
|
libGLU
|
||||||
|
libXaw
|
||||||
|
libjpeg
|
||||||
|
libpng
|
||||||
|
perl
|
||||||
|
readline
|
||||||
|
SDL
|
||||||
|
SDL_image
|
||||||
|
xa
|
||||||
|
];
|
||||||
dontDisableStatic = true;
|
dontDisableStatic = true;
|
||||||
configureFlags = [ "--enable-fullscreen --enable-gnomeui" ];
|
configureFlags = [ "--enable-fullscreen" "--enable-gnomeui" "--disable-pdf-docs" ];
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
name = "vice";
|
name = "vice";
|
||||||
@ -28,16 +71,10 @@ stdenv.mkDerivation rec {
|
|||||||
preBuild = ''
|
preBuild = ''
|
||||||
for i in src/resid src/resid-dtv
|
for i in src/resid src/resid-dtv
|
||||||
do
|
do
|
||||||
mkdir -pv $i/src
|
mkdir -pv $i/src
|
||||||
ln -sv ../../wrap-u-ar.sh $i/src
|
ln -sv ../../wrap-u-ar.sh $i/src
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
patchPhase = ''
|
|
||||||
# Disable font-cache update
|
|
||||||
sed -i -e "s|install: install-data-am|install-no: install-data-am|" data/fonts/Makefile.am
|
|
||||||
'';
|
|
||||||
|
|
||||||
#NIX_LDFLAGS = "-lX11 -L${libX11}/lib";
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/applications
|
mkdir -p $out/share/applications
|
||||||
@ -46,7 +83,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Commodore 64, 128 and other emulators";
|
description = "Commodore 64, 128 and other emulators";
|
||||||
homepage = "http://www.viceteam.org";
|
homepage = "https://vice-emu.sourceforge.io/";
|
||||||
license = lib.licenses.gpl2Plus;
|
license = lib.licenses.gpl2Plus;
|
||||||
maintainers = [ lib.maintainers.sander ];
|
maintainers = [ lib.maintainers.sander ];
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
|
Loading…
Reference in New Issue
Block a user