new plank ebuild
authordweezil <bram.aelvoet@gmail.com>
Mon, 26 Nov 2018 19:42:23 +0000 (20:42 +0100)
committerdweezil <bram.aelvoet@gmail.com>
Mon, 26 Nov 2018 19:42:23 +0000 (20:42 +0100)
x11-misc/plank/plank-0.11.4.ebuild

index 133907f589050e31b50ad330028d216abb69ade4..fd0bee3832bdffdd5f68e8f224998c3c0fe3e41c 100644 (file)
@@ -1,38 +1,45 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-VALA_MIN_API_VERSION=0.26
-VALA_USE_DEPEND=vapigen
+URELEASE="cosmic"
+inherit vala autotools ubuntu-versionator
 
-inherit vala autotools-utils
+UVER="-${PVR_MICRO}"
 
 DESCRIPTION="Dock panel famious docky"
 HOMEPAGE="https://launchpad.net/plank"
-SRC_URI="http://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.xz"
+SRC_URI="${UURL}/${MY_P}.orig.tar.xz"
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+#KEYWORDS="~amd64 ~x86"
 IUSE="+introspection doc static-libs"
 RESTRICT="mirror"
-RDEPEND=">=dev-libs/glib-2.32:2
+RDEPEND="dev-libs/glib:2
+       dev-libs/libdbusmenu
        dev-libs/libgee:0.8
+       unity-base/bamf
        x11-libs/gtk+:3
-       x11-libs/bamf
-       x11-libs/libX11
-       dev-libs/libdbusmenu
-       x11-libs/libwnck:3"
+       x11-libs/libwnck:3
+       x11-libs/libX11"
 DEPEND="${RDEPEND}
-       $(vala_depend)
        dev-util/intltool
        gnome-base/gnome-common
        sys-devel/gettext
-       virtual/pkgconfig"
-DOCS=( AUTHORS COPYRIGHT )
+       virtual/pkgconfig
+       $(vala_depend)"
 
 src_prepare() {
-       NOCONFIGURE=1 REQUIRED_PKG_CONFIG_VERSION=0.1 ./autogen.sh
+       ubuntu-versionator_src_prepare
+       eautoreconf
+#      NOCONFIGURE=1 REQUIRED_PKG_CONFIG_VERSION=0.1 ./autogen.sh
        vala_src_prepare
 }
+
+src_install() {
+       emake DESTDIR="${ED}" install
+       # Delete some files that are only useful on Ubuntu
+       rm -rf "${ED}"{etc,usr/share}/apport
+}