fix: build

This commit is contained in:
Yiyang Kang 2022-04-14 11:13:52 +08:00
parent eb79670b10
commit 2f7f39a693
Signed by: kkyy
GPG Key ID: 80FD317ECAF06CC3
4 changed files with 30 additions and 7 deletions

19
.SRCINFO Normal file
View File

@ -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

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*~
/src
/pkg
/pa-applet-git

View File

@ -1,7 +1,7 @@
# Maintainer: Colin Reeder <colin AT reederhome DOT net>
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() {

View File

@ -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"