1*39653566SPatrick WilliamsSUMMARY = "Python bindings for the Cairo canvas library" 2*39653566SPatrick WilliamsHOMEPAGE = "http://cairographics.org/pycairo" 3*39653566SPatrick WilliamsBUGTRACKER = "http://bugs.freedesktop.org" 4*39653566SPatrick WilliamsSECTION = "python-devel" 5*39653566SPatrick WilliamsLICENSE = "LGPL-2.1-only & MPL-1.1" 6*39653566SPatrick WilliamsLIC_FILES_CHKSUM = "file://COPYING;md5=f3713ca2c28d9312ad718520b6dc3eee \ 7*39653566SPatrick Williams file://COPYING-LGPL-2.1;md5=fad9b3332be894bab9bc501572864b29 \ 8*39653566SPatrick Williams file://COPYING-MPL-1.1;md5=bfe1f75d606912a4111c90743d6c7325" 9*39653566SPatrick Williams 10*39653566SPatrick Williams# cairo >= 1.14 11*39653566SPatrick WilliamsDEPENDS = "cairo python3" 12*39653566SPatrick Williams 13*39653566SPatrick WilliamsSRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/pycairo-${PV}.tar.gz" 14*39653566SPatrick WilliamsGITHUB_BASE_URI = "https://github.com/pygobject/pycairo/releases/" 15*39653566SPatrick Williams 16*39653566SPatrick WilliamsSRC_URI[sha256sum] = "2dddd0a874fbddb21e14acd9b955881ee1dc6e63b9c549a192d613a907f9cbeb" 17*39653566SPatrick Williams 18*39653566SPatrick WilliamsS = "${WORKDIR}/pycairo-${PV}" 19*39653566SPatrick Williams 20*39653566SPatrick Williamsinherit meson pkgconfig python3targetconfig github-releases 21*39653566SPatrick Williams 22*39653566SPatrick WilliamsCFLAGS += "-fPIC" 23*39653566SPatrick Williams 24*39653566SPatrick WilliamsBBCLASSEXTEND = "native" 25*39653566SPatrick Williams 26*39653566SPatrick WilliamsFILES:${PN} = "${PYTHON_SITEPACKAGES_DIR}/*" 27