Link Here
|
13 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
|
15 |
|
16 |
IUSE="X debug consolekit kernel_linux libnotify opengl pam systemd" |
16 |
IUSE="X debug consolekit elogind kernel_linux libnotify opengl pam systemd" |
|
|
17 |
REQUIRED_USE="?? ( elogind systemd )" |
17 |
|
18 |
|
18 |
DOC_CONTENTS=" |
19 |
DOC_CONTENTS=" |
19 |
Information for converting screensavers is located in |
20 |
Information for converting screensavers is located in |
Link Here
|
45 |
opengl? ( virtual/opengl ) |
46 |
opengl? ( virtual/opengl ) |
46 |
pam? ( gnome-base/gnome-keyring virtual/pam ) |
47 |
pam? ( gnome-base/gnome-keyring virtual/pam ) |
47 |
!pam? ( kernel_linux? ( sys-apps/shadow ) ) |
48 |
!pam? ( kernel_linux? ( sys-apps/shadow ) ) |
|
|
49 |
elogind? ( sys-auth/elogind ) |
48 |
systemd? ( sys-apps/systemd:= ) |
50 |
systemd? ( sys-apps/systemd:= ) |
49 |
!!<gnome-extra/gnome-screensaver-3" |
51 |
!!<gnome-extra/gnome-screensaver-3" |
50 |
|
52 |
|
Link Here
|
58 |
virtual/pkgconfig:*" |
60 |
virtual/pkgconfig:*" |
59 |
|
61 |
|
60 |
src_configure() { |
62 |
src_configure() { |
61 |
mate_src_configure \ |
63 |
local myconf=( |
62 |
--enable-locking \ |
64 |
--enable-locking |
63 |
--with-kbd-layout-indicator \ |
65 |
--with-kbd-layout-indicator |
64 |
--with-xf86gamma-ext \ |
66 |
--with-xf86gamma-ext |
65 |
--with-xscreensaverdir=/usr/share/xscreensaver/config \ |
67 |
--with-xscreensaverdir=/usr/share/xscreensaver/config |
66 |
--with-xscreensaverhackdir=/usr/$(get_libdir)/misc/xscreensaver \ |
68 |
--with-xscreensaverhackdir=/usr/$(get_libdir)/misc/xscreensaver |
67 |
$(use_with X x) \ |
69 |
$(use_with X x) |
68 |
$(use_with consolekit console-kit) \ |
70 |
$(use_with consolekit console-kit) |
69 |
$(use_with libnotify) \ |
71 |
$(use_with libnotify) |
70 |
$(use_with opengl libgl) \ |
72 |
$(use_with opengl libgl) |
71 |
$(use_with systemd) \ |
73 |
$(use_with systemd) |
72 |
$(use_enable debug) \ |
74 |
$(use_enable debug) |
73 |
$(use_enable pam) |
75 |
$(use_enable pam) |
|
|
76 |
) |
77 |
|
78 |
if use elogind; then |
79 |
myconf+=( |
80 |
--with-systemd |
81 |
SYSTEMD_CFLAGS=`pkg-config --cflags "libelogind" 2>/dev/null` |
82 |
SYSTEMD_LIBS=`pkg-config --libs "libelogind" 2>/dev/null` |
83 |
) |
84 |
fi |
85 |
|
86 |
mate_src_configure "${myconf[@]}" |
74 |
} |
87 |
} |
75 |
|
88 |
|
76 |
src_install() { |
89 |
src_install() { |
77 |
- |
|
|