summary refs log tree commit diff
path: root/pkgs/applications/emulators/retrofe
diff options
context:
space:
mode:
authorChristoph Hrdinka <c.git@hrdinka.at>2022-05-14 13:51:42 +0200
committerChristoph Hrdinka <c.git@hrdinka.at>2022-05-14 13:56:11 +0200
commit34692651017d4033d19026f2e2b5178635878d40 (patch)
treef1ccf3f85bd749cb267db3cd75e7183cb6182af3 /pkgs/applications/emulators/retrofe
parentcca7c716c29a15e6653cb3fc4d7e08eacb726993 (diff)
downloadnixpkgs-34692651017d4033d19026f2e2b5178635878d40.tar
nixpkgs-34692651017d4033d19026f2e2b5178635878d40.tar.gz
nixpkgs-34692651017d4033d19026f2e2b5178635878d40.tar.bz2
nixpkgs-34692651017d4033d19026f2e2b5178635878d40.tar.lz
nixpkgs-34692651017d4033d19026f2e2b5178635878d40.tar.xz
nixpkgs-34692651017d4033d19026f2e2b5178635878d40.tar.zst
nixpkgs-34692651017d4033d19026f2e2b5178635878d40.zip
retrofe: 0.6.169 -> 0.10.31
Update to newest version and new repo/website location.
Diffstat (limited to 'pkgs/applications/emulators/retrofe')
-rw-r--r--pkgs/applications/emulators/retrofe/default.nix18
-rw-r--r--pkgs/applications/emulators/retrofe/include-paths.patch11
2 files changed, 8 insertions, 21 deletions
diff --git a/pkgs/applications/emulators/retrofe/default.nix b/pkgs/applications/emulators/retrofe/default.nix
index dc1a23f33b3..2a0b41ba2b6 100644
--- a/pkgs/applications/emulators/retrofe/default.nix
+++ b/pkgs/applications/emulators/retrofe/default.nix
@@ -1,15 +1,16 @@
-{ lib, stdenv, fetchhg, cmake, glib, gst_all_1, makeWrapper, pkg-config
+{ lib, stdenv, fetchFromGitHub, cmake, glib, gst_all_1, makeWrapper, pkg-config
 , python2, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, sqlite, zlib, runtimeShell
 }:
 
 stdenv.mkDerivation {
   pname = "retrofe";
-  version = "0.6.169";
+  version = "0.10.31";
 
-  src = fetchhg {
-    url = "https://bitbucket.org/teamretro/retrofe";
-    rev = "8793e03";
-    sha256 = "0cvsg07ff0fdqh5zgiv2fs7s6c98hn150kpxmpw5fn6jilaszwkm";
+  src = fetchFromGitHub {
+    owner = "phulshof";
+    repo = "RetroFE";
+    rev = "2ddd65a76210d241031c4ac9268255f311df25d1";
+    sha256 = "sha256-uBfECbU2Df/pPpEXXq62S7Ec0YU4lPIsZ8k5UmKD7xQ=";
   };
 
   nativeBuildInputs = [ cmake makeWrapper pkg-config python2 ];
@@ -18,12 +19,9 @@ stdenv.mkDerivation {
     glib gst_all_1.gstreamer SDL2 SDL2_image SDL2_mixer SDL2_ttf sqlite zlib
   ] ++ (with gst_all_1; [ gst-libav gst-plugins-base gst-plugins-good ]);
 
-  patches = [ ./include-paths.patch ];
-
   configurePhase = ''
     cmake RetroFE/Source -BRetroFE/Build -DCMAKE_BUILD_TYPE=Release \
       -DVERSION_MAJOR=0 -DVERSION_MINOR=0 -DVERSION_BUILD=0 \
-      -DGSTREAMER_BASE_INCLUDE_DIRS='${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0'
   '';
 
   buildPhase = ''
@@ -70,7 +68,7 @@ stdenv.mkDerivation {
 
   meta = with lib; {
     description = "A frontend for arcade cabinets and media PCs";
-    homepage = "http://retrofe.com";
+    homepage = "http://retrofe.nl/";
     license = licenses.gpl3Plus;
     maintainers = with maintainers; [ hrdinka ];
     platforms = with platforms; linux;
diff --git a/pkgs/applications/emulators/retrofe/include-paths.patch b/pkgs/applications/emulators/retrofe/include-paths.patch
deleted file mode 100644
index 02eef2594ea..00000000000
--- a/pkgs/applications/emulators/retrofe/include-paths.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ur RetroFE.1/RetroFE/Source/CMakeLists.txt RetroFE.2/RetroFE/Source/CMakeLists.txt
---- RetroFE.1/RetroFE/Source/CMakeLists.txt	2016-02-21 14:52:36.726070602 +0100
-+++ RetroFE.2/RetroFE/Source/CMakeLists.txt	2016-02-21 14:38:43.036249029 +0100
-@@ -59,6 +59,7 @@
- set(RETROFE_INCLUDE_DIRS

- 	"${GLIB2_INCLUDE_DIRS}"

- 	"${GSTREAMER_INCLUDE_DIRS}"

-+	"${GSTREAMER_BASE_INCLUDE_DIRS}"

- 	"${SDL2_INCLUDE_DIRS}"

- 	"${SDL2_IMAGE_INCLUDE_DIRS}"

- 	"${SDL2_MIXER_INCLUDE_DIRS}"