Files
chromebrew/packages/rdfind.rb
chromebrew-actions[bot] 38439537ab gparted -> 1.8.1 in updater-gparted-1.8.1 — gparted: 1.8.0 → 1.8.1 (#15055)
* gparted -> 1.8.1 in updater-gparted-1.8.1

* updater-gparted-1.8.1: Package File Update Run on linux/amd64 container.

* updater-gparted-1.8.1: Package File Update Run on linux/arm/v7 container.

* updater-gparted-1.8.1: Package File Update Run on linux/amd64 container.

* Cleanup gparted.

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

* Update dependencies to use :executable instead of :executable_only

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

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2026-03-19 00:13:29 +00:00

35 lines
1.2 KiB
Ruby

# Adapted from Arch Linux rdfind PKGBUILD at:
# https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=rdfind
require 'buildsystems/autotools'
class Rdfind < Autotools
description 'Redundant data find - a program that finds duplicate files.'
homepage 'https://rdfind.pauldreik.se/'
version '1.7.0-1ed3036'
license 'GPL2'
compatibility 'all'
source_url 'https://github.com/pauldreik/rdfind.git'
git_hashtag '1ed3036a133037c4a32b99f960177f9774495f74'
# git_hashtag "releases/#{version.split('-').first}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '0ae9197eb83e4b11cb03fefc8dd8dc4cc8f8ec1186821874b10ddc456416befa',
armv7l: '0ae9197eb83e4b11cb03fefc8dd8dc4cc8f8ec1186821874b10ddc456416befa',
i686: '8906db22f0dcca36ca4938cedcb4374c0e9f3402bad72f46a93082e28fc6ac4d',
x86_64: 'e4782a1446cbf734a3794e0ceb88b842c708e177c1128724576f03611e3b68ce'
})
depends_on 'autoconf_archive' => :build
depends_on 'gcc_lib' => :executable
depends_on 'glibc' => :executable
depends_on 'nettle' => :executable
depends_on 'xxhash' => :executable
def self.patch
system "sed -i '/<vector>/a #include <limits>' rdfind.cc"
system "sed -i '/<cstdio>/a #include <stdexcept>' Checksum.cc"
end
end