Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | def xfce_verdir(v): |
| 2 | import re |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 3 | m = re.match(r"^([0-9]+)\.([0-9]+)", v) |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 13 | FILES:${PN} += "${datadir}/icons/* ${datadir}/applications/* ${libdir}/xfce4/modules/*.so*" |
| 14 | FILES:${PN}-doc += "${datadir}/xfce4/doc" |