Last active
April 11, 2024 11:12
-
-
Save chrisballinger/7d166b7d6417112e5f2cf071706d04bd to your computer and use it in GitHub Desktop.
Homebrew formular for dino.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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