Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | def xfce_verdir(v): |
| 2 | import re |
| 3 | m = re.match("^([0-9]+)\.([0-9]+)", v) |
| 4 | return "%s.%s" % (m.group(1), m.group(2)) |
| 5 | |
| 6 | HOMEPAGE = "http://www.xfce.org" |
| 7 | SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2" |
| 8 | |
| 9 | inherit autotools gettext gtk-icon-cache pkgconfig |
| 10 | |
| 11 | DEPENDS += "intltool-native" |
| 12 | |
| 13 | FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/* ${libdir}/xfce4/modules/*.so*" |
| 14 | FILES_${PN}-doc += "${datadir}/xfce4/doc" |
| 15 | |
| 16 | FILES_${PN}-dev += "${libdir}/xfce4/*/*.la" |
| 17 | FILES_${PN}-dev += "${libdir}/xfce4/*/*/*.la" |
| 18 | FILES_${PN}-staticdev += "${libdir}/xfce4/*/*.a" |
| 19 | FILES_${PN}-staticdev += "${libdir}/xfce4/*/*/*.a" |
| 20 | FILES_${PN}-dbg += "${libdir}/xfce4/*/.debug" |
| 21 | FILES_${PN}-dbg += "${libdir}/xfce4/*/*/.debug" |
| 22 | |