diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/intltool/intltool.inc | 30 | ||||
-rw-r--r-- | meta/recipes-devtools/intltool/intltool_0.51.0.bb | 36 |
2 files changed, 29 insertions, 37 deletions
diff --git a/meta/recipes-devtools/intltool/intltool.inc b/meta/recipes-devtools/intltool/intltool.inc deleted file mode 100644 index eb7ae004aa..0000000000 --- a/meta/recipes-devtools/intltool/intltool.inc +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | SUMMARY = "Utility scripts for internationalizing XML" | ||
2 | SECTION = "devel" | ||
3 | LICENSE = "GPLv2" | ||
4 | |||
5 | URLV="${@'.'.join(d.getVar('PV',1).split('.')[0:2])}" | ||
6 | SRC_URI = "http://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz" | ||
7 | |||
8 | UPSTREAM_CHECK_URI = "https://launchpad.net/intltool/trunk/" | ||
9 | |||
10 | S = "${WORKDIR}/intltool-${PV}" | ||
11 | |||
12 | DEPENDS = "libxml-parser-perl-native" | ||
13 | RDEPENDS_${PN} = "gettext-dev libxml-parser-perl" | ||
14 | DEPENDS_class-native = "libxml-parser-perl-native" | ||
15 | # gettext is assumed to exist on the host | ||
16 | RDEPENDS_${PN}_class-native = "libxml-parser-perl-native" | ||
17 | RRECOMMENDS_${PN} = "perl-modules" | ||
18 | RRECOMMENDS_${PN}_class-native = "" | ||
19 | |||
20 | FILES_${PN}-dev = "" | ||
21 | FILES_${PN} += "${datadir}/aclocal" | ||
22 | |||
23 | INSANE_SKIP_${PN} += "dev-deps" | ||
24 | |||
25 | inherit autotools pkgconfig perlnative | ||
26 | |||
27 | export PERL = "${bindir}/env perl" | ||
28 | PERL_class-native = "/usr/bin/env nativeperl" | ||
29 | |||
30 | BBCLASSEXTEND = "native" | ||
diff --git a/meta/recipes-devtools/intltool/intltool_0.51.0.bb b/meta/recipes-devtools/intltool/intltool_0.51.0.bb index d520d43c1d..0a610a31f9 100644 --- a/meta/recipes-devtools/intltool/intltool_0.51.0.bb +++ b/meta/recipes-devtools/intltool/intltool_0.51.0.bb | |||
@@ -1,19 +1,41 @@ | |||
1 | require intltool.inc | 1 | SUMMARY = "Utility scripts for internationalizing XML" |
2 | SECTION = "devel" | ||
2 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
4 | 5 | ||
5 | SRC_URI += "file://intltool-nowarn.patch \ | 6 | SRC_URI = "http://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz \ |
6 | file://perl-522-deprecations.patch \ | 7 | file://intltool-nowarn.patch \ |
8 | file://perl-522-deprecations.patch \ | ||
7 | ${NATIVEPATCHES} \ | 9 | ${NATIVEPATCHES} \ |
8 | " | 10 | " |
11 | SRC_URI[md5sum] = "12e517cac2b57a0121cda351570f1e63" | ||
12 | SRC_URI[sha256sum] = "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd" | ||
9 | 13 | ||
10 | # | ||
11 | # All of the intltool scripts have the correct paths to perl already | 14 | # All of the intltool scripts have the correct paths to perl already |
12 | # embedded into them and can find perl fine, so we add the remove xml-check | 15 | # embedded into them and can find perl fine, so we add the remove xml-check |
13 | # in the intltool.m4 via the remove-xml-check.patch | 16 | # in the intltool.m4 via the remove-xml-check.patch |
14 | NATIVEPATCHES = "file://noperlcheck.patch \ | 17 | NATIVEPATCHES = "file://noperlcheck.patch \ |
15 | file://remove-xml-check.patch" | 18 | file://remove-xml-check.patch" |
16 | NATIVEPATCHES_class-native = "file://use-nativeperl.patch" | 19 | NATIVEPATCHES_class-native = "file://use-nativeperl.patch" |
17 | 20 | ||
18 | SRC_URI[md5sum] = "12e517cac2b57a0121cda351570f1e63" | 21 | UPSTREAM_CHECK_URI = "https://launchpad.net/intltool/trunk/" |
19 | SRC_URI[sha256sum] = "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd" | 22 | |
23 | DEPENDS = "libxml-parser-perl-native" | ||
24 | RDEPENDS_${PN} = "gettext-dev libxml-parser-perl" | ||
25 | DEPENDS_class-native = "libxml-parser-perl-native" | ||
26 | # gettext is assumed to exist on the host | ||
27 | RDEPENDS_${PN}_class-native = "libxml-parser-perl-native" | ||
28 | RRECOMMENDS_${PN} = "perl-modules" | ||
29 | RRECOMMENDS_${PN}_class-native = "" | ||
30 | |||
31 | FILES_${PN}-dev = "" | ||
32 | FILES_${PN} += "${datadir}/aclocal" | ||
33 | |||
34 | INSANE_SKIP_${PN} += "dev-deps" | ||
35 | |||
36 | inherit autotools pkgconfig perlnative | ||
37 | |||
38 | export PERL = "${bindir}/env perl" | ||
39 | PERL_class-native = "/usr/bin/env nativeperl" | ||
40 | |||
41 | BBCLASSEXTEND = "native" | ||