diff options
Diffstat (limited to 'mate-extra/mate-screensaver')
-rw-r--r-- | mate-extra/mate-screensaver/Manifest | 2 | ||||
-rw-r--r-- | mate-extra/mate-screensaver/mate-screensaver-1.22.0.ebuild | 41 |
2 files changed, 28 insertions, 15 deletions
diff --git a/mate-extra/mate-screensaver/Manifest b/mate-extra/mate-screensaver/Manifest index 8df7fddd344e..45a769e329e0 100644 --- a/mate-extra/mate-screensaver/Manifest +++ b/mate-extra/mate-screensaver/Manifest @@ -2,5 +2,5 @@ AUX xss-conversion.txt 1026 BLAKE2B 4675ecb7d7ce45b28183ff503739b5d3853e8a68adfb DIST mate-screensaver-1.18.2.tar.xz 4926748 BLAKE2B 7790a579991886617accd3f38146b624c81145c588fbc93fe78b0015669ca53e493aca0689e157fc0c11b86248bbc3d00b479ad8c4c1c01288e853c1ef3dd40c SHA512 b8ec5705f1810ecb1b887d1c9ad2a5eca2a39f7a093154d45c8cfdbcef664520b09be0ed4ab5992b001a4445e71e4eefd4e28d83e22c7536788c9d32f703283e DIST mate-screensaver-1.22.0.tar.xz 4959732 BLAKE2B 23d7622ea992c8a29966a12a4e8db36fb489d0d07124907cb3fc2325dedb7fb99394bc551b0d889247989bbea27ba540fb17f55dbd12644e10a9abc242b07d8a SHA512 e253495ad700264ee7833d7b5a732cabff53058384801ff5e874d45f812cea1e4bd3877a1688ecec6197c37f32761f69a4924a47a6556332f1fec736e540e333 EBUILD mate-screensaver-1.18.2.ebuild 3027 BLAKE2B 4fcaa0fc8c5ba82d31fcb8594b46033964ce8aeb71aedbc5f2876bb61bbc7a1681006e3752145d6b072ea5e5f8aeba59e89e8fa7ca52a89ec1411713d0a3754e SHA512 7aff1f0f02fa1a3095405716d53bea7d380bd9acb931bc7bff5dc9775aea9aa7684742f95a4626a506c3731c655a1ce75ef8074c530979ae8d05bfca56ef2e3f -EBUILD mate-screensaver-1.22.0.ebuild 2978 BLAKE2B eede89b600a5baf3e2fb4459b78ac2dace66d284e548d74f1b0af75487c4b763fcadc0d4cd851597d14f0764f4eef788827d549184a26b4671910ec6ba2d4c2e SHA512 8e9357fb56a42b2b798d5f7853857d6fa501b37d056601376d11f7e1c6e35a59684b0c8ad9c0b88c954eecfd5b50007ad9d947b8b136e23a2578a1b9fe87518d +EBUILD mate-screensaver-1.22.0.ebuild 3253 BLAKE2B 87bfaf8fd0d174fb9a66f8cbf8c65cf4689225ee8af9ac91caf81a57d1a10618b8a31d67ed99a75da0d0bd5c3b47006bd0f5e5a6c28904a1f257c58c1c3fc5ca SHA512 26ca99778f2482e749ced813ce4596be2b728d72819b639d0279e1cccaa7cdedd0836b350832f08028046bf700491a2caa61e7f19aebd04f5d2e426fa59773b1 MISC metadata.xml 447 BLAKE2B febc277d7b427ae9a48c3c6e318b779f8a3fb9e27f896b17a3ebafec9bc8b03c4af3f30de7881fcc7feff674fdc0106d0b46f91d72d7267d4c4eeffb1dbe341a SHA512 29d7b99ddd69b2503d91f185679e1811403ba34443e20e2b17782878ee509565dcd62c2e3339709b3d29f568168c9c5c5a9284823d0187392220e781792b73e8 diff --git a/mate-extra/mate-screensaver/mate-screensaver-1.22.0.ebuild b/mate-extra/mate-screensaver/mate-screensaver-1.22.0.ebuild index afbb7b7d8e62..cea71578dfcb 100644 --- a/mate-extra/mate-screensaver/mate-screensaver-1.22.0.ebuild +++ b/mate-extra/mate-screensaver/mate-screensaver-1.22.0.ebuild @@ -10,10 +10,11 @@ if [[ ${PV} != 9999 ]]; then fi DESCRIPTION="Replaces xscreensaver, integrating with the MATE desktop" + LICENSE="GPL-2" SLOT="0" - -IUSE="X debug consolekit kernel_linux libnotify opengl pam systemd" +IUSE="X debug consolekit elogind kernel_linux libnotify opengl pam systemd" +REQUIRED_USE="?? ( elogind systemd )" DOC_CONTENTS=" Information for converting screensavers is located in @@ -45,6 +46,7 @@ COMMON_DEPEND=" opengl? ( virtual/opengl ) pam? ( gnome-base/gnome-keyring virtual/pam ) !pam? ( kernel_linux? ( sys-apps/shadow ) ) + elogind? ( sys-auth/elogind ) systemd? ( sys-apps/systemd:= ) !!<gnome-extra/gnome-screensaver-3" @@ -58,19 +60,30 @@ DEPEND="${COMMON_DEPEND} virtual/pkgconfig:*" src_configure() { - mate_src_configure \ - --enable-locking \ - --with-kbd-layout-indicator \ - --with-xf86gamma-ext \ - --with-xscreensaverdir=/usr/share/xscreensaver/config \ - --with-xscreensaverhackdir=/usr/$(get_libdir)/misc/xscreensaver \ - $(use_with X x) \ - $(use_with consolekit console-kit) \ - $(use_with libnotify) \ - $(use_with opengl libgl) \ - $(use_with systemd) \ - $(use_enable debug) \ + local myconf=( + --enable-locking + --with-kbd-layout-indicator + --with-xf86gamma-ext + --with-xscreensaverdir=/usr/share/xscreensaver/config + --with-xscreensaverhackdir=/usr/$(get_libdir)/misc/xscreensaver + $(use_with X x) + $(use_with consolekit console-kit) + $(use_with libnotify) + $(use_with opengl libgl) + $(use_with systemd) + $(use_enable debug) $(use_enable pam) + ) + + if use elogind; then + myconf+=( + --with-systemd + SYSTEMD_CFLAGS=`pkg-config --cflags "libelogind" 2>/dev/null` + SYSTEMD_LIBS=`pkg-config --libs "libelogind" 2>/dev/null` + ) + fi + + mate_src_configure "${myconf[@]}" } src_install() { |