Skip to content

Instantly share code, notes, and snippets.

@chrisballinger
Last active November 23, 2017 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisballinger/7d166b7d6417112e5f2cf071706d04bd to your computer and use it in GitHub Desktop.
Save chrisballinger/7d166b7d6417112e5f2cf071706d04bd to your computer and use it in GitHub Desktop.
Homebrew formular for dino.
class Dino < Formula
desc "Modern Jabber/XMPP Client using GTK+/Vala "
homepage "https://dino.im"
## TODO: This is not really a version, but a dummy that's not going to work.
# url "https://github.com/dino/dino/archive/0.0.tar.gz"
# sha256 "a951b50559671ab30e74304ddc66c943405c8ad1bcbe4d77bef647a081fd0dbb"
head do
url "https://github.com/dino/dino.git"
end
depends_on "glib"
depends_on "glib-networking"
depends_on "gpgme"
depends_on "gtk+3"
depends_on "libgcrypt"
depends_on "libgee"
depends_on "libsoup"
depends_on "sqlite"
depends_on "gnome-icon-theme"
depends_on "cmake" => :build
depends_on "gettext" => :build
depends_on "ninja" => :build
depends_on "vala" => :build
def install
mkdir "build" do
system "cmake", "..", *std_cmake_args
# We have to build with `-j1` or the build might fail. Currently,
# dependencies in the upstream project seem to be built out of order,
# so we can run into build failures...
system "make", "install", "-j1"
end
end
test do
system "#{bin}/dino", "-h"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment