Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | DESCRIPTION = "The goal of this project is to provide a tiny library that would \ |
| 2 | facilitate the common operations with sizes in bytes." |
| 3 | HOMEPAGE = "https://github.com/rhinstaller/libbytesize" |
| 4 | LICENSE = "LGPLv2+" |
| 5 | SECTION = "devel/lib" |
| 6 | |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c" |
| 8 | |
| 9 | S = "${WORKDIR}/git" |
| 10 | B = "${S}" |
| 11 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 12 | SRCREV = "92c00638a6f846df5c40dbb690f9fcf998ad6df2" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 13 | SRC_URI = "git://github.com/rhinstaller/libbytesize;branch=master \ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 14 | file://0001-fix-out-of-tree-build-failure.patch \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 15 | " |
| 16 | |
| 17 | inherit gettext autotools python3native |
| 18 | |
| 19 | DEPENDS += " \ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 20 | libpcre2 \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 21 | gmp \ |
| 22 | mpfr \ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 23 | gettext-native \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 24 | " |
| 25 | |
| 26 | FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize" |
| 27 | |
| 28 | PACKAGECONFIG ??= "python3" |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 29 | PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3-core" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 30 | PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native" |
| 31 | |
| 32 | EXTRA_OEMAKE = "py3libdir=${PYTHON_SITEPACKAGES_DIR}" |
| 33 | |
| 34 | |