24 src = fetchFromGitHub {
27 rev = "2ddd65a76210d241031c4ac9268255f311df25d1";
28 sha256 = "sha256-uBfECbU2Df/pPpEXXq62S7Ec0YU4lPIsZ8k5UmKD7xQ=";
56 cmake RetroFE/Source -BRetroFE/Build -DCMAKE_BUILD_TYPE=Release \
57 -DVERSION_MAJOR=0 -DVERSION_MINOR=0 -DVERSION_BUILD=0 \
61 cmake --build RetroFE/Build
62 python Scripts/Package.py --os=linux --build=full
67 mkdir -p $out/share/retrofe
68 cp -r Artifacts/linux/RetroFE $out/share/retrofe/example
69 mv $out/share/retrofe/example/retrofe $out/bin/
71 cat > $out/bin/retrofe-init << EOF
74 echo "This will install retrofe's example files into this directory"
75 echo "Example files location: $out/share/retrofe/example/"
78 read -p "Do you want to proceed? [yn] " yn
80 [Yy]* ) cp -r --no-preserve=all $out/share/retrofe/example/* .; break;;
82 * ) echo "Please answer with yes or no.";;
87 chmod +x $out/bin/retrofe-init
92 # retrofe will look for config files in its install path ($out/bin).
93 # When set it will use $RETROFE_PATH instead. Sadly this behaviour isn't
94 # documented well. To make it behave more like as expected it's set to
95 # $PWD by default here.
97 wrapProgram "$out/bin/retrofe" \
98 --prefix GST_PLUGIN_PATH : "$GST_PLUGIN_SYSTEM_PATH_1_0" \
99 --run 'export RETROFE_PATH=''${RETROFE_PATH:-$PWD}'
103 description = "Frontend for arcade cabinets and media PCs";
104 homepage = "http://retrofe.nl/";
105 license = licenses.gpl3Plus;
106 maintainers = with maintainers; [ hrdinka ];
107 platforms = with platforms; linux;