summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-01-02 16:25:31 +0300
committerSlávek Banko <slavek.banko@axis.cz>2024-01-17 23:49:23 +0100
commit056817d7edc5735999b8c8d1818aaa296b3d33a4 (patch)
tree434844bbfc2346b24d945bc69ddb525cc26b0a53
parentb79d5a787a45f287a2c2a231c5a4c0a9e90426f5 (diff)
downloadtde-packaging-gentoo-056817d7edc5735999b8c8d1818aaa296b3d33a4.tar.gz
tde-packaging-gentoo-056817d7edc5735999b8c8d1818aaa296b3d33a4.zip
x11-wm/compiz: several improvements
- fix automagical depend upon libnotify - rename USE gles->gles2 to be more consistent with other packages - use -DBUILD* cmake flags rather -DUSE_* - fix GLES support: Before that GLES was always enabled on arm* and always disabled on all other arches regardless of the use flag. Use of -DBUILD_GLES rathere than -DUSE_GLES fixes the issue. - keyworded for ~arm64 Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 0c3ac7cd9528c0717d0be68b6a74fe0b70e97aaf)
-rw-r--r--x11-wm/compiz/compiz-0.9.14.2-r1.ebuild (renamed from x11-wm/compiz/compiz-0.9.14.2.ebuild)16
-rw-r--r--x11-wm/compiz/metadata.xml3
2 files changed, 12 insertions, 7 deletions
diff --git a/x11-wm/compiz/compiz-0.9.14.2.ebuild b/x11-wm/compiz/compiz-0.9.14.2-r1.ebuild
index f58b93ed..ff87c39d 100644
--- a/x11-wm/compiz/compiz-0.9.14.2.ebuild
+++ b/x11-wm/compiz/compiz-0.9.14.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@ if [[ ${PV} == 9999* ]]; then
S="${WORKDIR}/${P}"
else
SRC_URI="http://launchpad.net/${PN}/${BRANCH}/${PV}/+download/${P}.tar.xz"
- KEYWORDS="~amd64"
+ KEYWORDS="~amd64 ~arm64"
fi
DESCRIPTION="OpenGL window and compositing manager"
@@ -22,7 +22,7 @@ HOMEPAGE="https://launchpad.net/compiz"
LICENSE="GPL-2 LGPL-2.1 MIT"
SLOT="0"
-IUSE="+cairo debug dbus gles gnome gtk kde +svg test"
+IUSE="+cairo debug dbus gles2 gnome gtk kde libnotify +svg test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
@@ -64,6 +64,7 @@ COMMONDEPEND="
)
)
kde? ( kde-plasma/kwin )
+ libnotify? ( x11-libs/libnotify )
svg? (
gnome-base/librsvg:2
x11-libs/cairo
@@ -109,14 +110,15 @@ src_prepare() {
src_configure() {
use debug && CMAKE_BUILD_TYPE=Debug
local mycmakeargs=(
- -DUSE_GLES=$(usex gles)
- -DUSE_GNOME=$(usex gnome)
- -DUSE_METACITY=$(usex gnome)
- -DUSE_GTK=$(usex gtk)
+ -DBUILD_GLES=$(usex gles2)
+ -DBUILD_GNOME=$(usex gnome)
+ -DBUILD_METACITY=$(usex gnome)
+ -DBUILD_GTK=$(usex gtk)
-DCMAKE_CXX_STANDARD=17
-DCMAKE_BUILD_TYPE=Release
-DCOMPIZ_BUILD_TESTING=$(usex test)
-DCOMPIZ_DEFAULT_PLUGINS=composite,opengl,decor,resize,place,move,ccp
+ -DCOMPIZ_ENABLED_PLUGIN_NOTIFICATION=$(usex libnotify)
-DCOMPIZ_DISABLE_SCHEMAS_INSTALL=On
-DCOMPIZ_PACKAGING_ENABLED=On
-DCOMPIZ_BUILD_WITH_RPATH=Off
diff --git a/x11-wm/compiz/metadata.xml b/x11-wm/compiz/metadata.xml
index 689e1534..6931572b 100644
--- a/x11-wm/compiz/metadata.xml
+++ b/x11-wm/compiz/metadata.xml
@@ -5,4 +5,7 @@
<email>team-gentoo@trinitydesktop.org</email>
<name>Trinity Gentoo ebuilds project</name>
</maintainer>
+ <upstream>
+ <remote-id type="launchpad">compiz</remote-id>
+ </upstream>
</pkgmetadata>