simply bump version of all compiz-related ebuilds
This commit is contained in:
@ -14,4 +14,6 @@ AUX compiz-manager 9835 RMD160 0c579ebd41c22b4f33edb2d2d5b1e41ac30720ac SHA1 ff3
|
||||
AUX compiz-no-gconf.patch 630 RMD160 32b6990dff7baf7f3cb04f728ab04d1523f29c46 SHA1 ad1c0a38dcb83c4768031f0b87db4748b2c24b92 SHA256 87467fbe5d4e0d0bb8952f2d5b74d21046d92d49772543aeda137266e055aa67
|
||||
AUX compiz.desktop 273 RMD160 704f0e631cd41d810af323b5fabbbf7eac5a943b SHA1 e244587cc28613ab92568846754e91bb193f0e85 SHA256 28a5459148c7733cdd82e3ecc1f584231d2619c7305b8bf71060db331bf081fb
|
||||
DIST compiz-0.8.6.tar.bz2 1162334 RMD160 7a5476a21143e29ac2e35465c49e8a52b629a864 SHA1 8d5998cb18418283cbd367f126a65dde4062ad00 SHA256 c4df69b59b5660a37462de9ff0212af024ccf9c8038651bfda3557c955ab4f8c
|
||||
DIST compiz-0.8.8.tar.bz2 1123892 RMD160 430e6ce18e2fc7f6b95907dbc089ec26c2629773 SHA1 ca86f8586f921f084d32c2548a5d2170179a5caf SHA256 3ba555b0d6d536850a227d37d6ebc5cd5b15ee5bad83d7956529a27b870977e3
|
||||
EBUILD compiz-0.8.6-r9999.ebuild 4035 RMD160 794d59ba44892aca9d335e4c2d70184a8925b90a SHA1 1ab759f6767873cdee8bacddd483e59b9e8d1c8f SHA256 e5d7add1f1bff6a09baf3e68376dd9f59b5762b83241d439823cd0604db56dce
|
||||
EBUILD compiz-0.8.8-r9999.ebuild 4037 RMD160 1f8a7cc4e54333d5d99f692546c22653933faedc SHA1 aa53558f0b0cd234ae2bd5de76cb5ff624558532 SHA256 c85518541132bec6a5fb239270bec30180559d397331dfd14285ebc4c4ccf77c
|
||||
|
168
x11-wm/compiz/compiz-0.8.8-r9999.ebuild
Normal file
168
x11-wm/compiz/compiz-0.8.8-r9999.ebuild
Normal file
@ -0,0 +1,168 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/compiz-0.8.6-r3.ebuild,v 1.3 2011/11/11 22:54:51 ssuominen Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit autotools eutils gnome2-utils
|
||||
|
||||
DESCRIPTION="OpenGL window and compositing manager"
|
||||
HOMEPAGE="http://www.compiz.org/"
|
||||
SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
# dbus has been disabled because of bug 365121
|
||||
IUSE="+cairo fuse gnome gconf gtk kde +svg" # dbus
|
||||
|
||||
COMMONDEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/libxslt
|
||||
media-libs/libpng
|
||||
>=media-libs/mesa-6.5.1-r1
|
||||
>=x11-base/xorg-server-1.1.1-r1
|
||||
>=x11-libs/libX11-1.4
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
>=x11-libs/libXrender-0.8.4
|
||||
>=x11-libs/startup-notification-0.7
|
||||
cairo? (
|
||||
x11-libs/cairo[X]
|
||||
)
|
||||
fuse? ( sys-fs/fuse )
|
||||
gnome? (
|
||||
>=gnome-base/gnome-control-center-2.16.1:2
|
||||
gnome-base/gnome-desktop:2
|
||||
gconf? ( gnome-base/gconf:2 )
|
||||
)
|
||||
gtk? (
|
||||
>=x11-libs/gtk+-2.8.0:2
|
||||
>=x11-libs/libwnck-2.18.3:1
|
||||
x11-libs/pango
|
||||
)
|
||||
kde? (
|
||||
|| (
|
||||
>=kde-base/kwin-4.2.0
|
||||
kde-base/kwin:live
|
||||
)
|
||||
)
|
||||
svg? (
|
||||
>=gnome-base/librsvg-2.14.0:2
|
||||
>=x11-libs/cairo-1.0
|
||||
)
|
||||
"
|
||||
# dbus? ( >=sys-apps/dbus-1.0 )
|
||||
|
||||
DEPEND="${COMMONDEPEND}
|
||||
dev-util/pkgconfig
|
||||
x11-proto/damageproto
|
||||
x11-proto/xineramaproto
|
||||
"
|
||||
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
x11-apps/mesa-progs
|
||||
x11-apps/xvinfo
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
|
||||
echo "gtk/gnome/compiz-wm.desktop.in" >> "${S}/po/POTFILES.skip"
|
||||
echo "metadata/core.xml.in" >> "${S}/po/POTFILES.skip"
|
||||
|
||||
# fix cont corruption, bug #343861
|
||||
# epatch "${FILESDIR}"/${P}-r2-fontcorruption.patch
|
||||
# epatch "${FILESDIR}"/${P}-gdk-display-deprecated.patch
|
||||
|
||||
if ! use gnome || ! use gconf; then
|
||||
epatch "${FILESDIR}"/${PN}-no-gconf.patch
|
||||
fi
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
# We make gconf optional by itself, but only if gnome is also
|
||||
# enabled, otherwise we simply disable it.
|
||||
if use gnome; then
|
||||
myconf="${myconf} $(use_enable gconf)"
|
||||
else
|
||||
myconf="${myconf} --disable-gconf"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--enable-fast-install \
|
||||
--disable-static \
|
||||
--disable-gnome-keybindings \
|
||||
--with-default-plugins \
|
||||
$(use_enable svg librsvg) \
|
||||
$(use_enable cairo annotate) \
|
||||
--disable-dbus \
|
||||
--disable-dbus-glib \
|
||||
$(use_enable fuse) \
|
||||
$(use_enable gnome) \
|
||||
$(use_enable gnome metacity) \
|
||||
$(use_enable gtk) \
|
||||
$(use_enable kde kde4) \
|
||||
--disable-kde \
|
||||
${myconf}
|
||||
|
||||
# $(use_enable dbus)
|
||||
# $(use_enable dbus dbus-glib)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
# Install compiz-manager
|
||||
dobin "${FILESDIR}/compiz-manager" || die "dobin failed"
|
||||
|
||||
# Add the full-path to lspci
|
||||
sed -i "s#lspci#/usr/sbin/lspci#" "${D}/usr/bin/compiz-manager" || die "sed 1 failed"
|
||||
|
||||
# Fix the hardcoded lib paths
|
||||
sed -i "s#/lib/#/$(get_libdir)/#g" "${D}/usr/bin/compiz-manager" || die "sed 2 failed"
|
||||
|
||||
# Create gentoo's config file
|
||||
dodir /etc/xdg/compiz || die "dodir failed"
|
||||
|
||||
cat <<- EOF > "${D}/etc/xdg/compiz/compiz-manager"
|
||||
COMPIZ_BIN_PATH="/usr/bin/"
|
||||
PLUGIN_PATH="/usr/$(get_libdir)/compiz/"
|
||||
LIBGL_NVIDIA="/usr/$(get_libdir)/opengl/xorg-x11/lib/libGL.so.1.2"
|
||||
LIBGL_FGLRX="/usr/$(get_libdir)/opengl/xorg-x11/lib/libGL.so.1.2"
|
||||
KWIN="$(type -p kwin)"
|
||||
METACITY="$(type -p metacity)"
|
||||
SKIP_CHECKS="yes"
|
||||
EOF
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
|
||||
|
||||
insinto "/usr/share/applications"
|
||||
doins "${FILESDIR}/compiz.desktop" || die "Failed to install compiz.desktop"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
use gnome && use gconf && gnome2_gconf_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use gnome && use gconf && gnome2_gconf_install
|
||||
|
||||
ewarn "If you update to x11-wm/metacity-2.24 after you install ${P},"
|
||||
ewarn "gtk-window-decorator will crash until you reinstall ${PN} again."
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
use gnome && gnome2_gconf_uninstall
|
||||
}
|
Reference in New Issue
Block a user