community/startup-notification: disable tests which FTBFS

This commit is contained in:
Ariadne Conill 2024-08-26 21:57:37 -07:00
parent c9c25690f4
commit 83616ef4b9
2 changed files with 29 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=startup-notification
pkgver=0.12
pkgrel=7
pkgrel=8
pkgdesc="Monitor and display application startup"
url="https://www.freedesktop.org/wiki/Software/startup-notification"
arch="all"
@ -9,10 +9,12 @@ license="LGPL-2.0-or-later"
subpackages="$pkgname-dbg $pkgname-dev"
depends_dev="libsm-dev xcb-util-dev"
makedepends="$depends_dev libx11-dev"
source="https://www.freedesktop.org/software/startup-notification/releases/startup-notification-$pkgver.tar.gz"
source="https://www.freedesktop.org/software/startup-notification/releases/startup-notification-$pkgver.tar.gz
disable-rotten-tests.patch"
prepare() {
default_prepare
autoreconf -vi
update_config_sub
}
@ -33,4 +35,7 @@ check() {
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="ea1246acdb50dafd9ced9914ec3c8f0d499c0ca3cfd447b43a444c768a6e9ea7135e5c42d9ca0089354698ac235bd86d42f12c70a3a17c9c79f998c07461f7ab startup-notification-0.12.tar.gz"
sha512sums="
ea1246acdb50dafd9ced9914ec3c8f0d499c0ca3cfd447b43a444c768a6e9ea7135e5c42d9ca0089354698ac235bd86d42f12c70a3a17c9c79f998c07461f7ab startup-notification-0.12.tar.gz
955db2c24ed28cfb1397c183d2a9d1617c5617e329b819a65ee592dc7cd5c019187e72f4061ad8c5b8eb8f55aa9af539b9e81c21e4c748c98f538bf2a8b97f39 disable-rotten-tests.patch
"

View File

@ -0,0 +1,21 @@
--- startup-notification-0.12.orig/test/Makefile.am
+++ startup-notification-0.12/test/Makefile.am
@@ -5,16 +5,12 @@
XLIB_TEST= \
test-launcher \
test-launchee \
- test-monitor \
- test-send-xmessage \
- test-watch-xmessages
+ test-monitor
XCB_TEST= \
- test-send-xmessage-xcb \
test-monitor-xcb \
test-launchee-xcb \
- test-launcher-xcb \
- test-watch-xmessages-xcb
+ test-launcher-xcb
check_PROGRAMS=$(XLIB_TEST) $(XCB_TEST)