mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-06 22:24:12 -05:00
39 lines
1.1 KiB
Ruby
39 lines
1.1 KiB
Ruby
require 'package'
|
|
|
|
class Pavucontrol < Package
|
|
description 'PulseAudio Volume Control'
|
|
homepage 'https://freedesktop.org/software/pulseaudio/pavucontrol/'
|
|
version '4.0-381b-1'
|
|
license 'GPL-2'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://github.com/pulseaudio/pavucontrol/archive/381b708202e87e40347a57f8a627014199cde266.zip'
|
|
source_sha256 'aa6c5814e77a8f36d8ed50b70381fbfbab2ebbf0fb62548ec8b8b935527d527e'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: '2773e569e8fef5cbc3d2adadf9d94abdbb7122393baff840e6f743ebe669f1b9',
|
|
armv7l: '2773e569e8fef5cbc3d2adadf9d94abdbb7122393baff840e6f743ebe669f1b9',
|
|
x86_64: '01f0d27fac88490d8d4b149a3396e8e0fd85e2c5763a08f4367245e10b6ea303'
|
|
})
|
|
|
|
depends_on 'libcanberra'
|
|
depends_on 'gtkmm3'
|
|
depends_on 'libsigcplusplus'
|
|
depends_on 'pulseaudio'
|
|
depends_on 'pygtk'
|
|
depends_on 'glibmm'
|
|
|
|
def self.build
|
|
system 'NOCONFIGURE=1 ./bootstrap.sh'
|
|
system "env #{CREW_ENV_OPTIONS} \
|
|
./configure \
|
|
#{CREW_CONFIGURE_OPTIONS} \
|
|
--disable-lynx"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system "make DESTDIR=#{CREW_DEST_DIR} install"
|
|
end
|
|
end
|