mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			66 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			66 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 | |
| pkgname=libraw
 | |
| pkgver=0.21.1
 | |
| pkgrel=0
 | |
| pkgdesc="Library for reading RAW files obtained from digital photo cameras"
 | |
| url="https://www.libraw.org/"
 | |
| arch="all"
 | |
| license="CDDL-1.0 OR LGPL-2.1-only"
 | |
| makedepends="lcms2-dev"
 | |
| subpackages="$pkgname-dev $pkgname-tools"
 | |
| source="https://www.libraw.org/data/LibRaw-$pkgver.tar.gz"
 | |
| builddir="$srcdir"/LibRaw-$pkgver
 | |
| options="!check" # no tests
 | |
| 
 | |
| # secfixes:
 | |
| #   0.20.0-r0:
 | |
| #     - CVE-2020-24890
 | |
| #     - CVE-2020-24899
 | |
| #     - CVE-2020-35530
 | |
| #     - CVE-2020-35531
 | |
| #     - CVE-2020-35532
 | |
| #     - CVE-2020-35533
 | |
| #     - CVE-2020-35534
 | |
| #     - CVE-2020-35535
 | |
| #   0.19.5-r1:
 | |
| #     - CVE-2020-15503
 | |
| #   0.19.2-r0:
 | |
| #     - CVE-2018-20363
 | |
| #     - CVE-2018-20364
 | |
| #     - CVE-2018-20365
 | |
| #     - CVE-2018-5817
 | |
| #     - CVE-2018-5818
 | |
| #     - CVE-2018-5819
 | |
| #   0.18.6-r0:
 | |
| #     - CVE-2017-16910
 | |
| #   0.18.5-r0:
 | |
| #     - CVE-2017-13735
 | |
| #     - CVE-2017-14265
 | |
| 
 | |
| build() {
 | |
| 	# trading size for more speed
 | |
| 	CFLAGS="$CFLAGS -O3 -flto=auto" \
 | |
| 	CXXFLAGS="$CXXFLAGS -O3 -flto=auto" \
 | |
| 	./configure \
 | |
| 		--build=$CBUILD \
 | |
| 		--host=$CHOST \
 | |
| 		--prefix=/usr \
 | |
| 		--disable-static \
 | |
| 		--enable-openmp
 | |
| 	make
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	make DESTDIR="$pkgdir" install
 | |
| 	rm -rf "$pkgdir"/usr/share/doc/
 | |
| }
 | |
| 
 | |
| tools() {
 | |
| 	pkgdesc="tools for LibRaw"
 | |
| 	amove usr/bin
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 8d11df0be2af5fd8a8251f150ccd59103319606f52effff541ee43e97ceb64f1a00a02bba7b730aedd0c1c705c1e465793c8a2a52769712c1102af7f5534dd5d  LibRaw-0.21.1.tar.gz
 | |
| "
 |