Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vr-video-player and openvr init #95627

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

nyanloutre
Copy link
Member

@nyanloutre nyanloutre commented Aug 16, 2020

Motivation for this change

There still is a problem with the https://git.dec05eba.com/vr-video-player git repository, so I made this a draft PR.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@nyanloutre nyanloutre marked this pull request as ready for review August 24, 2020 20:55
@nyanloutre
Copy link
Member Author

@ofborg build vr-video-player

@stale
Copy link

stale bot commented Jul 21, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 21, 2021
is under SteamVR in Tools on Steam.
'';
license = licenses.bsd3;
homepage = "http://steamvr.com";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
homepage = "http://steamvr.com";
homepage = "https://www.steamvr.com/";

})
];

nativeBuildInputs = [ cmake pkgconfig ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
nativeBuildInputs = [ cmake pkgconfig ];
nativeBuildInputs = [ cmake pkg-config ];

Comment on lines +40 to +42
--add-flags $out/bin/.vr-video-player

'';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
--add-flags $out/bin/.vr-video-player
'';
--add-flags $out/bin/.vr-video-player
'';

sha256 = "sha256-gkpncA/r/Vw/OZrqBWxyJw1y96OhTGVgtcj0+g0dTCc=";
};

nativeBuildInputs = [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please correctly split nativeBuildInputs and buildInputs.

buildPhase = ''
substituteInPlace src/main.cpp \
--replace "config/hellovr_actions.json" "$out/config/hellovr_actions.json"
./build.sh
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
./build.sh
# shellfile with calls the compiler direct
./build.sh

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Nov 2, 2022
@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Mar 20, 2024
@wegank wegank marked this pull request as draft March 20, 2024 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants