diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-03-17 01:23:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-17 01:23:09 +0100 |
commit | c9d54fc5d5cb75ad6fa31c7c31da16eb516c5231 (patch) | |
tree | 4ecd5cfee0add64e80ba3fbbf2eb94267d8b7944 /pkgs/applications/emulators | |
parent | 1f518009c08f44f786502a21acaeb3646571d3b4 (diff) | |
parent | 773de59c1b602822af1e6ed750481cdcb896b6ac (diff) | |
download | nixlib-c9d54fc5d5cb75ad6fa31c7c31da16eb516c5231.tar nixlib-c9d54fc5d5cb75ad6fa31c7c31da16eb516c5231.tar.gz nixlib-c9d54fc5d5cb75ad6fa31c7c31da16eb516c5231.tar.bz2 nixlib-c9d54fc5d5cb75ad6fa31c7c31da16eb516c5231.tar.lz nixlib-c9d54fc5d5cb75ad6fa31c7c31da16eb516c5231.tar.xz nixlib-c9d54fc5d5cb75ad6fa31c7c31da16eb516c5231.tar.zst nixlib-c9d54fc5d5cb75ad6fa31c7c31da16eb516c5231.zip |
Merge pull request #294638 from atorres1985-contrib/fsuae
fsuae: refactor
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r-- | pkgs/applications/emulators/fs-uae/default.nix | 64 | ||||
-rw-r--r-- | pkgs/applications/emulators/fs-uae/launcher.nix | 54 |
2 files changed, 0 insertions, 118 deletions
diff --git a/pkgs/applications/emulators/fs-uae/default.nix b/pkgs/applications/emulators/fs-uae/default.nix deleted file mode 100644 index 8f22a86283ed..000000000000 --- a/pkgs/applications/emulators/fs-uae/default.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, SDL2 -, autoreconfHook -, freetype -, gettext -, glib -, gtk2 -, libGL -, libGLU -, libmpeg2 -, lua -, openal -, pkg-config -, zip -, zlib -}: - -stdenv.mkDerivation (finalAttrs:{ - pname = "fs-uae"; - version = "3.1.66"; - - src = fetchFromGitHub { - owner = "FrodeSolheim"; - repo = "fs-uae"; - rev = "v${finalAttrs.version}"; - hash = "sha256-zPVRPazelmNaxcoCStB0j9b9qwQDTgv3O7Bg3VlW9ys="; - }; - - nativeBuildInputs = [ - autoreconfHook - pkg-config - ]; - - buildInputs = [ - SDL2 - freetype - gettext - glib - gtk2 - libGL - libGLU - libmpeg2 - lua - openal - zip - zlib - ]; - - meta = { - homepage = "https://fs-uae.net"; - description = "An accurate, customizable Amiga Emulator"; - longDescription = '' - FS-UAE integrates the most accurate Amiga emulation code available from - WinUAE. FS-UAE emulates A500, A500+, A600, A1200, A1000, A3000 and A4000 - models, but you can tweak the hardware configuration and create customized - Amigas. - ''; - license = lib.licenses.gpl2Plus; - maintainers = with lib.maintainers; [ AndersonTorres ]; - platforms = [ "i686-linux" "x86_64-linux" ]; - }; -}) diff --git a/pkgs/applications/emulators/fs-uae/launcher.nix b/pkgs/applications/emulators/fs-uae/launcher.nix deleted file mode 100644 index 51349182832a..000000000000 --- a/pkgs/applications/emulators/fs-uae/launcher.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ lib -, stdenv -, fetchurl -, gettext -, python3 -, wrapQtAppsHook -, fsuae -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "fs-uae-launcher"; - version = "3.1.68"; - - src = fetchurl { - url = "https://fs-uae.net/files/FS-UAE-Launcher/Stable/${finalAttrs.version}/fs-uae-launcher-${finalAttrs.version}.tar.xz"; - hash = "sha256-42EERC2yeODx0HPbwr4vmpN80z6WSWi3WzJMOT+OwDA="; - }; - - nativeBuildInputs = [ - gettext - python3 - wrapQtAppsHook - ]; - - buildInputs = with python3.pkgs; [ - pyqt5 - requests - setuptools - ]; - - makeFlags = [ "prefix=$(out)" ]; - - dontWrapQtApps = true; - - preFixup = '' - wrapQtApp "$out/bin/fs-uae-launcher" \ - --set PYTHONPATH "$PYTHONPATH" - - # fs-uae-launcher search side by side for executables and shared files - # see $src/fsgs/plugins/pluginexecutablefinder.py#find_executable - ln -s ${fsuae}/bin/fs-uae $out/bin - ln -s ${fsuae}/bin/fs-uae-device-helper $out/bin - ln -s ${fsuae}/share/fs-uae $out/share/fs-uae - ''; - - meta = { - homepage = "https://fs-uae.net"; - description = "Graphical front-end for the FS-UAE emulator"; - license = lib.licenses.gpl2Plus; - maintainers = with lib.maintainers; [ sander AndersonTorres ]; - platforms = [ "i686-linux" "x86_64-linux" ]; - }; -}) - |