summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/intltool
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-07-19 11:42:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-20 10:28:53 +0100
commitae39c3a0f687b6e23d2726defa8287eacb6f8a79 (patch)
tree419add969b612ff39d3610ffa3e4d32b39029152 /meta/recipes-devtools/intltool
parentbb4298427733da58f96c7702ce547464b3c0aafc (diff)
downloadpoky-ae39c3a0f687b6e23d2726defa8287eacb6f8a79.tar.gz
intltool: merge .bb and .inc
There's no use in having these split, so merge them together for clarity. (From OE-Core rev: bf88f089c3bb8ceef7338436a1688a44399efc57) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/intltool')
-rw-r--r--meta/recipes-devtools/intltool/intltool.inc30
-rw-r--r--meta/recipes-devtools/intltool/intltool_0.51.0.bb36
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 @@
1SUMMARY = "Utility scripts for internationalizing XML"
2SECTION = "devel"
3LICENSE = "GPLv2"
4
5URLV="${@'.'.join(d.getVar('PV',1).split('.')[0:2])}"
6SRC_URI = "http://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz"
7
8UPSTREAM_CHECK_URI = "https://launchpad.net/intltool/trunk/"
9
10S = "${WORKDIR}/intltool-${PV}"
11
12DEPENDS = "libxml-parser-perl-native"
13RDEPENDS_${PN} = "gettext-dev libxml-parser-perl"
14DEPENDS_class-native = "libxml-parser-perl-native"
15# gettext is assumed to exist on the host
16RDEPENDS_${PN}_class-native = "libxml-parser-perl-native"
17RRECOMMENDS_${PN} = "perl-modules"
18RRECOMMENDS_${PN}_class-native = ""
19
20FILES_${PN}-dev = ""
21FILES_${PN} += "${datadir}/aclocal"
22
23INSANE_SKIP_${PN} += "dev-deps"
24
25inherit autotools pkgconfig perlnative
26
27export PERL = "${bindir}/env perl"
28PERL_class-native = "/usr/bin/env nativeperl"
29
30BBCLASSEXTEND = "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 @@
1require intltool.inc 1SUMMARY = "Utility scripts for internationalizing XML"
2SECTION = "devel"
2LICENSE = "GPLv2" 3LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
4 5
5SRC_URI += "file://intltool-nowarn.patch \ 6SRC_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 "
11SRC_URI[md5sum] = "12e517cac2b57a0121cda351570f1e63"
12SRC_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
14NATIVEPATCHES = "file://noperlcheck.patch \ 17NATIVEPATCHES = "file://noperlcheck.patch \
15 file://remove-xml-check.patch" 18 file://remove-xml-check.patch"
16NATIVEPATCHES_class-native = "file://use-nativeperl.patch" 19NATIVEPATCHES_class-native = "file://use-nativeperl.patch"
17 20
18SRC_URI[md5sum] = "12e517cac2b57a0121cda351570f1e63" 21UPSTREAM_CHECK_URI = "https://launchpad.net/intltool/trunk/"
19SRC_URI[sha256sum] = "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd" 22
23DEPENDS = "libxml-parser-perl-native"
24RDEPENDS_${PN} = "gettext-dev libxml-parser-perl"
25DEPENDS_class-native = "libxml-parser-perl-native"
26# gettext is assumed to exist on the host
27RDEPENDS_${PN}_class-native = "libxml-parser-perl-native"
28RRECOMMENDS_${PN} = "perl-modules"
29RRECOMMENDS_${PN}_class-native = ""
30
31FILES_${PN}-dev = ""
32FILES_${PN} += "${datadir}/aclocal"
33
34INSANE_SKIP_${PN} += "dev-deps"
35
36inherit autotools pkgconfig perlnative
37
38export PERL = "${bindir}/env perl"
39PERL_class-native = "/usr/bin/env nativeperl"
40
41BBCLASSEXTEND = "native"