summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarchunix2019-05-04 18:34:51 +0200
committerlarchunix2019-05-04 18:34:51 +0200
commit4bf21b319916ab173b80af954d4372539dcb266f (patch)
treef21e3049d566a4948701752675eb859e60a4dcc2
parent927dc46e7a35c7a0e09de8e80a29a647061dbba8 (diff)
downloadaur-4bf21b319916ab173b80af954d4372539dcb266f.tar.gz
Build against system zchunk
Fixes handling of zck files from Fedora repositories repodata.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dd4a6b309318..2da2eba4a2f5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = libsolv
pkgdesc = Library for solving packages and reading repositories
pkgver = 0.7.4
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/openSUSE/libsolv
arch = i686
arch = x86_64
@@ -15,6 +15,7 @@ pkgbase = libsolv
depends = expat
depends = rpm-org
depends = xz
+ depends = zchunk
depends = zlib
depends = zstd
optdepends = perl: for perl bindings
diff --git a/PKGBUILD b/PKGBUILD
index 96f58aa3dbc0..b8b69ef02d2b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
pkgname=libsolv
pkgver=0.7.4
-pkgrel=1
+pkgrel=2
pkgdesc="Library for solving packages and reading repositories"
arch=('i686' 'x86_64')
url="https://github.com/openSUSE/$pkgname"
license=('custom:BSD')
-depends=('bzip2' 'expat' 'rpm-org' 'xz' 'zlib' 'zstd')
+depends=('bzip2' 'expat' 'rpm-org' 'xz' 'zchunk' 'zlib' 'zstd')
makedepends=('cmake' 'perl' 'python' 'ruby' 'swig')
optdepends=('perl: for perl bindings'
'python: for python bindings'
@@ -51,6 +51,7 @@ build() {
-DENABLE_SUSEREPO=ON \
-DENABLE_TCL=OFF \
-DENABLE_ZCHUNK_COMPRESSION=ON \
+ -DWITH_SYSTEM_ZCHUNK=ON \
-DENABLE_ZSTD_COMPRESSION=ON \
-DMULTI_SEMANTICS=ON \
-DWITH_LIBXML2=OFF \