From 791a1e78ecda038c8ed39bd3ae7202a2a2cbd09a Mon Sep 17 00:00:00 2001 From: Tom Schoonjans Date: Sun, 10 Sep 2017 12:15:51 +0100 Subject: [PATCH] tepl 3.0.0 rename from gtef --- Aliases/gtef | 1 + Formula/{gtef.rb => tepl.rb} | 23 ++++++++++++----------- formula_renames.json | 1 + 3 files changed, 14 insertions(+), 11 deletions(-) create mode 120000 Aliases/gtef rename Formula/{gtef.rb => tepl.rb} (85%) diff --git a/Aliases/gtef b/Aliases/gtef new file mode 120000 index 0000000000..dd191d34da --- /dev/null +++ b/Aliases/gtef @@ -0,0 +1 @@ +../Formula/tepl.rb \ No newline at end of file diff --git a/Formula/gtef.rb b/Formula/tepl.rb similarity index 85% rename from Formula/gtef.rb rename to Formula/tepl.rb index f37393283e..adcbe3c5b3 100644 --- a/Formula/gtef.rb +++ b/Formula/tepl.rb @@ -1,8 +1,8 @@ -class Gtef < Formula - desc "GNOME Text Editor Framework" - homepage "https://wiki.gnome.org/Projects/Gtef" - url "https://download.gnome.org/sources/gtef/2.0/gtef-2.0.1.tar.xz" - sha256 "8432f0f404b93e5a2702978b5f121b8f9ae2167c906e9f2ed7b5165142e27a4f" +class Tepl < Formula + desc "GNOME Text Editor Product Line" + homepage "https://wiki.gnome.org/Projects/Tepl" + url "https://download.gnome.org/sources/tepl/3.0/tepl-3.0.0.tar.xz" + sha256 "9eb6fceb0b521de7bf684508138a5b8428d9f575c395ba54f9e31597980fd0ef" bottle do sha256 "e9029727148e5970ee01ceb8cc4e3cc3b226aaa1c6d4a87b97ecb515cefd8ae4" => :sierra @@ -11,12 +11,11 @@ class Gtef < Formula end depends_on "pkg-config" => :build - depends_on "vala" => :recommended + depends_on "gobject-introspection" depends_on "gtksourceview3" depends_on "uchardet" def install - ENV.delete "SDKROOT" system "./configure", "--disable-dependency-tracking", "--disable-silent-rules", "--prefix=#{prefix}" @@ -25,10 +24,10 @@ class Gtef < Formula test do (testpath/"test.c").write <<-EOS.undent - #include + #include int main(int argc, char *argv[]) { - GType type = gtef_file_get_type(); + GType type = tepl_file_get_type(); return 0; } EOS @@ -63,7 +62,8 @@ class Gtef < Formula -I#{gtksourceview3.opt_include}/gtksourceview-3.0 -I#{gtkx3.opt_include}/gtk-3.0 -I#{harfbuzz.opt_include}/harfbuzz - -I#{include}/gtef-2 + -I#{include}/tepl-3 + -I#{include}/amtk-3 -I#{libepoxy.opt_include} -I#{libpng.opt_include}/libpng16 -I#{pango.opt_include}/pango-1.0 @@ -88,7 +88,8 @@ class Gtef < Formula -lgio-2.0 -lglib-2.0 -lgobject-2.0 - -lgtef-2 + -ltepl-3 + -lamtk-3 -lgtk-3 -lgtksourceview-3.0 -lintl diff --git a/formula_renames.json b/formula_renames.json index a07bc15b19..de43ba3b92 100644 --- a/formula_renames.json +++ b/formula_renames.json @@ -71,6 +71,7 @@ "gst-plugins-good010": "gst-plugins-good@0.10", "gst-plugins-ugly010": "gst-plugins-ugly@0.10", "gstreamer010": "gstreamer@0.10", + "gtef": "tepl", "hamsterdb": "upscaledb", "heroku-toolbelt": "heroku", "influxdb08": "influxdb@0.8",