This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
1,454 additions
and
1,222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
{ | ||
lib, | ||
mkKdeDerivation, | ||
cdparanoia, | ||
flac, | ||
libogg, | ||
libvorbis, | ||
substituteAll, | ||
lame, | ||
opusTools, | ||
}: | ||
# FIXME: hardcode lame path | ||
mkKdeDerivation { | ||
pname = "audiocd-kio"; | ||
|
||
patches = [ | ||
(substituteAll { | ||
src = ./encoder-paths.patch; | ||
lame = lib.getExe lame; | ||
opusenc = "${opusTools}/bin/opusenc"; | ||
}) | ||
]; | ||
|
||
extraBuildInputs = [cdparanoia flac libogg libvorbis]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
diff --git a/plugins/lame/encoderlame.cpp b/plugins/lame/encoderlame.cpp | ||
index 48d1d76..2643d6a 100644 | ||
--- a/plugins/lame/encoderlame.cpp | ||
+++ b/plugins/lame/encoderlame.cpp | ||
@@ -244,7 +244,7 @@ long EncoderLame::readInit(long /*size*/) | ||
|
||
// -r raw/pcm | ||
// -s 44.1 (because it is raw you have to specify this) | ||
- *(d->currentEncodeProcess) << QStringLiteral("lame") << QStringLiteral("--verbose") << QStringLiteral("-r") << QStringLiteral("-s") | ||
+ *(d->currentEncodeProcess) << QStringLiteral("@lame@") << QStringLiteral("--verbose") << QStringLiteral("-r") << QStringLiteral("-s") | ||
<< QStringLiteral("44.1"); | ||
*(d->currentEncodeProcess) << args; | ||
if (Settings::self()->id3_tag()) | ||
diff --git a/plugins/opus/encoderopus.cpp b/plugins/opus/encoderopus.cpp | ||
index ef297fb..465bb3e 100644 | ||
--- a/plugins/opus/encoderopus.cpp | ||
+++ b/plugins/opus/encoderopus.cpp | ||
@@ -82,7 +82,7 @@ QWidget *EncoderOpus::getConfigureWidget(KConfigSkeleton **manager) const | ||
bool EncoderOpus::init() | ||
{ | ||
// Determine if opusenc is installed on the system or not. | ||
- if (QStandardPaths::findExecutable(QStringLiteral("opusenc")).isEmpty()) | ||
+ if (QStandardPaths::findExecutable(QStringLiteral("@opusenc@")).isEmpty()) | ||
return false; | ||
|
||
return true; | ||
@@ -140,7 +140,7 @@ long EncoderOpus::readInit(long /*size*/) | ||
|
||
// --raw raw/pcm | ||
// --raw-rate 44100 (because it is raw you have to specify this) | ||
- *(d->currentEncodeProcess) << QStringLiteral("opusenc") << QStringLiteral("--raw") << QStringLiteral("--raw-rate") << QStringLiteral("44100"); | ||
+ *(d->currentEncodeProcess) << QStringLiteral("@opusenc@") << QStringLiteral("--raw") << QStringLiteral("--raw-rate") << QStringLiteral("44100"); | ||
*(d->currentEncodeProcess) << args; | ||
*d->currentEncodeProcess << trackInfo; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,41 @@ | ||
{mkKdeDerivation}: | ||
{ | ||
mkKdeDerivation, | ||
qtdeclarative, | ||
qtmultimedia, | ||
qtsvg, | ||
extra-cmake-modules, | ||
futuresql, | ||
kcoreaddons, | ||
kcrash, | ||
ki18n, | ||
kirigami-addons, | ||
kirigami, | ||
kwindowsystem, | ||
qcoro, | ||
python3, | ||
}: | ||
mkKdeDerivation { | ||
pname = "audiotube"; | ||
# FIXME(qt5) | ||
meta.broken = true; | ||
|
||
extraBuildInputs = [ | ||
qtdeclarative | ||
qtmultimedia | ||
qtsvg | ||
|
||
extra-cmake-modules | ||
futuresql | ||
kirigami | ||
kirigami-addons | ||
kcoreaddons | ||
ki18n | ||
kcrash | ||
kwindowsystem | ||
qcoro | ||
|
||
(python3.withPackages (ps: [ | ||
ps.pybind11 | ||
ps.yt-dlp | ||
ps.ytmusicapi | ||
])) | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
{mkKdeDerivation}: | ||
{ | ||
mkKdeDerivation, | ||
pkg-config, | ||
lcms2, | ||
xorg, | ||
}: | ||
mkKdeDerivation { | ||
pname = "colord-kde"; | ||
# FIXME(qt5) | ||
meta.broken = true; | ||
|
||
extraNativeBuildInputs = [pkg-config]; | ||
extraBuildInputs = [lcms2 xorg.libXrandr]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
{mkKdeDerivation}: | ||
{ | ||
mkKdeDerivation, | ||
qtsvg, | ||
taglib, | ||
}: | ||
mkKdeDerivation { | ||
pname = "juk"; | ||
# FIXME(qt5) | ||
meta.broken = true; | ||
|
||
extraBuildInputs = [qtsvg taglib]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
{ | ||
mkKdeDerivation, | ||
intltool, | ||
qtdeclarative, | ||
qtwebengine, | ||
}: | ||
mkKdeDerivation { | ||
pname = "kaccounts-providers"; | ||
|
||
extraNativeBuildInputs = [intltool]; | ||
# FIXME(qt5) | ||
meta.broken = true; | ||
extraBuildInputs = [qtdeclarative qtwebengine]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,4 @@ mkKdeDerivation { | |
pname = "kde-dev-utils"; | ||
|
||
extraBuildInputs = [qttools]; | ||
# FIXME(qt5) | ||
meta.broken = true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,35 @@ | ||
{mkKdeDerivation}: | ||
# FIXME: Rust stuff doesn't build, needs Cargo.lock | ||
mkKdeDerivation { | ||
{ | ||
mkKdeDerivation, | ||
sources, | ||
rustPlatform, | ||
cargo, | ||
rustc, | ||
corrosion, | ||
discount, | ||
alpaka, | ||
# provided as callPackage input to enable easier overrides through overlays | ||
cargoSha256 ? "sha256-Dwq7Oisxs6O1sE+Z8NyU7NTGFc5yMRDxP+5kICvge4o=", | ||
}: | ||
mkKdeDerivation rec { | ||
pname = "kdepim-addons"; | ||
|
||
inherit (sources.${pname}) version; | ||
|
||
cargoRoot = "plugins/webengineurlinterceptor/adblock"; | ||
|
||
cargoDeps = rustPlatform.fetchCargoTarball { | ||
# include version in the name so we invalidate the FOD | ||
name = "${pname}-${version}"; | ||
src = sources.${pname}; | ||
sourceRoot = "${pname}-${version}/${cargoRoot}"; | ||
sha256 = cargoSha256; | ||
}; | ||
|
||
extraNativeBuildInputs = [ | ||
rustPlatform.cargoSetupHook | ||
cargo | ||
rustc | ||
]; | ||
|
||
extraBuildInputs = [corrosion discount alpaka]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
{mkKdeDerivation}: | ||
{ | ||
mkKdeDerivation, | ||
qgpgme, | ||
libmms, | ||
}: | ||
mkKdeDerivation { | ||
pname = "kget"; | ||
# FIXME(qt5) | ||
meta.broken = true; | ||
|
||
extraBuildInputs = [qgpgme libmms]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
stdenv, | ||
sources, | ||
kio-extras, | ||
cmake, | ||
libsForQt5, | ||
samba, | ||
libssh, | ||
libmtp, | ||
libimobiledevice, | ||
gperf, | ||
libtirpc, | ||
openexr, | ||
taglib, | ||
libappimage, | ||
}: | ||
stdenv.mkDerivation rec { | ||
pname = "kio-extras-kf5"; | ||
inherit (sources.${pname}) version; | ||
|
||
src = sources.${pname}; | ||
|
||
nativeBuildInputs = with libsForQt5; [ | ||
cmake | ||
extra-cmake-modules | ||
wrapQtAppsHook | ||
]; | ||
|
||
buildInputs = with libsForQt5; [ | ||
qtbase | ||
|
||
kactivities | ||
kactivities-stats | ||
karchive | ||
kconfig | ||
kconfigwidgets | ||
kcoreaddons | ||
kdbusaddons | ||
kdnssd | ||
kdoctools | ||
kdsoap | ||
kguiaddons | ||
ki18n | ||
kio | ||
libkexiv2 | ||
phonon | ||
solid | ||
syntax-highlighting | ||
|
||
samba | ||
libssh | ||
libmtp | ||
libimobiledevice | ||
gperf | ||
libtirpc | ||
openexr | ||
taglib | ||
libappimage | ||
]; | ||
|
||
meta = kio-extras.meta; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
{mkKdeDerivation}: | ||
mkKdeDerivation { | ||
pname = "kio-gdrive"; | ||
# FIXME(qt5) | ||
meta.broken = true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.