Skip to content

Commit

Permalink
Use breeze icons instead of oxygen. Closes scala#59
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldF committed Aug 27, 2016
1 parent ecd2039 commit 00d43c2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions kf5-oxygen-icons.rb → kf5-breeze-icons.rb
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
require "formula"

class Kf5OxygenIcons < Formula
class Kf5BreezeIcons < Formula
homepage "http://www.kde.org/"
url "http://download.kde.org/stable/applications/15.04.3/src/oxygen-icons-15.04.3.tar.xz"
sha256 "133b66d70b51641f841799674afd993a6af0d9d9b646021a0ed609beb2ffd71e"
url "http://download.kde.org/stable/frameworks/5.25/breeze-icons-5.25.0.tar.xz"
sha256 "e274c7f5c71c177e2e9d8ced9c49cd052ec2f726cb693c7df73e96af12277e8f"

head 'svn://anonsvn.kde.org/home/kde/trunk/kdesupport/oxygen-icons'
head 'git://anongit.kde.org/breeze-icons.git'

depends_on "cmake" => :build
depends_on "qt5" => "with-dbus"

def install
args = std_cmake_args

system "cmake", ".", *args
system "make", "install"
prefix.install "install_manifest.txt"
ln_sf Dir["#{HOMEBREW_PREFIX}/share/icons"], "#{ENV['HOME']}/Library/Application Support/"
ln_sf Dir["#{HOMEBREW_PREFIX}/share/icons"], "#{Etc.getpwuid.dir}/Library/Application Support/"
end

def caveats; <<-EOS.undent
A symlink "#{ENV['HOME']}/Library/Application Support/icons" was created
So that KF5 can find the oxygen themes.
So that KF5 can find the breeze themes.
This symlink can be removed when this formula is uninstalled.
EOS
Expand Down

0 comments on commit 00d43c2

Please sign in to comment.