tepl 3.0.0

rename from gtef
This commit is contained in:
Tom Schoonjans 2017-09-10 12:15:51 +01:00 committed by ilovezfs
parent 6fb5ff0356
commit 791a1e78ec
3 changed files with 14 additions and 11 deletions

1
Aliases/gtef Symbolic link
View file

@ -0,0 +1 @@
../Formula/tepl.rb

View file

@ -1,8 +1,8 @@
class Gtef < Formula class Tepl < Formula
desc "GNOME Text Editor Framework" desc "GNOME Text Editor Product Line"
homepage "https://wiki.gnome.org/Projects/Gtef" homepage "https://wiki.gnome.org/Projects/Tepl"
url "https://download.gnome.org/sources/gtef/2.0/gtef-2.0.1.tar.xz" url "https://download.gnome.org/sources/tepl/3.0/tepl-3.0.0.tar.xz"
sha256 "8432f0f404b93e5a2702978b5f121b8f9ae2167c906e9f2ed7b5165142e27a4f" sha256 "9eb6fceb0b521de7bf684508138a5b8428d9f575c395ba54f9e31597980fd0ef"
bottle do bottle do
sha256 "e9029727148e5970ee01ceb8cc4e3cc3b226aaa1c6d4a87b97ecb515cefd8ae4" => :sierra sha256 "e9029727148e5970ee01ceb8cc4e3cc3b226aaa1c6d4a87b97ecb515cefd8ae4" => :sierra
@ -11,12 +11,11 @@ class Gtef < Formula
end end
depends_on "pkg-config" => :build depends_on "pkg-config" => :build
depends_on "vala" => :recommended depends_on "gobject-introspection"
depends_on "gtksourceview3" depends_on "gtksourceview3"
depends_on "uchardet" depends_on "uchardet"
def install def install
ENV.delete "SDKROOT"
system "./configure", "--disable-dependency-tracking", system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules", "--disable-silent-rules",
"--prefix=#{prefix}" "--prefix=#{prefix}"
@ -25,10 +24,10 @@ class Gtef < Formula
test do test do
(testpath/"test.c").write <<-EOS.undent (testpath/"test.c").write <<-EOS.undent
#include <gtef/gtef.h> #include <tepl/tepl.h>
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
GType type = gtef_file_get_type(); GType type = tepl_file_get_type();
return 0; return 0;
} }
EOS EOS
@ -63,7 +62,8 @@ class Gtef < Formula
-I#{gtksourceview3.opt_include}/gtksourceview-3.0 -I#{gtksourceview3.opt_include}/gtksourceview-3.0
-I#{gtkx3.opt_include}/gtk-3.0 -I#{gtkx3.opt_include}/gtk-3.0
-I#{harfbuzz.opt_include}/harfbuzz -I#{harfbuzz.opt_include}/harfbuzz
-I#{include}/gtef-2 -I#{include}/tepl-3
-I#{include}/amtk-3
-I#{libepoxy.opt_include} -I#{libepoxy.opt_include}
-I#{libpng.opt_include}/libpng16 -I#{libpng.opt_include}/libpng16
-I#{pango.opt_include}/pango-1.0 -I#{pango.opt_include}/pango-1.0
@ -88,7 +88,8 @@ class Gtef < Formula
-lgio-2.0 -lgio-2.0
-lglib-2.0 -lglib-2.0
-lgobject-2.0 -lgobject-2.0
-lgtef-2 -ltepl-3
-lamtk-3
-lgtk-3 -lgtk-3
-lgtksourceview-3.0 -lgtksourceview-3.0
-lintl -lintl

View file

@ -71,6 +71,7 @@
"gst-plugins-good010": "gst-plugins-good@0.10", "gst-plugins-good010": "gst-plugins-good@0.10",
"gst-plugins-ugly010": "gst-plugins-ugly@0.10", "gst-plugins-ugly010": "gst-plugins-ugly@0.10",
"gstreamer010": "gstreamer@0.10", "gstreamer010": "gstreamer@0.10",
"gtef": "tepl",
"hamsterdb": "upscaledb", "hamsterdb": "upscaledb",
"heroku-toolbelt": "heroku", "heroku-toolbelt": "heroku",
"influxdb08": "influxdb@0.8", "influxdb08": "influxdb@0.8",