Commit 213d1a7b authored by supechicken666's avatar supechicken666 Committed by GitHub

New Packages: Tint2, Nitrogen (#4655)

* Add tint2.rb nitrogen.rb

* Unhardcode prefix

* Add compatibility

* Update tint2.rb
parent 0db344e2
require 'package'
class Nitrogen < Package
description 'Background browser and setter for X windows.'
homepage 'https://github.com/l3ib/nitrogen'
version '1.6.1'
compatibility 'all'
source_url 'https://github.com/l3ib/nitrogen/archive/1.6.1.tar.gz'
source_sha256 '12ad31c1e2c44f486b5ca7f7d48bc5b07fb92bf15977e1793624e9e64c38b9a7'
depends_on 'gtkmm2'
depends_on 'gtkmm3'
depends_on 'gtk2'
depends_on 'gtk3'
ENV['CFLAGS'] = "-lX11 -lXau"
def self.build
system "autoreconf -fi"
system "./configure #{CREW_OPTIONS}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Tint2 < Package
description 'A lightweight panel/taskbar for Linux and BSD'
homepage 'https://gitlab.com/o9000/tint2'
version '16.7'
compatibility 'all'
source_url 'https://gitlab.com/o9000/tint2/-/archive/v16.7/tint2-v16.7.tar.gz'
source_sha256 '74962c1dd111be9955319a133a790b24fe5a8ef0315a1bcdabc58c1157c1fb26'
depends_on 'imlib2'
depends_on 'gdk_pixbuf'
ENV['CFLAGS'] = "-lX11 -lXau"
def self.build
Dir.mkdir 'build'
Dir.chdir 'build' do
system "cmake .. -DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX} -DCMAKE_LIBRARY_PATH=#{CREW_LIB_PREFIX}"
system 'make'
end
end
def self.install
Dir.chdir 'build' do
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment