Add goop dependency management
This commit is contained in:
parent
a8a6129c9f
commit
00fb7ff05a
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1,3 @@
|
|||
mumbledj
|
||||
Goopfile.lock
|
||||
.vendor
|
||||
|
|
6
Goopfile
Normal file
6
Goopfile
Normal file
|
@ -0,0 +1,6 @@
|
|||
github.com/layeh/gumble/gumble #57ba99917661ae6aa18179446af468349e04edfd
|
||||
github.com/layeh/gumble/gumbleutil #5f5bc3e4a15e84c70d22f36c8189151e6606b622
|
||||
github.com/layeh/gumble/gumble_ffmpeg #ed900e422315c00121362676dd51aa0506ee18c0
|
||||
code.google.com/p/gcfg #c2d3050044d0
|
||||
github.com/kennygrant/sanitize #8537026bec4fbc794c27e1a1c07029541122706a
|
||||
github.com/jmoiron/jsonq #7c27c8eb9f6831555a4209f6a7d579159e766a3c
|
12
Makefile
12
Makefile
|
@ -1,13 +1,9 @@
|
|||
all: mumbledj
|
||||
|
||||
mumbledj: main.go commands.go parseconfig.go strings.go song.go playlist.go songqueue.go
|
||||
go get -u github.com/layeh/gumble/gumble
|
||||
go get -u github.com/layeh/gumble/gumbleutil
|
||||
go get -u github.com/layeh/gumble/gumble_ffmpeg
|
||||
go get -u code.google.com/p/gcfg
|
||||
go get -u github.com/kennygrant/sanitize
|
||||
go get -u github.com/jmoiron/jsonq
|
||||
go build .
|
||||
go get github.com/nitrous-io/goop
|
||||
goop update
|
||||
goop go build .
|
||||
|
||||
clean:
|
||||
rm -f mumbledj
|
||||
|
@ -20,5 +16,5 @@ install:
|
|||
sudo cp -f mumbledj /usr/local/bin/mumbledj
|
||||
|
||||
build:
|
||||
go build .
|
||||
goop go build .
|
||||
|
||||
|
|
|
@ -38,7 +38,8 @@ Installation for v2 of MumbleDJ is much easier than it was before, due to the re
|
|||
###SETUP GUIDE
|
||||
**1)** Install and correctly configure [`Go`](https://golang.org/) (1.3 or higher). Specifically, make sure to follow [this guide](https://golang.org/doc/code.html) and set the `GOPATH` environment variable properly.
|
||||
|
||||
**2)** Install [`ffmpeg`](https://www.ffmpeg.org/) and [`mercurial`](http://mercurial.selenic.com/) if they are not already installed on your system. Also be sure that you have [`opus`](http://www.opus-codec.org/) and its development headers installed on your system.
|
||||
**2)** Install [`ffmpeg`](https://www.ffmpeg.org/) and [`mercurial`](http://mercurial.selenic.com/) if they are not already installed on your system. Also be sure that you have
|
||||
[`opus`](http://www.opus-codec.org/) and its development headers installed on your system, as well as `openal` (check your distributions repo for the package name).
|
||||
|
||||
**3)** Install [`youtube-dl`](https://github.com/rg3/youtube-dl#installation). It is recommended to install `youtube-dl` through the method described on the linked GitHub page, rather than installing through a distribution repository. This ensures that you get the most up-to-date version of `youtube-dl`.
|
||||
|
||||
|
@ -104,3 +105,4 @@ THE SOFTWARE.
|
|||
* [ScalingData](https://github.com/scalingdata) for [gcfg](https://github.com/scalingdata/gcfg).
|
||||
* [kennygrant](https://github.com/kennygrant) for [sanitize](https://github.com/kennygrant/sanitize).
|
||||
* [Jason Moiron](https://github.com/jmoiron) for [jsonq](https://github.com/jmoiron/jsonq).
|
||||
* [Nitrous.IO](https://github.com/nitrous-io) for [goop](https://github.com/nitrous-io/goop).
|
||||
|
|
Reference in a new issue