1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit autotools flag-o-matic gnome2-utils xdg-utils
7 DESCRIPTION="A background browser and setter for X"
8 HOMEPAGE="https://github.com/l3ib/nitrogen"
9 SRC_URI="https://github.com/l3ib/nitrogen/releases/download/${PV}/${P}.tar.gz"
13 KEYWORDS="~amd64 ~ppc ~x86"
17 >=dev-cpp/gtkmm-2.10:2.4
18 >=gnome-base/librsvg-2.20:2
19 >=x11-libs/gtk+-2.10:2
20 xinerama? ( x11-libs/libXinerama )
25 nls? ( sys-devel/gettext )
26 xinerama? ( x11-base/xorg-proto )
32 sed -i -e '/^UPDATE_DESKTOP/s#=.*#= :#g' data/Makefile.am || die
38 append-cxxflags -std=c++11
41 $(use_enable xinerama)
45 gnome2_icon_cache_update
46 xdg_desktop_database_update
50 gnome2_icon_cache_update
51 xdg_desktop_database_update