aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2013-12-22 23:58:40 +0100
committerGilles Dartiguelongue <eva@gentoo.org>2013-12-23 00:00:36 +0100
commite70c8911defa38409cfd1aaafc0570f3d44117a5 (patch)
tree839fe3519564421a062143b8afb7cbd0ae366178 /x11-themes/gtk-engines-unico/gtk-engines-unico-9999.ebuild
parentx11-libs/colord-gtk: sync with gentoo-x86 (diff)
downloadgnome-e70c8911defa38409cfd1aaafc0570f3d44117a5.tar.gz
gnome-e70c8911defa38409cfd1aaafc0570f3d44117a5.tar.bz2
gnome-e70c8911defa38409cfd1aaafc0570f3d44117a5.zip
x11-themes/gtk-engines-unico: sync with gentoo-x86
Diffstat (limited to 'x11-themes/gtk-engines-unico/gtk-engines-unico-9999.ebuild')
-rw-r--r--x11-themes/gtk-engines-unico/gtk-engines-unico-9999.ebuild36
1 files changed, 19 insertions, 17 deletions
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
}