PAmix: update to 1.6.

This commit is contained in:
Toyam Cox 2018-01-09 16:30:23 -05:00
parent 128f78038b
commit 3cda3ac0ba
2 changed files with 33 additions and 7 deletions

View file

@ -0,0 +1,28 @@
From 4807a44c793a61bb3eb7aa110c08db51938d4502 Mon Sep 17 00:00:00 2001
From: Joshua Jensch <jenschjoshua@gmail.com>
Date: Sun, 7 Jan 2018 16:54:18 +0100
Subject: [PATCH] remove redundant ncursesw include
fixes #37
---
src/pamix_ui.cpp | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/pamix_ui.cpp b/src/pamix_ui.cpp
index ed2d65e..16a2e34 100644
--- src/pamix_ui.cpp
+++ src/pamix_ui.cpp
@@ -1,13 +1,5 @@
#include <pamix_ui.hpp>
-#ifdef FEAT_UNICODE
-
-#include <ncursesw/ncurses.h>
-
-#else
-#include <ncurses.h>
-#endif
-
#include <pamix.hpp>
void pamix_ui::reset() {

View file

@ -1,8 +1,9 @@
# Template file for 'PAmix'
pkgname=PAmix
version=1.5
version=1.6
revision=1
build_style=gnu-configure
build_style=cmake
configure_args='-DWITH_UNICODE=1 -DNCURSESW_H_INCLUDE=ncurses.h'
hostmakedepends="pkg-config automake autoconf-archive"
makedepends="pulseaudio-devel ncurses-devel"
conf_files="/etc/pamix.conf"
@ -11,16 +12,12 @@ maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="MIT"
homepage="https://github.com/patroclos/PAmix"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=f0085f00a9b0285465ad89c14d2aaa14090c1658ec4c34c49a2a42f5abb50fc3
checksum=b63522889d70920d64229c66e2ab6929950476538443af297f6b242f7e9dc406
case "${XBPS_TARGET_MACHINE}" in
*-musl) broken="Parts of ncurses, not available on musl";;
esac
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense LICENSE
}
@ -28,3 +25,4 @@ post_install() {
# REMARKS:
# Named PAmix instead of pamix to match upstream and prevent misassociation
# with Pluggable Authentication Modules
# configure_args as suggested by https://github.com/patroclos/PAmix/issues/37