@ -1,4 +1,4 @@
# Copyright 1999-202 3 Gentoo Authors
# Copyright 1999-202 4 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Distributed under the terms of the GNU General Public License v2
EAPI = 8
EAPI = 8
@ -13,7 +13,7 @@ if [[ ${PV} == 9999* ]]; then
S = " ${ WORKDIR } / ${ P } "
S = " ${ WORKDIR } / ${ P } "
else
else
SRC_URI = " http://launchpad.net/ ${ PN } / ${ BRANCH } / ${ PV } /+download/ ${ P } .tar.xz "
SRC_URI = " http://launchpad.net/ ${ PN } / ${ BRANCH } / ${ PV } /+download/ ${ P } .tar.xz "
KEYWORDS = "~amd64 "
KEYWORDS = "~amd64 ~arm64 "
fi
fi
DESCRIPTION = "OpenGL window and compositing manager"
DESCRIPTION = "OpenGL window and compositing manager"
@ -22,7 +22,7 @@ HOMEPAGE="https://launchpad.net/compiz"
LICENSE = "GPL-2 LGPL-2.1 MIT"
LICENSE = "GPL-2 LGPL-2.1 MIT"
SLOT = "0"
SLOT = "0"
IUSE = "+cairo debug dbus gles gnome gtk kde +svg test"
IUSE = "+cairo debug dbus gles 2 gnome gtk kde libnotify +svg test"
REQUIRED_USE = " ${ PYTHON_REQUIRED_USE } "
REQUIRED_USE = " ${ PYTHON_REQUIRED_USE } "
RESTRICT = "!test? ( test )"
RESTRICT = "!test? ( test )"
@ -64,6 +64,7 @@ COMMONDEPEND="
)
)
)
)
kde? ( kde-plasma/kwin )
kde? ( kde-plasma/kwin )
libnotify? ( x11-libs/libnotify )
svg? (
svg? (
gnome-base/librsvg:2
gnome-base/librsvg:2
x11-libs/cairo
x11-libs/cairo
@ -109,14 +110,15 @@ src_prepare() {
src_configure( ) {
src_configure( ) {
use debug && CMAKE_BUILD_TYPE = Debug
use debug && CMAKE_BUILD_TYPE = Debug
local mycmakeargs = (
local mycmakeargs = (
-DUSE_GLES= $( usex gles )
-DBUILD_GLES= $( usex gles2 )
-DUSE _GNOME= $( usex gnome)
-DBUILD _GNOME= $( usex gnome)
-DUSE _METACITY= $( usex gnome)
-DBUILD _METACITY= $( usex gnome)
-DUSE _GTK= $( usex gtk)
-DBUILD _GTK= $( usex gtk)
-DCMAKE_CXX_STANDARD= 17
-DCMAKE_CXX_STANDARD= 17
-DCMAKE_BUILD_TYPE= Release
-DCMAKE_BUILD_TYPE= Release
-DCOMPIZ_BUILD_TESTING= $( usex test )
-DCOMPIZ_BUILD_TESTING= $( usex test )
-DCOMPIZ_DEFAULT_PLUGINS= composite,opengl,decor,resize,place,move,ccp
-DCOMPIZ_DEFAULT_PLUGINS= composite,opengl,decor,resize,place,move,ccp
-DCOMPIZ_ENABLED_PLUGIN_NOTIFICATION= $( usex libnotify)
-DCOMPIZ_DISABLE_SCHEMAS_INSTALL= On
-DCOMPIZ_DISABLE_SCHEMAS_INSTALL= On
-DCOMPIZ_PACKAGING_ENABLED= On
-DCOMPIZ_PACKAGING_ENABLED= On
-DCOMPIZ_BUILD_WITH_RPATH= Off
-DCOMPIZ_BUILD_WITH_RPATH= Off