Skip to content

Instantly share code, notes, and snippets.

@elmodaddyb
Created September 10, 2017 21:05
Show Gist options
  • Save elmodaddyb/5d29ba6b7b286cdb71ed01d74766fa68 to your computer and use it in GitHub Desktop.
Save elmodaddyb/5d29ba6b7b286cdb71ed01d74766fa68 to your computer and use it in GitHub Desktop.
Instructions for Gerbera build on macos Sierra
  1. Download source
  2. install taglib using script
  3. install pupnp using script (update prefix to /usr/local)
  4. install duktape modify Makefile.sharedlibrary to use -install_name instead of -soname for gcc compilation.
  5. Build project, below is an example
~/gerbera/ mkdir build
~/gerbera/ cd build
~/gerbera/build/ cmake ../ -DCMAKE_FIND_FRAMEWORK=LAST \
-DWITH_MAGIC=1 \
-DWITH_MYSQL=0 \
-DWITH_CURL=1 \ 
-DWITH_JS=1 \
-DWITH_TAGLIB=1 \
-DWITH_AVCODEC=1 \
-DWITH_EXIF=1 \
-DWITH_LASTFM=0 \
-DWITH_INOTIFY=0 \

Note - use -DCMAKE_FIND_FRAMEWORK=LAST option to avoid Clang linkage errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment