diff options
author | Alexander Golubev <[email protected]> | 2024-01-02 16:25:31 +0300 |
---|---|---|
committer | TDE Gitea <[email protected]> | 2024-01-17 22:49:05 +0000 |
commit | 0c3ac7cd9528c0717d0be68b6a74fe0b70e97aaf (patch) | |
tree | 434844bbfc2346b24d945bc69ddb525cc26b0a53 | |
parent | 66b9980c01415d4fbac29e1ece821fed4bad0860 (diff) | |
download | tde-packaging-gentoo-0c3ac7cd9528c0717d0be68b6a74fe0b70e97aaf.tar.gz tde-packaging-gentoo-0c3ac7cd9528c0717d0be68b6a74fe0b70e97aaf.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 <[email protected]>
-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.xml | 3 |
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>[email protected]</email> <name>Trinity Gentoo ebuilds project</name> </maintainer> + <upstream> + <remote-id type="launchpad">compiz</remote-id> + </upstream> </pkgmetadata> |