gnome-themes-extra 3.28 (new formula)
Renamed from `gnome-themes-standard` Closes #120946. Signed-off-by: Rui Chen <rui@chenrui.dev> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
3c1408e72e
commit
fe03c580be
|
@ -0,0 +1,30 @@
|
|||
class GnomeThemesExtra < Formula
|
||||
desc "Extra themes for the GNOME desktop environment"
|
||||
homepage "https://gitlab.gnome.org/GNOME/gnome-themes-extra"
|
||||
url "https://download.gnome.org/sources/gnome-themes-extra/3.28/gnome-themes-extra-3.28.tar.xz"
|
||||
sha256 "7c4ba0bff001f06d8983cfc105adaac42df1d1267a2591798a780bac557a5819"
|
||||
license "LGPL-2.1-or-later"
|
||||
|
||||
depends_on "gettext" => :build
|
||||
depends_on "intltool" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "gtk+"
|
||||
|
||||
def install
|
||||
if OS.linux?
|
||||
# Needed to find intltool (xml::parser)
|
||||
ENV.prepend_path "PERL5LIB", Formula["intltool"].libexec/"lib/perl5"
|
||||
ENV["INTLTOOL_PERL"] = Formula["perl"].bin/"perl"
|
||||
end
|
||||
|
||||
system "./configure", *std_configure_args,
|
||||
"--disable-silent-rules",
|
||||
"--disable-gtk3-engine"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
assert_predicate share/"icons/HighContrast/scalable/actions/document-open-recent.svg", :exist?
|
||||
assert_predicate lib/"gtk-2.0/2.10.0/engines/libadwaita.so", :exist?
|
||||
end
|
||||
end
|
|
@ -1,46 +0,0 @@
|
|||
class GnomeThemesStandard < Formula
|
||||
desc "Default themes for the GNOME desktop environment"
|
||||
homepage "https://gitlab.gnome.org/GNOME/gnome-themes-extra"
|
||||
url "https://download.gnome.org/sources/gnome-themes-standard/3.22/gnome-themes-standard-3.22.3.tar.xz"
|
||||
sha256 "61dc87c52261cfd5b94d65e8ffd923ddeb5d3944562f84942eeeb197ab8ab56a"
|
||||
revision 2
|
||||
|
||||
bottle do
|
||||
sha256 cellar: :any, arm64_ventura: "228742756729ddd853a82b325d965fe83258dd25cbb849e8b270ccea0e4565b2"
|
||||
sha256 cellar: :any, arm64_monterey: "2b19b436b1dd9784e0bd347e663168f9fc8481132db0cc208e2571d1fb37c079"
|
||||
sha256 cellar: :any, arm64_big_sur: "e7f20854195f04389a9ebbd968b59541979fbea64379a45af6c3b09f850a5f6e"
|
||||
sha256 cellar: :any, ventura: "aeec4ff469b8b0aafd9f44ebe5a907be0ab209fa5b3ce8605caaadbf72d833ef"
|
||||
sha256 cellar: :any, monterey: "32674d3d0baca702980869b5dc6caa48ca8eb084eecd4602c4929dc16a52a1eb"
|
||||
sha256 cellar: :any, big_sur: "99b5b918d997d6fee0c44ceb91845b4b1d247709ba01fcd917802aa6824d0e97"
|
||||
sha256 cellar: :any, catalina: "6fb1066c6af0428fee29272851b4d7fbf10bac3bec4ed48ce6cffb780a3175f1"
|
||||
sha256 cellar: :any, mojave: "0275e08061a7fc1c641729075add70362499309548d9f82a65f30397fe756073"
|
||||
sha256 cellar: :any, high_sierra: "7c871fcd54d59a07719e5b1f22ca003921e479548ee9d13c5910af482b47891e"
|
||||
sha256 cellar: :any, sierra: "7e5bfe5894c0498b6b9325a782e4ea1c756b042d527815547cba6e6f411095a2"
|
||||
sha256 cellar: :any_skip_relocation, x86_64_linux: "032b522d64e9f9119ea53940055a754c3c827d6c0657c15f15af0ba0c5567db3"
|
||||
end
|
||||
|
||||
depends_on "gettext" => :build
|
||||
depends_on "intltool" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "gtk+"
|
||||
|
||||
def install
|
||||
if OS.linux?
|
||||
# Needed to find intltool (xml::parser)
|
||||
ENV.prepend_path "PERL5LIB", Formula["intltool"].libexec/"lib/perl5"
|
||||
ENV["INTLTOOL_PERL"] = Formula["perl"].bin/"perl"
|
||||
end
|
||||
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--disable-silent-rules",
|
||||
"--prefix=#{prefix}",
|
||||
"--disable-gtk3-engine"
|
||||
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
assert_predicate share/"icons/HighContrast/scalable/actions/document-open-recent.svg", :exist?
|
||||
assert_predicate lib/"gtk-2.0/2.10.0/engines/libadwaita.so", :exist?
|
||||
end
|
||||
end
|
|
@ -51,6 +51,7 @@
|
|||
"gloo-ctl": "glooctl",
|
||||
"gnatsd": "nats-server",
|
||||
"gnome-icon-theme": "adwaita-icon-theme",
|
||||
"gnome-themes-standard": "gnome-themes-extra",
|
||||
"gnupg2": "gnupg",
|
||||
"gnuplot4": "gnuplot@4",
|
||||
"gold": "binutils",
|
||||
|
|
Loading…
Reference in New Issue