summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2017-05-09 13:46:53 +0800
committerJason Zaman <perfinion@gentoo.org>2017-05-09 15:23:12 +0800
commit13afdb218b4c62a228272a9150659ee368cdaedc (patch)
tree1ca77df34a34579ed7fbfe185d5d7a4fd07e8d52 /xfce-base/xfwm4
parentprofiles: mask xfce-base/xfwm4[xpresent] on unkeyworded arches (diff)
downloadgentoo-13afdb218b4c62a228272a9150659ee368cdaedc.tar.gz
gentoo-13afdb218b4c62a228272a9150659ee368cdaedc.tar.bz2
gentoo-13afdb218b4c62a228272a9150659ee368cdaedc.zip
xfce-base/xfwm4: enable xpresent extension
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'xfce-base/xfwm4')
-rw-r--r--xfce-base/xfwm4/metadata.xml11
-rw-r--r--xfce-base/xfwm4/xfwm4-4.13.0.ebuild6
2 files changed, 10 insertions, 7 deletions
diff --git a/xfce-base/xfwm4/metadata.xml b/xfce-base/xfwm4/metadata.xml
index 359901b31db..60c89e524c5 100644
--- a/xfce-base/xfwm4/metadata.xml
+++ b/xfce-base/xfwm4/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>xfce@gentoo.org</email>
- <name>XFCE Team</name>
- </maintainer>
+ <maintainer type="project">
+ <email>xfce@gentoo.org</email>
+ <name>XFCE Team</name>
+ </maintainer>
+ <use>
+ <flag name="xpresent">Enable the XPresent extension for sync to vblank</flag>
+ </use>
</pkgmetadata>
diff --git a/xfce-base/xfwm4/xfwm4-4.13.0.ebuild b/xfce-base/xfwm4/xfwm4-4.13.0.ebuild
index 89fdca3524a..ec35259bf1d 100644
--- a/xfce-base/xfwm4/xfwm4-4.13.0.ebuild
+++ b/xfce-base/xfwm4/xfwm4-4.13.0.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://xfce/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
-IUSE="opengl startup-notification +xcomposite"
+IUSE="opengl startup-notification +xcomposite xpresent"
RDEPEND="dev-libs/dbus-glib:=
>=dev-libs/glib-2.20:=
@@ -26,6 +26,7 @@ RDEPEND="dev-libs/dbus-glib:=
>=xfce-base/xfconf-4.10:=
opengl? ( media-libs/libepoxy:=[X(+)] )
startup-notification? ( x11-libs/startup-notification:= )
+ xpresent? ( x11-libs/libXpresent )
xcomposite? (
x11-libs/libXcomposite:=
x11-libs/libXdamage:=
@@ -50,8 +51,7 @@ src_configure() {
--enable-xsync
--enable-render
--enable-randr
- # not packaged atm, bug #549040
- --disable-xpresent
+ $(use_enable xpresent)
$(use_enable xcomposite compositor)
)