Skip to content

Commit

Permalink
Update CSFML/SFML dependency to v2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias Nestler committed Jun 10, 2018
1 parent e3713d5 commit 2c5e7ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ A talking countdown written in golang.

### Installation

Unfortunately this application has dependencies. Currently there is no os independent possiblity to play audio files in golang :(
Unfortunately this application has dependencies. Currently (2015-04-11) there is no os independent possiblity to play audio files in golang :(

Install [CSFML](http://www.sfml-dev.org/download/csfml/) (tested with `v2.3`).

#### Linux

Install [CSFML](http://www.sfml-dev.org/download/csfml/) and [SFML](http://www.sfml-dev.org/download/sfml/2.2/). Then just download the [godown](https://github.com/MMore/godown/releases/download/v1.0.0/godown) binary and use it.
Install [SFML](http://www.sfml-dev.org/download/sfml/2.3/). Then just download the [godown](https://github.com/MMore/godown/releases/download/v1.0.1/godown) binary and use it.

#### Mac OS X

Clone this repository to your machine and execute `make install_deps_osx`. This installs the dependencies for you. Then just just download the [godown](https://github.com/MMore/godown/releases/download/v1.0.0/godown) binary and use it.
Clone this repository to your machine and execute `make install_deps_osx`, which installs the dependencies for you. Then just just download the [godown](https://github.com/MMore/godown/releases/download/v1.0.1/godown) binary and use it.

If you already have a working CSFML and SFML, you can install it from source with `go get github.com/MMore/godown`.

Expand All @@ -29,6 +31,7 @@ Args:
### Tested Environments

* Mac OS X Yosemite and go1.4.1
* Mac OS X High Sierra and go1.8.1

### License
[LICENSE](LICENSE)
Expand Down
7 changes: 3 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
package main

import (
sf "bitbucket.org/krepa098/gosfml2"
"fmt"
sf "github.com/manyminds/gosfml"
"gopkg.in/alecthomas/kingpin.v1"
"os"
"time"
"gopkg.in/alecthomas/kingpin.v1"
)


type mint int
type FullTime struct {
hours mint
Expand Down Expand Up @@ -137,7 +136,7 @@ var (
)

func main() {
app.Version("1.0.0")
app.Version("1.0.1")
kingpin.MustParse(app.Parse(os.Args[1:]))

h, m, s := separateDuration(*duration)
Expand Down

0 comments on commit 2c5e7ca

Please sign in to comment.