x11-misc/notify-osd: gsettings-desktop-schemas needed (#559010)
authorPacho Ramos <pacho@gentoo.org>
Mon, 2 Apr 2018 08:57:18 +0000 (10:57 +0200)
committerPacho Ramos <pacho@gentoo.org>
Mon, 2 Apr 2018 09:13:41 +0000 (11:13 +0200)
Package-Manager: Portage-2.3.27, Repoman-2.3.9

x11-misc/notify-osd/notify-osd-0.9.34-r1.ebuild [moved from x11-misc/notify-osd/notify-osd-0.9.34.ebuild with 72% similarity]

similarity index 72%
rename from x11-misc/notify-osd/notify-osd-0.9.34.ebuild
rename to x11-misc/notify-osd/notify-osd-0.9.34-r1.ebuild
index 70ae583ebe581a9308d343bcd57e41974b5bcfcb..95bd82cc07208a9be8041ece3747354db4bf74a3 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
-inherit autotools gnome2-utils multilib savedconfig
+EAPI=6
+inherit autotools gnome2-utils savedconfig
 
 DESCRIPTION="Canonical's on-screen-display notification agent"
 HOMEPAGE="https://launchpad.net/notify-osd"
@@ -13,34 +13,39 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="minimal"
 
-COMMON_DEPEND=">=dev-libs/dbus-glib-0.98
-       >=dev-libs/glib-2.16
+COMMON_DEPEND="
+       >=dev-libs/dbus-glib-0.98
+       >=dev-libs/glib-2.16:2
        >=x11-libs/gtk+-3.2:3
        >=x11-libs/libnotify-0.7
-       >=x11-libs/libwnck-3
+       >=x11-libs/libwnck-3:3
        x11-libs/libX11
        x11-libs/pixman
        !x11-misc/notification-daemon
-       !x11-misc/qtnotifydaemon"
+       !x11-misc/qtnotifydaemon
+"
 RDEPEND="${COMMON_DEPEND}
-       !minimal? ( x11-themes/notify-osd-icons )"
+       gnome-base/gsettings-desktop-schemas
+       !minimal? ( x11-themes/notify-osd-icons )
+"
 DEPEND="${COMMON_DEPEND}
        virtual/pkgconfig
        gnome-base/gnome-common
-       x11-proto/xproto"
+       x11-proto/xproto
+"
 
 RESTRICT="test" # virtualx.eclass: 1 of 1: FAIL: test-modules
 
-DOCS=( AUTHORS ChangeLog NEWS README TODO )
-
 src_prepare() {
+       default
        sed -i -e 's:noinst_PROG:check_PROG:' tests/Makefile.am || die
        restore_config src/{bubble,defaults,dnd}.c #428134
+       mv configure.in configure.ac || die
        eautoreconf
 }
 
 src_configure() {
-       econf --libexecdir=/usr/$(get_libdir)/${PN}
+       econf --libexecdir="/usr/$(get_libdir)/${PN}"
 }
 
 src_install() {
@@ -53,10 +58,12 @@ pkg_preinst() {
        gnome2_icon_savelist
        gnome2_schemas_savelist
 }
+
 pkg_postinst() {
        gnome2_icon_cache_update
        gnome2_schemas_update
 }
+
 pkg_postrm() {
        gnome2_icon_cache_update
        gnome2_schemas_update