Files
chromebrew/packages/libcdio.rb
Satadru Pramanik 7c74efb0b5 Mpv -> 0.34.1 and fix deps (#7333)
* fix mpv deps

* mpv -> 0.34.1

* adjust indents on mpv
2022-08-23 22:40:32 -05:00

40 lines
1.7 KiB
Ruby

require 'package'
class Libcdio < Package
description 'The GNU Compact Disc Input and Control library (libcdio) contains a library for CD-ROM and CD image access.'
homepage 'http://www.gnu.org/software/libcdio/'
version '2.1.0-1'
license 'GPL-3'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/libcdio/libcdio-2.1.0.tar.bz2'
source_sha256 '8550e9589dbd594bfac93b81ecf129b1dc9d0d51e90f9696f1b2f9b2af32712b'
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcdio/2.1.0-1_armv7l/libcdio-2.1.0-1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcdio/2.1.0-1_armv7l/libcdio-2.1.0-1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcdio/2.1.0-1_i686/libcdio-2.1.0-1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcdio/2.1.0-1_x86_64/libcdio-2.1.0-1-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: '037febd86116cf613cb862ed3cdcfa1d1e3eb4c927f829a4787c8fc4b6f6ae9f',
armv7l: '037febd86116cf613cb862ed3cdcfa1d1e3eb4c927f829a4787c8fc4b6f6ae9f',
i686: 'cea93fa26bf23e425f8a1d4f14347c6a21c9c5e02887e6d8bf2761126ad022d2',
x86_64: '1988c60ace1972669716ef55db1445708b1692cd44692edc269fbb759fbd1f6e'
})
depends_on 'libcddb'
def self.build
system "#{CREW_ENV_OPTIONS} ./configure #{CREW_OPTIONS} \
--without-cdda-player \
--enable-cxx \
--disable-cpp-progs \
--disable-example-progs"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end