homebrew-core/Formula/gupnp-tools.rb
2019-06-18 08:24:29 +02:00

36 lines
1.1 KiB
Ruby

class GupnpTools < Formula
desc "Free replacements of Intel's UPnP tools"
homepage "https://wiki.gnome.org/GUPnP/"
url "https://download.gnome.org/sources/gupnp-tools/0.10/gupnp-tools-0.10.0.tar.xz"
sha256 "41da7ff5ba8e2425adcb64ca5e04c81f57ca20ec6fdb84923939fdad42c6a18d"
revision 1
bottle do
sha256 "61f6fd355a0551a96b78450ee9dafe27635f339a7c8d856fe373bd1999588f5b" => :mojave
sha256 "d0bebb0e02a67b3727584cc7e84a4b6f1bb0eabe26784eb049ff1c7795c896c8" => :high_sierra
sha256 "a7e187a099a1b0770d976778e941ec0318ba72628f9d2120b5ffde1120719b0a" => :sierra
end
depends_on "meson" => :build
depends_on "ninja" => :build
depends_on "pkg-config" => :build
depends_on "gettext"
depends_on "gtk+3"
depends_on "gtksourceview4"
depends_on "gupnp"
depends_on "gupnp-av"
depends_on "libsoup"
def install
mkdir "build" do
system "meson", "--prefix=#{prefix}", ".."
system "ninja", "-v"
system "ninja", "install", "-v"
end
end
test do
system "#{bin}/gupnp-universal-cp", "-h"
system "#{bin}/gupnp-av-cp", "-h"
end
end