-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
WIP: Add plasma-phone package #58370
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
mkDerivation, lib, | ||
|
||
extra-cmake-modules, kdoctools, | ||
|
||
coreutils, dbus, gnugrep, gnused, libdbusmenu, pam, wayland, appstream, | ||
|
||
kdeclarative, kdelibs4support, kpeople, kconfig, krunner, kinit, kwayland, kwin, | ||
plasma-framework, telepathy, libphonenumber, protobuf, | ||
|
||
qtwayland, qttools | ||
}: | ||
|
||
let inherit (lib) getBin getLib; in | ||
|
||
mkDerivation { | ||
name = "plasma-phone"; | ||
|
||
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; | ||
buildInputs = [ | ||
appstream libdbusmenu pam wayland | ||
kdeclarative kdelibs4support kpeople kconfig krunner kinit kwayland kwin | ||
plasma-framework telepathy libphonenumber protobuf | ||
]; | ||
outputs = [ "bin" "dev" "out" ]; | ||
|
||
cmakeFlags = [ | ||
"-DNIXPKGS_MKDIR=${getBin coreutils}/bin/mkdir" | ||
"-DNIXPKGS_ID=${getBin coreutils}/bin/id" | ||
"-DNIXPKGS_DBUS_UPDATE_ACTIVATION_ENVIRONMENT=${getBin dbus}/bin/dbus-update-activation-environment" | ||
"-DNIXPKGS_START_KDEINIT_WRAPPER=${getLib kinit}/lib/libexec/kf5/start_kdeinit_wrapper" | ||
"-DNIXPKGS_QDBUS=${getBin qttools}/bin/qdbus" | ||
"-DNIXPKGS_KWRAPPER5=${getBin kinit}/bin/kwrapper5" | ||
"-DNIXPKGS_KREADCONFIG5=${getBin kconfig}/bin/kreadconfig5" | ||
"-DNIXPKGS_GREP=${getBin gnugrep}/bin/grep" | ||
"-DNIXPKGS_KDEINIT5_SHUTDOWN=${getBin kinit}/bin/kdeinit5_shutdown" | ||
"-DNIXPKGS_SED=${getBin gnused}/bin/sed" | ||
]; | ||
|
||
#preConfigure = '' | ||
# NIX_CFLAGS_COMPILE+=" -DNIXPKGS_KDOSTARTUPCONFIG5=\"''${!outputBin}/bin/kdostartupconfig5\"" | ||
# cmakeFlags+=" -DNIXPKGS_STARTPLASMA=''${!outputBin}/lib/libexec/startplasma" | ||
#''; | ||
|
||
postInstall = '' | ||
moveToOutput lib/libexec/startplasma ''${!outputBin} | ||
''; | ||
} |
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -234,6 +234,14 @@ | |||||||||||||||||
name = "plasma-browser-integration-5.14.5.tar.xz"; | ||||||||||||||||||
}; | ||||||||||||||||||
}; | ||||||||||||||||||
# TODO: Change to use "${mirror}" once available | ||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. plasma-phone-components has releases in stable since 5.18, so now that #84542 is merged, you don't need to add anything to |
||||||||||||||||||
plasma-phone = { | ||||||||||||||||||
version = "5.14.5"; | ||||||||||||||||||
src = fetchurl { | ||||||||||||||||||
url = "https://invent.kde.org/kde/plasma-phone-components/-/archive/master/plasma-phone-components-master.tar.gz"; | ||||||||||||||||||
sha256 = "0jmw0c2pj4dmak1w49r4lwwg3c4zvgn5d3h3ihrzksh23ni7kb3b"; | ||||||||||||||||||
}; | ||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (Nothing to do right now, but to be done eventually before merging.) Their There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What would be the process of getting this on a mirror to match all the other packages in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This bit
Ends up using either of:
Depending of where exactly it would go (among other |
||||||||||||||||||
}; | ||||||||||||||||||
plasma-desktop = { | ||||||||||||||||||
version = "5.14.5"; | ||||||||||||||||||
src = fetchurl { | ||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The upstream project is named
plasma-phone-components
, notplasma-phone
. We should give our package the same name unless we have a good reason not to.