mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
Merge pull request #39977 from Ma27/update-minitube
minitube: 2.4 -> 2.9
This commit is contained in:
commit
5c63fbdafb
@ -1,21 +1,23 @@
|
||||
{ stdenv, fetchFromGitHub, makeWrapper, phonon, phonon-backend-vlc, qt4, qmake4Hook
|
||||
{ stdenv, fetchFromGitHub, makeWrapper, phonon, phonon-backend-vlc, qtbase, qmake
|
||||
, qtdeclarative, qttools
|
||||
|
||||
# "Free" key generated by nckx <github@tobias.gr>. I no longer have a Google
|
||||
# account. You'll need to generate (and please share :-) a new one if it breaks.
|
||||
, withAPIKey ? "AIzaSyBtFgbln3bu1swQC-naMxMtKh384D3xJZE" }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "minitube-${version}";
|
||||
version = "2.4";
|
||||
version = "2.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "0mm8v2vpspwxh2fqaykb381v6r9apywc1b0x8jkcbp7s43w10lp5";
|
||||
sha256 = "11zkmwqadlgrrghs3rxq0h0fllfnyd3g09d7gdd6vd9r1a1yz73f";
|
||||
rev = version;
|
||||
repo = "minitube";
|
||||
owner = "flaviotordini";
|
||||
};
|
||||
|
||||
buildInputs = [ phonon phonon-backend-vlc qt4 ];
|
||||
nativeBuildInputs = [ makeWrapper qmake4Hook ];
|
||||
buildInputs = [ phonon phonon-backend-vlc qtbase qtdeclarative qttools ];
|
||||
nativeBuildInputs = [ makeWrapper qmake ];
|
||||
|
||||
qmakeFlags = [ "DEFINES+=APP_GOOGLE_API_KEY=${withAPIKey}" ];
|
||||
|
||||
@ -23,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/minitube \
|
||||
--prefix QT_PLUGIN_PATH : "${phonon-backend-vlc}/lib/kde4/plugins"
|
||||
--prefix QT_PLUGIN_PATH : "${phonon-backend-vlc}/lib/qt-5.${stdenv.lib.versions.minor qtbase.version}/plugins"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
@ -36,5 +38,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = https://flavio.tordini.org/minitube;
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ma27 ];
|
||||
};
|
||||
}
|
||||
|
@ -16791,7 +16791,7 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) vmnet;
|
||||
};
|
||||
|
||||
minitube = callPackage ../applications/video/minitube { };
|
||||
minitube = libsForQt5.callPackage ../applications/video/minitube { };
|
||||
|
||||
mimms = callPackage ../applications/audio/mimms {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user