-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blueberry: use old version of gnome-bluetooth for the time being
The new version is incompatible (see linuxmint/blueberry#123) This re-adds the old one, but just for blueberry, until the compatibility issue is fully resolved
- Loading branch information
Showing
2 changed files
with
91 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
{ lib | ||
, stdenv | ||
, fetchurl | ||
, gnome | ||
, meson | ||
, ninja | ||
, pkg-config | ||
, gtk3 | ||
, gettext | ||
, glib | ||
, udev | ||
, itstool | ||
, libxml2 | ||
, wrapGAppsHook | ||
, libnotify | ||
, libcanberra-gtk3 | ||
, gobject-introspection | ||
, gtk-doc | ||
, docbook-xsl-nons | ||
, docbook_xml_dtd_43 | ||
, python3 | ||
, gsettings-desktop-schemas | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "gnome-bluetooth"; | ||
version = "3.34.5"; | ||
|
||
# TODO: split out "lib" | ||
outputs = [ "out" "dev" "devdoc" "man" ]; | ||
|
||
src = fetchurl { | ||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; | ||
sha256 = "1a9ynlwwkb3wpg293ym517vmrkk63y809mmcv9a21k5yr199x53c"; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
meson | ||
ninja | ||
gettext | ||
itstool | ||
pkg-config | ||
libxml2 | ||
wrapGAppsHook | ||
gobject-introspection | ||
gtk-doc | ||
docbook-xsl-nons | ||
docbook_xml_dtd_43 | ||
python3 | ||
]; | ||
|
||
buildInputs = [ | ||
glib | ||
gtk3 | ||
udev | ||
libnotify | ||
libcanberra-gtk3 | ||
gnome.adwaita-icon-theme | ||
gsettings-desktop-schemas | ||
]; | ||
|
||
mesonFlags = [ | ||
"-Dicon_update=false" | ||
"-Dgtk_doc=true" | ||
]; | ||
|
||
postPatch = '' | ||
chmod +x meson_post_install.py # patchShebangs requires executable file | ||
patchShebangs meson_post_install.py | ||
''; | ||
|
||
passthru = { | ||
updateScript = gnome.updateScript { | ||
packageName = pname; | ||
attrPath = "gnome.${pname}"; | ||
}; | ||
}; | ||
|
||
meta = with lib; { | ||
homepage = "https://help.gnome.org/users/gnome-bluetooth/stable/index.html.en"; | ||
description = "Application that let you manage Bluetooth in the GNOME destkop"; | ||
maintainers = teams.gnome.members; | ||
license = licenses.gpl2Plus; | ||
platforms = platforms.linux; | ||
}; | ||
} |