Commit e095ab54 authored by Satadru Pramanik's avatar Satadru Pramanik

resolve libxss dupes

parent 965dc860
......@@ -26,7 +26,7 @@ class Balena_etcher < Package
depends_on 'nspr'
depends_on 'libgconf'
depends_on 'alien' => :build
depends_on 'libxscrnsaver'
depends_on 'libxss'
depends_on 'xhost'
depends_on 'sommelier'
end
......
......@@ -49,7 +49,7 @@ class Libefl < Package
depends_on 'libxcursor'
depends_on 'libxp'
depends_on 'libxrandr'
depends_on 'libxscrnsaver'
depends_on 'libxss'
depends_on 'libxdamage'
depends_on 'libxrender'
depends_on 'libxi'
......
require 'package'
class Libxscrnsaver < Package
description 'X.org the X11 Screen Saver extension client library'
homepage 'https://www.x.org'
version '1.2.2-0'
description 'X11 Screen Saver extension library'
homepage 'https://gitlab.freedesktop.org/xorg/lib/libxscrnsaver'
version '1.2.3'
license 'MIT'
compatibility 'all'
source_url 'https://www.x.org/archive//individual/lib/libXScrnSaver-1.2.2.tar.gz'
source_sha256 'e12ba814d44f7b58534c0d8521e2d4574f7bf2787da405de4341c3b9f4cc8d96'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libxscrnsaver-1.2.2-0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libxscrnsaver-1.2.2-0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libxscrnsaver-1.2.2-0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libxscrnsaver-1.2.2-0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '43bdc049d82141406115751ad9afc49521833fa777a8a693f2f1aaebedc04ccc',
armv7l: '43bdc049d82141406115751ad9afc49521833fa777a8a693f2f1aaebedc04ccc',
i686: '1f71684bc973876d66354aae4c9942d706fee619995b47d67bfa38528aca6ca0',
x86_64: '74dfe48f8e6375d8d45996b645a8cb5b82fb57253580840ef5461f6c60239a7f',
})
is_fake
depends_on 'libx11'
depends_on 'libxext'
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
depends_on 'libxss'
end
require 'package'
class Libxss < Package
description 'X11 Screen Saver extension library'
homepage 'https://gitlab.freedesktop.org/xorg/lib/libxscrnsaver'
@_ver = '1.2.3'
version @_ver
license 'MIT'
compatibility 'all'
source_url "https://xorg.freedesktop.org/releases/individual/lib/libXScrnSaver-#{@_ver}.tar.bz2"
source_sha256 'f917075a1b7b5a38d67a8b0238eaab14acd2557679835b154cf2bca576e89bf8'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libxss-1.2.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libxss-1.2.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libxss-1.2.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libxss-1.2.3-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: 'cec3f0b92f4c56b7ec262ec05356f6304b6e5e651f3074abdb08177a4ef10099',
armv7l: 'cec3f0b92f4c56b7ec262ec05356f6304b6e5e651f3074abdb08177a4ef10099',
i686: 'a7c94cac209cda5532aba55897b7334586881757f47eeaaf136e64b9f5cdeb0a',
x86_64: '4de949279407adf9abf83328e51e7d86c0630ec2eae6925aa3fc02fe4a0166a5'
})
depends_on 'libxext'
depends_on 'util_macros' => ':build'
def self.build
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS} \
--sysconfdir=#{CREW_PREFIX}/etc"
system 'make'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
end
end
......@@ -42,5 +42,5 @@ class Xorg_lib < Package
depends_on 'libxxf86dga'
depends_on 'libxxf86vm'
depends_on 'libxcomposite'
depends_on 'libxscrnsaver'
depends_on 'libxss'
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