mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-27 13:30:31 +01:00
upgpkg: bloaty 1.1-2
Apply Fedora patches for dealing with modern asbeil
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
pkgbase = bloaty
|
pkgbase = bloaty
|
||||||
pkgdesc = a size profiler for binaries
|
pkgdesc = a size profiler for binaries
|
||||||
pkgver = 1.1
|
pkgver = 1.1
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/google/bloaty
|
url = https://github.com/google/bloaty
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = Apache
|
license = Apache
|
||||||
@@ -10,9 +10,11 @@ pkgbase = bloaty
|
|||||||
depends = re2
|
depends = re2
|
||||||
depends = protobuf
|
depends = protobuf
|
||||||
depends = capstone
|
depends = capstone
|
||||||
|
depends = abseil-cpp
|
||||||
options = !emptydirs
|
options = !emptydirs
|
||||||
source = https://github.com/google/bloaty/releases/download/v1.1/bloaty-1.1.tar.bz2
|
source = https://github.com/google/bloaty/releases/download/v1.1/bloaty-1.1.tar.bz2
|
||||||
|
source = https://src.fedoraproject.org/rpms/bloaty/raw/rawhide/f/bloaty-1.1-absl.patch
|
||||||
sha256sums = a308d8369d5812aba45982e55e7c3db2ea4780b7496a5455792fb3dcba9abd6f
|
sha256sums = a308d8369d5812aba45982e55e7c3db2ea4780b7496a5455792fb3dcba9abd6f
|
||||||
|
sha256sums = 96cc0528f6464b03d0e68060ff2d24c36624c7d3991cee142df8d3d27cefeb51
|
||||||
|
|
||||||
pkgname = bloaty
|
pkgname = bloaty
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,25 @@
|
|||||||
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||||
pkgname=bloaty
|
pkgname=bloaty
|
||||||
pkgver=1.1
|
pkgver=1.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="a size profiler for binaries"
|
pkgdesc="a size profiler for binaries"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url="https://github.com/google/bloaty"
|
url="https://github.com/google/bloaty"
|
||||||
license=('Apache')
|
license=('Apache')
|
||||||
depends=(gcc-libs re2 protobuf capstone)
|
depends=(gcc-libs re2 protobuf capstone abseil-cpp)
|
||||||
makedepends=(cmake)
|
makedepends=(cmake)
|
||||||
options=(!emptydirs)
|
options=(!emptydirs)
|
||||||
source=("https://github.com/google/bloaty/releases/download/v$pkgver/bloaty-$pkgver.tar.bz2")
|
source=(
|
||||||
sha256sums=('a308d8369d5812aba45982e55e7c3db2ea4780b7496a5455792fb3dcba9abd6f')
|
"https://github.com/google/bloaty/releases/download/v$pkgver/bloaty-$pkgver.tar.bz2"
|
||||||
|
"https://src.fedoraproject.org/rpms/bloaty/raw/rawhide/f/bloaty-1.1-absl.patch")
|
||||||
|
sha256sums=('a308d8369d5812aba45982e55e7c3db2ea4780b7496a5455792fb3dcba9abd6f'
|
||||||
|
'96cc0528f6464b03d0e68060ff2d24c36624c7d3991cee142df8d3d27cefeb51')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$pkgname-$pkgver"
|
||||||
|
# Abseil compatibility patch borrowed from Fedora
|
||||||
|
patch -p1 < "../bloaty-1.1-absl.patch"
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
|
|||||||
Reference in New Issue
Block a user