--- /var/pms/portage/gnome-extra/cinnamon-control-center/cinnamon-control-center-2.2.11.ebuild +++ /var/pms/overlay/local/gnome-extra/cinnamon-control-center/cinnamon-control-center-2.2.11.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2+" SLOT="0" -IUSE="+colord +cups input_devices_wacom socialweb" +IUSE="+colord +cups input_devices_wacom networkmanager socialweb" KEYWORDS="amd64 x86" # False positives caused by nested configure scripts @@ -30,12 +30,9 @@ >=gnome-extra/cinnamon-desktop-1.0:0= >=gnome-extra/cinnamon-menus-1.0:0= >=gnome-extra/cinnamon-settings-daemon-1.0:0= - >=gnome-extra/nm-applet-0.9.8 media-libs/fontconfig >=media-libs/libcanberra-0.13[gtk3] >=media-sound/pulseaudio-1.1[glib] - net-misc/modemmanager - >=net-misc/networkmanager-0.8.9[modemmanager] >=sys-auth/polkit-0.103 || ( >=sys-power/upower-0.9.1:= sys-power/upower-pm-utils ) >=x11-libs/gdk-pixbuf-2.23.0:2 @@ -49,6 +46,10 @@ >=dev-libs/libwacom-0.7 >=x11-libs/gtk+-3.8:3 >=x11-libs/libXi-1.2 ) + networkmanager? ( + >=gnome-extra/nm-applet-0.9.8 + net-misc/modemmanager + >=net-misc/networkmanager-0.8.9[modemmanager] ) socialweb? ( net-libs/libsocialweb ) " @@ -86,6 +87,8 @@ epatch "${FILESDIR}"/${PN}-2.2.5-optional.patch # fix wrong nm-applet dependency epatch "${FILESDIR}"/${PN}-2.2.5-nm-applet.patch + # make networkmananger optional + epatch "${FILESDIR}"/allow_optional_nm.patch epatch_user