diff options
| author | Ross Burton <ross.burton@intel.com> | 2016-07-19 11:42:25 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-20 10:28:53 +0100 |
| commit | ae39c3a0f687b6e23d2726defa8287eacb6f8a79 (patch) | |
| tree | 419add969b612ff39d3610ffa3e4d32b39029152 /meta/recipes-devtools/intltool | |
| parent | bb4298427733da58f96c7702ce547464b3c0aafc (diff) | |
| download | poky-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.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" | ||
