|
a/doc/upmpdcli-manual.txt |
|
b/doc/upmpdcli-manual.txt |
|
... |
|
... |
819 |
|
819 |
|
820 |
|
820 |
|
821 |
[[UPMPDCLI-BUILDING]]
|
821 |
[[UPMPDCLI-BUILDING]]
|
822 |
== Building from source
|
822 |
== Building from source
|
823 |
|
823 |
|
824 |
=== Building libupnpp and upmpdcli
|
824 |
=== Building libupnpp and upmpdcli on Linux
|
825 |
|
825 |
|
826 |
For building from source, you will need a C\++ compiler with full
|
826 |
For building from source, you will need a C\++ compiler with full
|
827 |
C++11 support, and the development packages for *libupnp* version 1.6,
|
827 |
C++11 support, and the development packages for *libupnp* version 1.6,
|
828 |
*libcurl*, *libmpdclient*, and *libexpat*.
|
828 |
*libcurl*, *libmpdclient*, and *libexpat*.
|
829 |
|
829 |
|
|
... |
|
... |
874 |
service file under `systemd/` (for Fedora et al.).
|
874 |
service file under `systemd/` (for Fedora et al.).
|
875 |
|
875 |
|
876 |
The boot scripts are installed by the pre-built packages, so will just have
|
876 |
The boot scripts are installed by the pre-built packages, so will just have
|
877 |
to edit the configuration file after installing them, all the rest should
|
877 |
to edit the configuration file after installing them, all the rest should
|
878 |
just work.
|
878 |
just work.
|
|
|
879 |
|
|
|
880 |
=== Building libupnpp and upmpdcli on Mac OS X
|
|
|
881 |
|
|
|
882 |
I don't run Mac OS X and I can't support this directly. However a kind user
|
|
|
883 |
has provided a
|
|
|
884 |
link:https://opensourceprojects.eu/p/upmpdcli/tickets/3/[build recipe]
|
|
|
885 |
based on homebrew.
|
|
|
886 |
|
|
|
887 |
You will first need to apply the patches from
|
|
|
888 |
link:https://www.lesbonscomptes.com/upmpdcli/files/2017-12-upmpdcli-macos-build-patches.tgz[this
|
|
|
889 |
file].
|
|
|
890 |
|
|
|
891 |
Then:
|
|
|
892 |
|
|
|
893 |
----
|
|
|
894 |
brew install mpd
|
|
|
895 |
brew install autoconf
|
|
|
896 |
brew install automake
|
|
|
897 |
brew install libtool
|
|
|
898 |
brew install libupnp libmpdclient expat jsoncpp libmicrohttpd expat curl
|
|
|
899 |
brew install pkg-config
|
|
|
900 |
brew install expat
|
|
|
901 |
export PKG_CONFIG_PATH=/usr/local/opt/expat/lib/pkgconfig
|
|
|
902 |
configure --prefix=/usr
|
|
|
903 |
make
|
|
|
904 |
----
|
879 |
|
905 |
|
880 |
|
906 |
|
881 |
=== Building OpenHome and sc2mpd
|
907 |
=== Building OpenHome and sc2mpd
|
882 |
|
908 |
|
883 |
There are two parts in building *sc2mpd*:
|
909 |
There are two parts in building *sc2mpd*:
|