Add 'cpp-alsa-volume/' from commit 'ad4bdad95e0326b21c41e5d0c6667d3d2c9d29df'

git-subtree-dir: cpp-alsa-volume
git-subtree-mainline: 65192f1f92
git-subtree-split: ad4bdad95e
This commit is contained in:
Cedric Girard 2019-02-14 15:21:53 +01:00
commit 30f66dfac8
Signed by: X-dark
GPG Key ID: 37995E758B76710B
2 changed files with 52 additions and 0 deletions

24
cpp-alsa-volume/.SRCINFO Normal file
View File

@ -0,0 +1,24 @@
pkgbase = cpp-alsa-volume
pkgdesc = Tray Alsa Volume Changer written using gtkmm
pkgver = 0.3.3
pkgrel = 1
url = https://github.com/Vitozz/cppAlsaVolume
arch = x86_64
arch = i686
license = GPL2
makedepends = gtkmm3
makedepends = glibmm
makedepends = alsa-lib
makedepends = libpulse
makedepends = libappindicator-gtk3
makedepends = cmake
depends = gtkmm
depends = glibmm
depends = alsa-lib
depends = libpulse
depends = libappindicator-gtk3
source = https://github.com/Vitozz/cppAlsaVolume/archive/v0.3.3.tar.gz
sha256sums = a6a057a49c38348c0e91104e093091a3d535308cf33fac88fd6c80eed895e10b
pkgname = cpp-alsa-volume

28
cpp-alsa-volume/PKGBUILD Normal file
View File

@ -0,0 +1,28 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=cpp-alsa-volume
_upstreamname=cppAlsaVolume
pkgver=0.3.3
pkgrel=1
pkgdesc="Tray Alsa Volume Changer written using gtkmm"
arch=('x86_64' 'i686')
url="https://github.com/Vitozz/cppAlsaVolume"
license=('GPL2')
makedepends=('gtkmm3' 'glibmm' 'alsa-lib' 'libpulse' 'libappindicator-gtk3' 'cmake')
depends=('gtkmm' 'glibmm' 'alsa-lib' 'libpulse' 'libappindicator-gtk3')
source=("https://github.com/Vitozz/cppAlsaVolume/archive/v${pkgver}.tar.gz")
prepare() {
cd "$_upstreamname-$pkgver"
}
build() {
cd "$_upstreamname-$pkgver"
cmake -DUSE_PULSE=ON -DUSE_APPINDICATOR=ON -DUSE_SNI=OFF -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$_upstreamname-$pkgver"
make DESTDIR="$pkgdir/" install
}
sha256sums=('a6a057a49c38348c0e91104e093091a3d535308cf33fac88fd6c80eed895e10b')