From ef57904fabea50c48ad75f91fb07aade5e3e7588 Mon Sep 17 00:00:00 2001 From: Dustin Polke Date: Sun, 21 May 2017 21:35:12 +0200 Subject: [x11-misc/cairo-dock] Bump EAPI b/c cmake-utils eclass does not support EAPI 4 anymore. --- x11-misc/cairo-dock/ChangeLog | 4 ++ x11-misc/cairo-dock/cairo-dock-3.0.1-r1.ebuild | 71 ++++++++++++++++++++++++++ x11-misc/cairo-dock/cairo-dock-3.0.1.ebuild | 69 ------------------------- 3 files changed, 75 insertions(+), 69 deletions(-) create mode 100644 x11-misc/cairo-dock/cairo-dock-3.0.1-r1.ebuild delete mode 100644 x11-misc/cairo-dock/cairo-dock-3.0.1.ebuild diff --git a/x11-misc/cairo-dock/ChangeLog b/x11-misc/cairo-dock/ChangeLog index 671c763..e638e45 100644 --- a/x11-misc/cairo-dock/ChangeLog +++ b/x11-misc/cairo-dock/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2017 Gentoo Foundation; Distributed under the GPL v2 # $Header$ + 21 May 2017; Dustin Polke -cairo-dock-3.0.1.ebuild, + +cairo-dock-3.0.1-r1.ebuild: + Bump EAPI b/c cmake-utils eclass does not support EAPI 4 anymore. + 01 Feb 2017; Dustin Polke -cairo-dock-3.0.0.ebuild, -files/cairo-dock-3.0.0-glib-2.32.patch, metadata.xml: Fix repoman complaint about metadata; drop old. diff --git a/x11-misc/cairo-dock/cairo-dock-3.0.1-r1.ebuild b/x11-misc/cairo-dock/cairo-dock-3.0.1-r1.ebuild new file mode 100644 index 0000000..faced28 --- /dev/null +++ b/x11-misc/cairo-dock/cairo-dock-3.0.1-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ +EAPI="5" + +CD_LANGS="ar be bn ca cs cy de el eo es et eu fi fo fr gl hu id it ja ko nb nl + oc pl pt_BR pt ro ru sk sl sr sv tr uk vi zh_CN zh_TW" + +inherit cmake-utils eutils cairo-dock + +DESCRIPTION="Cairo-dock is a fast, responsive, Mac OS X-like dock." +HOMEPAGE="http://www.glx-dock.org" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="crypt gtk2 xcomposite" + +RDEPEND="dev-libs/dbus-glib + dev-libs/glib:2 + dev-libs/libxml2:2 + gnome-base/librsvg:2 + media-libs/mesa + net-misc/curl + sys-apps/dbus + x11-libs/cairo + x11-libs/libXrender + x11-libs/pango + crypt? ( sys-libs/glibc ) + !gtk2? ( x11-libs/gtk+:3 ) + gtk2? ( x11-libs/gtk+:2 ) + xcomposite? ( + x11-libs/libXcomposite + x11-libs/libXinerama + x11-libs/libXtst + )" + +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" + +WANT_CMAKE="always" + +src_prepare() { + cairo-dock_src_prepare +} + +src_configure() { + mycmakeargs+=( + "$(cmake-utils_use_with crypt CRYPT)" + "$(cmake-utils_use_with gtk2 GTK2)" + "$(cmake-utils_use_with xcomposite XEXTEND)" + "-DENABLE_GLITZ=OFF" + "-DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/$(get_libdir)" ) + cmake-utils_src_configure +} + +pkg_postinst() { + elog "Additional plugins are available to extend the functionality" + elog "of Cairo-Dock. It is recommended to install at least" + elog "x11-misc/cairo-dock-plugins-core." + elog + elog "Cairo-Dock is an app that draws on a RGBA GLX visual." + elog "Some users have noticed that if the dock is launched," + elog "severals qt4-based applications could crash, like skype or vlc." + elog "If you have this problem, add the following line into your bashrc:" + echo + elog "alias vlc='export XLIB_SKIP_ARGB_VISUALS=1; vlc; unset XLIB_SKIP_ARGB_VISUALS'" + elog "see http://www.qtforum.org/article/26669/qt4-mess-up-the-opengl-context.html for more details." +} diff --git a/x11-misc/cairo-dock/cairo-dock-3.0.1.ebuild b/x11-misc/cairo-dock/cairo-dock-3.0.1.ebuild deleted file mode 100644 index 25d4364..0000000 --- a/x11-misc/cairo-dock/cairo-dock-3.0.1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ -EAPI="4" - -CD_LANGS="ar be bn ca cs cy de el eo es et eu fi fo fr gl hu id it ja ko nb nl - oc pl pt_BR pt ro ru sk sl sr sv tr uk vi zh_CN zh_TW" - -inherit cmake-utils eutils cairo-dock - -DESCRIPTION="Cairo-dock is a fast, responsive, Mac OS X-like dock." -HOMEPAGE="http://www.glx-dock.org" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="crypt gtk2 xcomposite" - -RDEPEND="dev-libs/dbus-glib - dev-libs/glib:2 - dev-libs/libxml2:2 - gnome-base/librsvg:2 - media-libs/mesa - net-misc/curl - sys-apps/dbus - x11-libs/cairo - x11-libs/libXrender - x11-libs/pango - crypt? ( sys-libs/glibc ) - !gtk2? ( x11-libs/gtk+:3 ) - gtk2? ( x11-libs/gtk+:2 ) - xcomposite? ( - x11-libs/libXcomposite - x11-libs/libXinerama - x11-libs/libXtst - )" - -DEPEND="${RDEPEND} - dev-util/intltool - sys-devel/gettext - virtual/pkgconfig" - -src_prepare() { - cairo-dock_src_prepare -} - -src_configure() { - mycmakeargs+=( - "$(cmake-utils_use_with crypt CRYPT)" - "$(cmake-utils_use_with gtk2 GTK2)" - "$(cmake-utils_use_with xcomposite XEXTEND)" - "-DENABLE_GLITZ=OFF" - "-DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/$(get_libdir)" ) - cmake-utils_src_configure -} - -pkg_postinst() { - elog "Additional plugins are available to extend the functionality" - elog "of Cairo-Dock. It is recommended to install at least" - elog "x11-misc/cairo-dock-plugins-core." - elog - elog "Cairo-Dock is an app that draws on a RGBA GLX visual." - elog "Some users have noticed that if the dock is launched," - elog "severals qt4-based applications could crash, like skype or vlc." - elog "If you have this problem, add the following line into your bashrc:" - echo - elog "alias vlc='export XLIB_SKIP_ARGB_VISUALS=1; vlc; unset XLIB_SKIP_ARGB_VISUALS'" - elog "see http://www.qtforum.org/article/26669/qt4-mess-up-the-opengl-context.html for more details." -} -- cgit v1.2.3-65-gdbad