summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2014-04-11Fix volume controlLars-Dominik Braun1-35/+17
Commit 8012d6cb4bb65a858105ef878c5b98d91b24e1cd was broken in several ways. Since auto-detection did not work correctly it was replaced by a user-editable variable. See #439.
2014-04-07ffmpeg compatibilityLars-Dominik Braun1-19/+35
Adds support for ffmpeg 2.2 and 1.2. Right now the maintenance overhead of supporting both libav implementations is not that big. Fixes #437 and #435.
2014-03-31Use libav/ffmpeg for audio decodingLars-Dominik Braun1-23/+7
libav 9.12 and ffmpeg 2.2 have been tested. Here’s why: My mp4 “parser” *cough* never was a mp4 parser in the sense that it actually understood the file format. Instead it grepped the input stream for “magic” strings (section identifiers). That alone should be sufficient to throw away the code and rewrite it. Additionally libfaad2 has not been updated for ages. I guess it was abandoned in favor of libav/ffmpeg. With libav/ffmpeg, which we support both as long as the API’s don’t diverge too much, pianobar gains fast and reliable AAC and MP3 decoding without bothering too much about the details. Most users will have it installed already. On my own machine libav consumes about 2/3 CPU time compared to the previous solution when playing AAC. Unfortunately memory usage doubled and my attempts to disable unused protocols/formats/codec failed due to libav’s API limitations. While cleaning up a small detail regarding the eventcmd API has changed too: Song duration and position are measured in seconds instead of milliseconds now. Since libav/ffmpeg keeps track of accurate timing the precision pianobar keeps track of can be reduced, while still being sufficient for most users.
2014-01-31Switch to clang for debugging build + fix issuesLars-Dominik Braun1-26/+16
2013-10-24Port to OpenBSDRichard Allen1-0/+2
This really just tells the makefile how to call the compiler on OpenBSD. You'll also want the following packages: json libmad libao faad gnutls
2013-09-08waitress: Move testcases to separate fileLars-Dominik Braun1-3/+5
Now the test-enabled waitress.o does not conflict with pianobar’s waitress.o any more, thus running `make test` without `make clean` works fine.
2013-08-09Remove nonexisting list.h from MakefileLars-Dominik Braun1-1/+0
Oops. Fixes #386.
2013-08-07piano: Generic linked listsLars-Dominik Braun1-1/+3
Introduces generic linked list structure and functions (like append, delete, …). Removes a lot of copy&pasted code and improves code readability/reusability. Heads up: This change breaks libpiano’s ABI.
2013-06-08Fix build in FreeBSDWilliam Grzybowski1-0/+2
2013-04-30Makefile: Use simple variablesLars-Dominik Braun1-30/+30
TIL recursive variables and $(shell …) slow down `make`.
2013-04-30Makefile: Use new json-c pkgconfig file nameLars-Dominik Braun1-2/+2
Keeps compatibility with older versions (will be removed in the future). Closes #364.
2013-04-17Link dynamic pianobar against gcryptLars-Dominik Braun1-1/+2
Commit 96db841a16670b52fa462337c657c6dc6bd2844a added initialization functions to the pianobar binary but failed to link the dynamically linked version against libgcrypt. Closes #362.
2013-01-09Use gcc -std=c99 instead of c99 on OS XTej Chajed1-1/+6
Automatic checking in Makefile. Fixes #308 and #340.
2012-06-24Auto-dependency generationLars-Dominik Braun1-1/+17
Modified example from GNU make manual[1] and [2]. Closes #221. [1] http://www.gnu.org/software/make/manual/make.html#Automatic-Prerequisites [2] http://make.paulandlesley.org/autodep.html
2012-05-23Add libgcrypt cflags to %.o targetTodd Eigenschink1-1/+1
2012-05-17Fix dynlink with --as-neededLars-Dominik Braun1-2/+2
Closes #258.
2012-05-09Correct LDFLAGS for DYNLINK=1Andres J Ruiz Torres1-3/+2
Closes #253
2012-05-08Use pkg-config for libmad and gnutlsDavid Coppa1-3/+4
2012-05-02Fixed building when DYNLIB=1Kaleb Elwert1-0/+1
Closes #247
2012-05-01piano: Remove old blowfish keysLars-Dominik Braun1-2/+0
2012-05-01piano: Split piano.c into request.c and response.cLars-Dominik Braun1-1/+3
2012-05-01piano: Move to JSON API (v5)Lars-Dominik Braun1-24/+23
In random order: Thanks to Chris Eby for his work on pithos, to an anonymous coward for sending me his Android client, to Alex Howard for sending me the webOS client, to ZigZagJoe for providing a temporary fix and thanks to everyone who sent Pandora a message. Although there are a few rough edges here and there this fixes #236.
2011-12-24Pretty makeLars-Dominik Braun1-9/+16
2011-12-24Enable a lot of GCC warnings for debug targetLars-Dominik Braun1-1/+26
2011-12-23Fix warnings found by -Wcast-qualLars-Dominik Braun1-1/+1
2011-12-23Fix warnings found by -WshadowLars-Dominik Braun1-1/+1
2011-12-23Fix warnings found by -Wmissing-declarationsLars-Dominik Braun1-1/+1
2011-12-08Added gnutls flags so libpiano.so.0 builds correctly when using DYNLINKbrimstone1-1/+1
2011-11-09TLS is not optional any moreLars-Dominik Braun1-7/+2
2011-11-09waitress: Initial TLS implementation (using gnutls)Lars-Dominik Braun1-4/+12
2011-08-18Add .PHONY to Makefile to avoid conflicts on case-insensitive file systemsaguynamedryan1-0/+2
Closes #147
2011-06-18Makefile: Don't override CFLAGS and CC environment variablesLars-Dominik Braun1-3/+8
Closes #129.
2011-06-13waitress: Rewrite split urlLars-Dominik Braun1-3/+10
Accepts user and password in urls now. Tests added.
2011-05-07Use the correct linking order for the --as-needed flagTim Harder1-3/+3
Closes #117
2011-04-20Make libpiano usable for 3rd party applicationsRomain Beauxis1-9/+30
* build shared library, * install it along with the required symlinks * install library headers * dynamically link pianobar to libpiano (if requested by the user)
2011-04-12Added LDFLAGS to Makefile and simplified LIB*_LDFLAGSLars-Dominik Braun1-19/+9
See issue #103.
2011-03-24Use c99 in posix compliant wayLars-Dominik Braun1-6/+6
-lpthread and move object file to the end of the argument list.
2011-02-27Use `c99`Lars-Dominik Braun1-2/+3
2011-02-26Rewrite input processingLars-Dominik Braun1-1/+2
2010-12-26Debug target addedLars-Dominik Braun1-0/+3
2010-12-26Better directory layoutLars-Dominik Braun1-6/+7
Removed useless AUTHORS, COPYING and README files. Move manpage to contrib (it's not exactly source code).
2010-12-12Use more reasonable CFLAGSLars-Dominik Braun1-1/+1
Disable debug flags by default.
2010-11-07Fix compilation with DISABLE_MAD/FAADLars-Dominik Braun1-12/+11
Broken since d39745491dc911c7b7118402d640d54d50e845ab, fixes issue #51
2010-10-08Use user-specified include directoriesLars-Dominik Braun1-0/+1
2010-08-21Preparing for release 2010.08.21Lars-Dominik Braun1-1/+2
2010-07-31Replaced long argument list of ui callback functionsLars-Dominik Braun1-1/+2
Structure BarApp_t contains most important data now.
2010-06-11Switching build system againLars-Dominik Braun1-0/+125
Now it's plain make.