meta: Allow the playback of Bluray disks
This commit is contained in:
29
overlays/bluray.nix
Normal file
29
overlays/bluray.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
final: prev:
|
||||
|
||||
let
|
||||
overrideWithAACS = pkgName: prev."${pkgName}".overrideAttrs (old: {
|
||||
buildInputs = with prev; old.buildInputs ++ [ libaacs ];
|
||||
});
|
||||
in {
|
||||
libbluray = prev.libbluray.override {
|
||||
withAACS = true;
|
||||
withBDplus = true;
|
||||
};
|
||||
|
||||
mpvUnwrapped = prev.mpvUnwrapped.overrideAttrs (old: {
|
||||
buildInputs = with prev; old.buildInputs ++ [ libaacs ];
|
||||
});
|
||||
|
||||
vlc = prev.vlc.overrideAttrs (old: {
|
||||
buildInputs = with prev; old.buildInputs ++ [ libaacs ];
|
||||
});
|
||||
|
||||
handbrake = prev.handbrake.overrideAttrs (old: {
|
||||
buildInputs = with prev; old.buildInputs ++ [ libaacs ];
|
||||
});
|
||||
|
||||
/*
|
||||
mpvUnwrapped = overrideWithAACS "mpvUnwrapped";
|
||||
handbrake = overrideWithAACS "handbrake";
|
||||
*/
|
||||
}
|
||||
@@ -1,15 +1,6 @@
|
||||
final: prev:
|
||||
|
||||
{
|
||||
/*
|
||||
mpv = prev.wrapMpv mpv {
|
||||
# Prevent the need for prefixing mpv with DRI_PRIME=1
|
||||
extraMakeWrapperArgs = [
|
||||
"--set" "DRI_PRIME" "1"
|
||||
];
|
||||
};
|
||||
*/
|
||||
|
||||
gajim = prev.gajim.overrideAttrs (old: {
|
||||
# Enable notification sounds
|
||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [ prev.gsound ];
|
||||
@@ -68,18 +59,6 @@ final: prev:
|
||||
];
|
||||
});
|
||||
|
||||
# TODO: Remove once upstream has a new version tagged
|
||||
kasts-git = prev.libsForQt5.kasts.overrideAttrs (old: {
|
||||
src = let
|
||||
commit = "b39be0118ef6ff587b433af185c584f3d5bcec30";
|
||||
in builtins.fetchTarball {
|
||||
url = "https://invent.kde.org/plasma-mobile/kasts/-/archive/${commit}/kasts-${commit}.tar.gz";
|
||||
sha256 = "06myymbwj89357cpg7phha1x8q84mlhcy4f44pdkqmg7lkd5a6df";
|
||||
};
|
||||
|
||||
buildInputs = old.buildInputs ++ [ prev.taglib prev.libsForQt5.qtkeychain ];
|
||||
});
|
||||
|
||||
xournalpp-git = prev.xournalpp.overrideAttrs (old: {
|
||||
version = "1.1.1";
|
||||
src = prev.fetchFromGitHub {
|
||||
|
||||
Reference in New Issue
Block a user