Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Xmms2 formula #16245

Closed
wants to merge 1 commit into from

3 participants

@llacroix

Using dev repository with fixed bug

Loïc Faure-Lacroix Xmms2 formula 05bf8cb
@adamv
Owner

Don't leave in commented out dependencies, or the comment at the top, but we're also not going to let a dev-only formula into core UNLESS there's a stable version (rc1, beta2, whatever) for the devel release. Pointing at a sha snapshot and giving it a stable version number is not allowed.

@llacroix

the stable version has a bug with osx consuming 100% of the cpu, this is a commit just after that fix. While there is a problem with the formula, it shouldn't use the snapshot.

Will have to fix that. Thing is that we can't use the current stable version and the next version is still not released.

@adamv

Remove these comments

@adamv

Remove commented out dependencies

@adamv

Add the comment from the thread to here explaining why we are using this snapshot.

@adamv

I don't understand what is going on with these git commands; also note that the user may not have git installed.

@adamv

Remove empty test.

@jacknagel
Collaborator

Closing due to no response.

@jacknagel jacknagel closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 26, 2012
  1. Xmms2 formula

    Loïc Faure-Lacroix authored
This page is out of date. Refresh to see the latest.
Showing with 43 additions and 0 deletions.
  1. +43 −0 Library/Formula/xmms2.rb
View
43 Library/Formula/xmms2.rb
@@ -0,0 +1,43 @@
+require 'formula'
+
+# Documentation: https://github.com/mxcl/homebrew/wiki/Formula-Cookbook
+# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!
+
+class Xmms2 < Formula
+ homepage 'http://xmms2.org/wiki/Main_Page'
+ url 'http://git.xmms2.org/xmms2/xmms2-devel/snapshot/6e6a9635f04c3e2c7af8dd9336ca6006d89f8114.tar.gz'
+ sha1 'b8ade9e2c511280fe98ed81df438e357b22f8157'
+ version '0.8.1'
+
+ # depends_on 'cmake' => :build
+ # depends_on :x11 # if your formula requires any X11/XQuartz components
+ # ENV.libxml2
+ depends_on 'glib'
+ depends_on 'sqlite'
+ depends_on 'flac'
+ depends_on 'mad'
+ depends_on 'mpg123'
+ depends_on 'musepack'
+ depends_on 'libmms'
+ depends_on 'libsndfile'
+ depends_on 'libvorbis'
+ depends_on 'libao'
+
+ def install
+ # Some dependencie on s4 which doesn't build
+ # system "echo `git clone git://git.xmms.se/xmms2/s4.git src/lib/s4`"
+ `git init`
+ `git add . && git commit -m "init"`
+ `git clone git://git.xmms.se/xmms2/s4.git src/lib/s4`
+ `./waf configure --prefix=#{prefix} --without-optional=s4,perl,ruby`
+ `./waf build`
+ `./waf install`
+ end
+
+ def test
+ # This test will fail and we won't accept that! It's enough to just replace
+ # "false" with the main program this formula installs, but it'd be nice if you
+ # were more thorough. Run the test with `brew test xmms2`.
+ system "false"
+ end
+end
Something went wrong with that request. Please try again.