summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD5
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5a6a3f44ae3..ccd19c9c4f0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,8 +10,9 @@ pkgbase = libsndfile-minimal-git
makedepends = autogen
depends = glibc
depends = alsa-lib
- depends = libogg
- depends = libvorbis
+ optdepends = flac: flac support
+ optdepends = libogg: ogg support
+ optdepends = libvorbis: vorbis support
provides = libsndfile
conflicts = libsndfile
options = staticlibs
diff --git a/PKGBUILD b/PKGBUILD
index e4bc4ab2a4a..b4cb76bb65b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,10 @@ pkgdesc="C library for reading and writing files containing sampled sound"
arch=('i686' 'x86_64')
url="http://www.mega-nerd.com/libsndfile/"
license=('LGPL')
-depends=('glibc' 'alsa-lib' 'libogg' 'libvorbis')
+depends=('glibc' 'alsa-lib')
+optdepends=('flac: flac support'
+ 'libogg: ogg support'
+ 'libvorbis: vorbis support')
makedepends=('git' 'autogen')
provides=('libsndfile')
conflicts=('libsndfile')