| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-wm/muffin/muffin-1.0.3_p2.ebuild,v 1.1 2012/09/09 00:31:41 tetromino Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
GCONF_DEBUG="no"
|
| 7 |
GNOME2_LA_PUNT="yes"
|
| 8 |
|
| 9 |
inherit eutils gnome2
|
| 10 |
|
| 11 |
DESCRIPTION="Compositing window manager forked from Mutter for use with Cinnamon"
|
| 12 |
HOMEPAGE="http://cinnamon.linuxmint.com/"
|
| 13 |
|
| 14 |
MY_PV="${PV/_p/-UP}"
|
| 15 |
MY_P="${PN}-${MY_PV}"
|
| 16 |
|
| 17 |
SRC_URI="https://github.com/linuxmint/muffin/tarball/${MY_PV} -> ${MY_P}.tar.gz
|
| 18 |
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${MY_P}-gtk-doc-syntax.patch.xz"
|
| 19 |
|
| 20 |
LICENSE="GPL-2"
|
| 21 |
SLOT="0"
|
| 22 |
IUSE="+introspection test xinerama"
|
| 23 |
KEYWORDS="~amd64 ~x86"
|
| 24 |
|
| 25 |
COMMON_DEPEND=">=x11-libs/pango-1.2[X,introspection?]
|
| 26 |
>=x11-libs/cairo-1.10[X]
|
| 27 |
x11-libs/gdk-pixbuf:2[introspection?]
|
| 28 |
>=x11-libs/gtk+-2.91.7:3[introspection?]
|
| 29 |
>=gnome-base/gconf-2:2
|
| 30 |
>=dev-libs/glib-2.14:2
|
| 31 |
>=media-libs/clutter-1.7.5:1.0[introspection?]
|
| 32 |
>=media-libs/libcanberra-0.26[gtk3]
|
| 33 |
>=x11-libs/startup-notification-0.7
|
| 34 |
>=x11-libs/libXcomposite-0.2
|
| 35 |
|
| 36 |
x11-libs/libICE
|
| 37 |
x11-libs/libSM
|
| 38 |
x11-libs/libX11
|
| 39 |
x11-libs/libXcursor
|
| 40 |
x11-libs/libXdamage
|
| 41 |
x11-libs/libXext
|
| 42 |
x11-libs/libXfixes
|
| 43 |
x11-libs/libXrandr
|
| 44 |
x11-libs/libXrender
|
| 45 |
|
| 46 |
gnome-extra/zenity
|
| 47 |
|
| 48 |
introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
|
| 49 |
xinerama? ( x11-libs/libXinerama )
|
| 50 |
"
|
| 51 |
DEPEND="${COMMON_DEPEND}
|
| 52 |
>=app-text/gnome-doc-utils-0.8
|
| 53 |
sys-devel/gettext
|
| 54 |
virtual/pkgconfig
|
| 55 |
>=dev-util/intltool-0.35
|
| 56 |
test? ( app-text/docbook-xml-dtd:4.5 )
|
| 57 |
xinerama? ( x11-proto/xineramaproto )
|
| 58 |
x11-proto/xextproto
|
| 59 |
x11-proto/xproto"
|
| 60 |
RDEPEND="${COMMON_DEPEND}
|
| 61 |
!x11-misc/expocity"
|
| 62 |
|
| 63 |
S="${WORKDIR}/linuxmint-muffin-e00fc85"
|
| 64 |
|
| 65 |
pkg_setup() {
|
| 66 |
DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README* *.txt doc/*.txt"
|
| 67 |
G2CONF="${G2CONF}
|
| 68 |
--disable-static
|
| 69 |
--enable-gconf
|
| 70 |
--enable-shape
|
| 71 |
--enable-sm
|
| 72 |
--enable-startup-notification
|
| 73 |
--enable-xsync
|
| 74 |
--enable-verbose-mode
|
| 75 |
--enable-compile-warnings=maximum
|
| 76 |
--with-libcanberra
|
| 77 |
$(use_enable introspection)
|
| 78 |
$(use_enable xinerama)"
|
| 79 |
}
|
| 80 |
|
| 81 |
src_prepare() {
|
| 82 |
# gobject-introspection-1.33 compat; in 1.0.9
|
| 83 |
epatch "${WORKDIR}/${MY_P}-gtk-doc-syntax.patch"
|
| 84 |
|
| 85 |
gnome2_src_prepare
|
| 86 |
}
|