Files
chromebrew/packages/nconvert.rb
Satadru Pramanik, DO, MPH, MEng 22d986c981 Py updates, fix env variable for timeout, add option to skip remote updates in build_updates script (#10503)
* Update py3_setuptools

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fix Agree timeout env variable, add pip updates, fixup build_updated_packages script and add functionality to skip remote update checks.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add documentation for the --skip command.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Handle compatibility with commas

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Handle empty conpatibility.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fixup compatibility sections of package files.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Rebuild parted to handle missing binaries, and update build_updated_packages to notice binary_compression and not ask to rebuild if bimaries already exist.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fix hash for nconvert.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-09-19 22:22:33 -05:00

31 lines
886 B
Ruby

require 'package'
class Nconvert < Package
description 'Command Line Batch utility for images'
homepage 'https://www.xnview.com/en/nconvert/'
case ARCH
when 'i686'
version '7.39'
when 'x86_64'
version '7.192'
end
license 'NConvert-EULA'
compatibility 'i686 x86_64'
source_url({
i686: 'https://download.xnview.com/old_versions/NConvert/NConvert-7.39-linux.tgz',
x86_64: "https://download.xnview.com/old_versions/NConvert/NConvert-#{version}-linux64.tgz"
})
source_sha256({
i686: '5e8364bdc1fe61d2c37871e0591ddc2048ccf0cd8041846b433ef04f10280cba',
x86_64: '048c3c298acab62e05ad606f9a692748ff095f9034465932557da41f76b6827a'
})
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
def self.install
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
FileUtils.install 'nconvert', "#{CREW_DEST_PREFIX}/bin/nconvert", mode: 0o755
end
end