diff --git a/app-arch/unarr/unarr-1.0.0.recipe b/app-arch/unarr/unarr-1.0.1.recipe similarity index 77% rename from app-arch/unarr/unarr-1.0.0.recipe rename to app-arch/unarr/unarr-1.0.1.recipe index 96e3d3970..a5e6ce053 100644 --- a/app-arch/unarr/unarr-1.0.0.recipe +++ b/app-arch/unarr/unarr-1.0.1.recipe @@ -5,12 +5,14 @@ book archives (.cbr). It was written as an alternative to \ libarchive which didn't have support for parsing filters or solid \ compression at the time." HOMEPAGE="https://github.com/sumatrapdfreader/sumatrapdf/tree/master/ext/unarr" -COPYRIGHT="The Unarchiver project (https://code.google.com/p/theunarchiver/) \ -Simon Bünzli (zeniko at gmail.com, http://www.zeniko.ch/#SumatraPDF)" +COPYRIGHT="The Unarchiver project + Simon Bünzli + Felix Kauselmann + Bastien Nocera" LICENSE="GNU LGPL v3" -REVISION="3" +REVISION="1" SOURCE_URI="https://github.com/selmf/unarr/archive/v${portVersion}.tar.gz" -CHECKSUM_SHA256="ef1610d636641751ca234da7998b3f6b53313c7e526492a6070dd572b99d4685" +CHECKSUM_SHA256="0098e3f33182d16c13eb21278696651b170360a9a4d1c0214db4bd7882253223" ARCHITECTURES="!x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86" @@ -48,6 +50,9 @@ BUILD_PREREQUIRES=" cmd:pkg_config$secondaryArchSuffix " +defineDebugInfoPackage unarr$secondaryArchSuffix \ + $libDir/libunarr.so.1.0.0 + PATCH() { # fix a small typo in pkg-config.pc.cmake, fixed since in master branch, but not in latest release yet @@ -57,7 +62,6 @@ PATCH() BUILD() { - rm -rf build mkdir -p build cd build @@ -65,20 +69,14 @@ BUILD() cmake .. \ -DCMAKE_BUILD_TYPE:STRING="Release" \ -DBUILD_SHARED_LIBS=OFF \ - -DCMAKE_INSTALL_PREFIX:PATH=$prefix \ - -DCMAKE_INSTALL_BINDIR:PATH=$relativeBinDir \ - -DCMAKE_INSTALL_LIBDIR:PATH=$relativeDevelopLibDir \ - -DCMAKE_INSTALL_INCLUDEDIR:PATH=$relativeIncludeDir + $cmakeDirArgs make $jobArgs # build shared library too cmake .. \ -DCMAKE_BUILD_TYPE:STRING="Release" \ -DBUILD_SHARED_LIBS=ON \ - -DCMAKE_INSTALL_PREFIX:PATH=$prefix \ - -DCMAKE_INSTALL_BINDIR:PATH=$relativeBinDir \ - -DCMAKE_INSTALL_LIBDIR:PATH=$relativeDevelopLibDir \ - -DCMAKE_INSTALL_INCLUDEDIR:PATH=$relativeIncludeDir + $cmakeDirArgs make $jobArgs }