From 2f7f39a6934bc2559d5b211cd531697f964f9fb4 Mon Sep 17 00:00:00 2001 From: Yiyang Kang Date: Thu, 14 Apr 2022 11:13:52 +0800 Subject: [PATCH] fix: build --- .SRCINFO | 19 +++++++++++++++++++ .gitignore | 4 ++++ PKGBUILD | 12 ++++++------ smaller_volume_step.patch | 2 +- 4 files changed, 30 insertions(+), 7 deletions(-) create mode 100644 .SRCINFO create mode 100644 .gitignore diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..364433e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = pa-applet-git + pkgdesc = PulseAudio control applet + pkgver = 19.3b4f8b3 + pkgrel = 3 + url = https://github.com/fernandotcl/pa-applet + arch = i686 + arch = x86_64 + license = BSD + makedepends = git + depends = gtk3 + depends = libnotify + depends = libpulse + options = !libtool + source = pa-applet-git::git+https://github.com/fernandotcl/pa-applet.git + source = smaller_volume_step.patch + b2sums = SKIP + b2sums = 904312b9170b3a7c8e5c1f3fece067e41db987866b208d98594e408a527de00e3b0e500a8557655ef14582492f37eff380ad01e53cf64b67f8cdd20ad2c34646 + +pkgname = pa-applet-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a0b8d8d --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*~ +/src +/pkg +/pa-applet-git diff --git a/PKGBUILD b/PKGBUILD index 3f99e8b..0f49c00 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Colin Reeder pkgname=pa-applet-git pkgver=19.3b4f8b3 -pkgrel=1 +pkgrel=3 pkgdesc="PulseAudio control applet" arch=(i686 x86_64) url="https://github.com/fernandotcl/pa-applet" @@ -11,13 +11,13 @@ makedepends=('git') options=('!libtool') source=( - "$pkgname"::'git://github.com/fernandotcl/pa-applet.git' + "$pkgname"::'git+https://github.com/fernandotcl/pa-applet.git' 'smaller_volume_step.patch' ) -sha256sums=( - 'SKIP' - '889a9d5fadd29032655cef126b6c3895121706865098c249636be5b3d9d3fbd2' +b2sums=( + SKIP + 904312b9170b3a7c8e5c1f3fece067e41db987866b208d98594e408a527de00e3b0e500a8557655ef14582492f37eff380ad01e53cf64b67f8cdd20ad2c34646 ) pkgver() { @@ -35,7 +35,7 @@ build() { CFLAGS+=" -Wno-error" ./autogen.sh ./configure --prefix=/usr - make -j$(nproc) + make } package() { diff --git a/smaller_volume_step.patch b/smaller_volume_step.patch index ee5306e..9695998 100644 --- a/smaller_volume_step.patch +++ b/smaller_volume_step.patch @@ -7,7 +7,7 @@ index ab0d125..41f8aab 100644 */ -#define STATUS_STEP_SIZE 5.0 -+#define STATUS_STEP_SIZE 2.0 ++#define STATUS_STEP_SIZE 1.0 #include "audio_status.h"