mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
gnu: Add android-libsparse.
* gnu/packages/android.scm (android-libsparse): New variable.
This commit is contained in:
parent
16c2be0b42
commit
092f88a6d7
1 changed files with 22 additions and 0 deletions
|
@ -195,6 +195,28 @@ (define libcutils
|
||||||
various Android core host applications.")
|
various Android core host applications.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public android-libsparse
|
||||||
|
(package
|
||||||
|
(name "android-libsparse")
|
||||||
|
(version (android-platform-version))
|
||||||
|
(source (android-platform-system-core version))
|
||||||
|
(build-system android-ndk-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f ; TODO.
|
||||||
|
#:make-flags '("CFLAGS=-Wno-error"
|
||||||
|
"CXXFLAGS=-fpermissive -Wno-error")
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'enter-source
|
||||||
|
(lambda _ (chdir "libsparse") #t)))))
|
||||||
|
(inputs
|
||||||
|
`(("zlib" ,zlib)))
|
||||||
|
(home-page "https://developer.android.com/")
|
||||||
|
(synopsis "Android platform sparse library")
|
||||||
|
(description "@code{android-libsparse} is a library in common use by the
|
||||||
|
various Android core host applications.")
|
||||||
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public android-libziparchive
|
(define-public android-libziparchive
|
||||||
(package
|
(package
|
||||||
(name "android-libziparchive")
|
(name "android-libziparchive")
|
||||||
|
|
Loading…
Reference in a new issue