summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-09-09 02:16:22 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-09-09 02:16:22 -0400
commit3525841462da6cbf6205028a66102b6462af6713 (patch)
tree44c666676aa1c70749e7abe577ff6a4013e8132f /git-annex.cabal
parent2491797a7e80c8f91bff0128b9045c5eb14668f6 (diff)
Allow building without quvi support.
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal11
1 files changed, 9 insertions, 2 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 9aca6db7b..915f9aabe 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -68,6 +68,9 @@ Flag TDFA
Flag Feed
Description: Enable podcast feed support
+Flag Quvi
+ Description: Enable use of quvi to download videos
+
Executable git-annex
Main-Is: git-annex.hs
Build-Depends: MissingH, hslogger, directory, filepath,
@@ -76,7 +79,7 @@ Executable git-annex
extensible-exceptions, dataenc, SHA, process, json,
base (>= 4.5 && < 4.8), monad-control, MonadCatchIO-transformers,
IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance, process,
- SafeSemaphore, uuid, random, dlist, unix-compat, aeson
+ SafeSemaphore, uuid, random, dlist, unix-compat
-- Need to list these because they're generated from .hsc files.
Other-Modules: Utility.Touch Utility.Mounts
Include-Dirs: Utility
@@ -142,7 +145,7 @@ Executable git-annex
yesod, yesod-default, yesod-static, yesod-form, yesod-core,
case-insensitive, http-types, transformers, wai, wai-logger, warp,
blaze-builder, crypto-api, hamlet, clientsession,
- template-haskell, data-default
+ template-haskell, data-default, aeson
CPP-Options: -DWITH_WEBAPP
if flag(Pairing)
@@ -160,6 +163,10 @@ Executable git-annex
if flag(Feed)
Build-Depends: feed
CPP-Options: -DWITH_FEED
+
+ if flag(Quvi)
+ Build-Depends: aeson
+ CPP-Options: -DWITH_QUVI
source-repository head
type: git