mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Gnome shell prereqs (#5315)
* Create upower.rb * Create unicode_cldr.rb * Create unicode_character_database.rb * Create unicode_emoji.rb * Create ibus.rb * Update startup_notification.rb * Create gnome_autoar.rb * Update libinput.rb * Effectively a stub program for other gnome programs * Update nasm.rb * Update dav1d.rb * Update nasm.rb * Update gsettings_desktop_schemas.rb * Create gnome_settings_daemon.rb * Update pipewire.rb * download version specific denylist * remove debug code
This commit is contained in:
@@ -1,34 +1,45 @@
|
||||
require 'package'
|
||||
|
||||
class Startup_notification < Package
|
||||
description 'Library for tracking application startup'
|
||||
homepage 'http://www.freedesktop.org'
|
||||
version '0.12-1'
|
||||
description 'Monitor and display application startup'
|
||||
homepage 'https://www.freedesktop.org'
|
||||
@_ver = '0.12'
|
||||
version "#{@_ver}-2"
|
||||
compatibility 'all'
|
||||
source_url 'https://freedesktop.org/software/startup-notification/releases/startup-notification-0.12.tar.gz'
|
||||
source_url "https://www.freedesktop.org/software/startup-notification/releases/startup-notification-#{@_ver}.tar.gz"
|
||||
source_sha256 '3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/startup_notification-0.12-1-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/startup_notification-0.12-1-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://dl.bintray.com/chromebrew/chromebrew/startup_notification-0.12-1-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/startup_notification-0.12-1-chromeos-x86_64.tar.xz',
|
||||
binary_url({
|
||||
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/startup_notification-0.12-2-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/startup_notification-0.12-2-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://dl.bintray.com/chromebrew/chromebrew/startup_notification-0.12-2-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/startup_notification-0.12-2-chromeos-x86_64.tar.xz'
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: 'c6a0bf1e9af0ac20da92a9c4e2bde6fa48cfbdc7a5b6e436aaf2814472ec9914',
|
||||
armv7l: 'c6a0bf1e9af0ac20da92a9c4e2bde6fa48cfbdc7a5b6e436aaf2814472ec9914',
|
||||
i686: '23ed0fa58d54e3d04c068e4cf591c292a5ae1ee56093349e35adb7eab47e5f7e',
|
||||
x86_64: 'b8fa364b3a6cd8c9f9c1cf18782086de55cea6354200448aa5c6d96f4f840b38',
|
||||
binary_sha256({
|
||||
aarch64: '8bd6a0275356eb6dd22ff8b5352354873cbba0e57f99864a52e853de3f9284c2',
|
||||
armv7l: '8bd6a0275356eb6dd22ff8b5352354873cbba0e57f99864a52e853de3f9284c2',
|
||||
i686: '028205aa25c3c3a082dbe1046a2c5c7b7e59e0ae38b819b6511c942cff2f19e2',
|
||||
x86_64: '85ac878ff6afeaa64b599b8a20b2615f95dbeb99f046c8f52bde474697d357ab'
|
||||
})
|
||||
|
||||
depends_on 'libx11'
|
||||
depends_on 'xcb_util'
|
||||
|
||||
def self.patch
|
||||
system "sed -i -e '/AC_PATH_XTRA/d' configure.in"
|
||||
end
|
||||
|
||||
def self.build
|
||||
system "./configure #{CREW_OPTIONS}"
|
||||
system 'autoreconf --force --install'
|
||||
system "env CFLAGS='-flto=auto' \
|
||||
CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
|
||||
./configure #{CREW_OPTIONS} \
|
||||
--localstatedir=/var \
|
||||
--sysconfdir=#{CREW_PREFIX}/etc"
|
||||
system 'make'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
||||
system "make DESTDIR=#{CREW_DEST_DIR} install"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user