Skip to content

Homebrew Formulaes #138

@snshn

Description

@snshn

Good day.
I've been trying to build Communi with Homebrew, here's what I have so far:

/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libcommuni.rb:

class Libcommuni < Formula
  desc "A cross-platform IRC framework written with Qt"
  homepage "communi.github.io"
  url "https://github.com/communi/libcommuni/archive/v3.5.0.tar.gz"
  sha256 "cc0690129c7963578df9be2127ca5ba9f1e182bfe6c138d84612382e2dc80177"

  depends_on "qt"

  def install
    system "./configure", "--prefix=#{prefix}"
    system "qmake"
    system "make"
    system "make", "install"
  end
end

/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/communi.rb

class Communi < Formula
  desc "An IRC client for desktop environments"
  homepage "communi.github.io"
  url "https://github.com/communi/communi-desktop/archive/v3.5.0.tar.gz"
  sha256 "a54de9840d45cde34419ff1ddbbecd4588f558fb213553faea9b6c37d82276ac"

  depends_on "libcommuni"
  depends_on "qt"

  def install
    system "qmake"
    system "make"
    system "make", "install"
  end
end

So far getting this error, but I may be able to resolve it in a bit:

FruityComputy:build user$ brew install communi
==> Downloading https://github.com/communi/communi-desktop/archive/v3.5.0.tar.gz
Already downloaded: /Users/user/Library/Caches/Homebrew/downloads/4fac1f7e428038ae92abb5178116da4009c6ac4030fe839aaf6e8072ceb2b242--communi-desktop-3.5.0.tar.gz
==> qmake
Last 15 lines from /Users/user/Library/Logs/Homebrew/communi/01.qmake:
2019-01-10 02:14:43 -0500

qmake

Info: creating stash file /private/tmp/communi-20190110-41418-l274vu/communi-desktop-3.5.0/.qmake.stash
Project ERROR: The Communi framework is missing. Install libcommuni from http://communi.github.com

READ THIS: https://docs.brew.sh/Troubleshooting

Oh, and also, would you like it to be installed on macOS via brew install communi-desktop, or, rather, brew install communi?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions