From e70c8911defa38409cfd1aaafc0570f3d44117a5 Mon Sep 17 00:00:00 2001 From: Gilles Dartiguelongue Date: Sun, 22 Dec 2013 23:58:40 +0100 Subject: x11-themes/gtk-engines-unico: sync with gentoo-x86 --- .../gtk-engines-unico-9999.ebuild | 36 ++++++++++++---------- 1 file changed, 19 insertions(+), 17 deletions(-) (limited to 'x11-themes/gtk-engines-unico/gtk-engines-unico-9999.ebuild') diff --git a/x11-themes/gtk-engines-unico/gtk-engines-unico-9999.ebuild b/x11-themes/gtk-engines-unico/gtk-engines-unico-9999.ebuild index be28f278..c044ec08 100644 --- a/x11-themes/gtk-engines-unico/gtk-engines-unico-9999.ebuild +++ b/x11-themes/gtk-engines-unico/gtk-engines-unico-9999.ebuild @@ -1,9 +1,10 @@ -# Copyright 2011 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI="4" +EAPI=5 +inherit eutils if [[ ${PV} = 9999 ]]; then EBZR_REPO_URI="lp:unico" GCONF_DEBUG="no" @@ -11,33 +12,32 @@ if [[ ${PV} = 9999 ]]; then fi MY_PN=${PN/gtk-engines-} -MY_PV=${PV/_p/+r} +MY_P=${MY_PN}-${PV} -DESCRIPTION="Unico Gtk+ 3 theme engine" +DESCRIPTION="The Unico GTK+ 3.x theming engine" HOMEPAGE="https://launchpad.net/unico" if [[ ${PV} != 9999 ]]; then SRC_URI="https://launchpad.net/ubuntu/oneiric/+source/gtk3-engines-unico/${MY_PV}-0ubuntu1/+files/gtk3-engines-unico_${MY_PV}.orig.tar.gz" S="${WORKDIR}/${MY_PN}-${MY_PV}" fi -LICENSE="LGPL-2.1" +LICENSE="LGPL-2.1+" SLOT="0" IUSE="" if [[ ${PV} = 9999 ]]; then KEYWORDS="" else - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" fi -RDEPEND=">=dev-libs/glib-2.26.0:2 +RDEPEND=" + >=dev-libs/glib-2.26:2 >=x11-libs/cairo-1.10[glib] - >=x11-libs/gtk+-3.1.10:3" + >=x11-libs/gtk+-3.5.2:3 +" DEPEND="${RDEPEND} - virtual/pkgconfig" - -pkg_setup() { - DOCS="AUTHORS NEWS" # ChangeLog, README are empty -} + virtual/pkgconfig +" src_unpack() { if [[ ${PV} = 9999 ]]; then @@ -56,14 +56,16 @@ src_prepare() { } src_configure() { - # currently, the only effect of --enable-debug is to add -g to CFLAGS + # $(use_enable debug) controls CPPFLAGS -D_DEBUG and -DNDEBUG but they are currently + # unused in the code itself. econf \ + --disable-static \ --disable-debug \ - --disable-maintainer-flags \ - --disable-static + --disable-maintainer-flags } src_install() { + DOCS="AUTHORS NEWS" # ChangeLog, README are empty default - find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed" + prune_libtool_files --modules } -- cgit v1.2.3-18-g5258