Patches for aports can be sent to this list

[alpine-aports] [PATCH] community/compton: upgrade to 6_rc2

Paul Bredbury
Details
Message ID
<20190317102653.6924-1-brebs@sent.com>
Sender timestamp
1552818413
DKIM signature
missing
Download raw message
Patch: +11 -5
Works great with modesetting (replacing xf86-video-intel).

Build docs - there are many, changing, configuration options.

The DRM vsync method is warned about being deprecated.
---
 community/compton/APKBUILD | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/community/compton/APKBUILD b/community/compton/APKBUILD
index 94546cb983..35403b8bf4 100644
--- a/community/compton/APKBUILD
+++ b/community/compton/APKBUILD
@@ -1,7 +1,8 @@
 # Contributor: Francesco Colista <fcolista@alpinelinux.org>
 # Maintainer: Francesco Colista <fcolista@alpinelinux.org>
 pkgname=compton
-pkgver=5.1
+pkgver=6_rc2
+_pkgver=${pkgver//_/-}
 pkgrel=0
 pkgdesc="X Compositor (a fork of xcompmgr-dana)"
 url="https://github.com/chjj/compton"
@@ -13,13 +14,18 @@ makedepends="libx11-dev libxcomposite-dev libxinerama-dev libxdamage-dev \
 	xcb-util-image-dev asciidoc"
 install=""
 subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/yshui/$pkgname/archive/v$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/yshui/$pkgname/archive/v$_pkgver.tar.gz"
 options="!check" # No tests defined in tests/ directory
-builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/$pkgname-$_pkgver"
 
 build() {
 	cd "$builddir"
-	meson -Dvsync_drm=true --buildtype=release --prefix=/usr . build
+	meson \
+		--prefix=/usr \
+		--buildtype=release \
+		-Dbuild_docs=true \
+		build
+
 	ninja -v -C build
 }
 
@@ -32,4 +38,4 @@ package() {
 	install -D -m644 "compton.sample.conf" "$pkgdir/etc/xdg/compton.conf.example"
 }
 
-sha512sums="61f88019b2b4ef06e5c6a155f913b0b1c0ab7d077be5af14104596cebe0428ba6d0d98399e3c450c494945a1d4727446b2f3631989dc766439112527a9d0a888  compton-5.1.tar.gz"
+sha512sums="bacd14d43d6f6665de250332db9925a15376471fed38f66cda35ae68446e726abf5c14023a6bb8caf89aabb6d24745f273f78f4cf1f8e7ee692e5b299a545a7c  compton-6_rc2.tar.gz"
-- 
2.21.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---