gnome-extra/docky: Prepare for the new gtk-sharp package, stop relying on old eapi4...
authorPacho Ramos <pacho@gentoo.org>
Thu, 3 Nov 2016 11:15:16 +0000 (12:15 +0100)
committerPacho Ramos <pacho@gentoo.org>
Thu, 3 Nov 2016 11:19:22 +0000 (12:19 +0100)
Package-Manager: portage-2.3.2

gnome-extra/docky/docky-2.2.1.1-r1.ebuild [new file with mode: 0644]

diff --git a/gnome-extra/docky/docky-2.2.1.1-r1.ebuild b/gnome-extra/docky/docky-2.2.1.1-r1.ebuild
new file mode 100644 (file)
index 0000000..6de5bb2
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools eutils gnome2 mono-env
+
+DESCRIPTION="Elegant, powerful, clean dock"
+HOMEPAGE="https://wiki.go-docky.com"
+SRC_URI="https://launchpad.net/${PN}/2.2/${PV}/+download/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND="
+       >=dev-dotnet/dbus-sharp-0.8.0:2.0
+       >=dev-dotnet/dbus-sharp-glib-0.6.0:2.0
+       || ( >=dev-dotnet/gtk-sharp-2.12.21:2 ( >=dev-dotnet/gnome-sharp-2.24.2-r1:2 dev-dotnet/gconf-sharp:2 dev-dotnet/glib-sharp:2 ) )
+       >=dev-dotnet/gio-sharp-0.2-r1
+       dev-dotnet/gkeyfile-sharp
+       dev-dotnet/gnome-desktop-sharp:2
+       dev-dotnet/gnome-keyring-sharp
+       dev-dotnet/gtk-sharp:2
+       dev-dotnet/mono-addins[gtk]
+       dev-dotnet/notify-sharp
+       dev-dotnet/rsvg-sharp:2
+       dev-dotnet/wnck-sharp:2
+"
+DEPEND="${RDEPEND}
+       || ( >=dev-dotnet/gtk-sharp-2.12.21:2 dev-dotnet/gtk-sharp-gapi:2 )
+       dev-util/intltool
+       virtual/pkgconfig
+"
+
+src_prepare() {
+       sed -i -e "/warnaserror/d" configure.ac || die
+       gnome2_src_prepare
+       eautoreconf
+}
+
+src_configure() {
+       gnome2_src_configure \
+               --enable-release \
+               $(use_enable nls)
+}