summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/atk/atk.inc14
-rw-r--r--meta/packages/atk/atk_1.18.0.bb17
-rw-r--r--meta/packages/atk/atk_1.20.0.bb12
3 files changed, 17 insertions, 26 deletions
diff --git a/meta/packages/atk/atk.inc b/meta/packages/atk/atk.inc
new file mode 100644
index 0000000000..5f81cdf67e
--- /dev/null
+++ b/meta/packages/atk/atk.inc
@@ -0,0 +1,14 @@
+DESCRIPTION = "An accessibility toolkit for GNOME."
+SECTION = "x11/libs"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+
+DEPENDS = "glib-2.0 gtk-doc-native"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--disable-glibtest"
+
+do_stage () {
+ autotools_stage_all
+}
diff --git a/meta/packages/atk/atk_1.18.0.bb b/meta/packages/atk/atk_1.18.0.bb
index 07ed572505..3613f2526a 100644
--- a/meta/packages/atk/atk_1.18.0.bb
+++ b/meta/packages/atk/atk_1.18.0.bb
@@ -1,16 +1,3 @@
-DESCRIPTION = "An accessibility toolkit for GNOME."
-SECTION = "x11/libs"
-PRIORITY = "optional"
-LICENSE = "LGPL"
+require atk.inc
-DEPENDS = "glib-2.0 gtk-doc-native"
-
-SRC_URI = "http://download.gnome.org/sources/atk/1.18/${PN}-${PV}.tar.bz2"
-
-inherit autotools pkgconfig
-
-EXTRA_OECONF = "--disable-glibtest"
-
-do_stage () {
- autotools_stage_all
-}
+SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/atk/1.18/atk-${PV}.tar.bz2"
diff --git a/meta/packages/atk/atk_1.20.0.bb b/meta/packages/atk/atk_1.20.0.bb
index a909e0eb61..bb64492337 100644
--- a/meta/packages/atk/atk_1.20.0.bb
+++ b/meta/packages/atk/atk_1.20.0.bb
@@ -1,16 +1,6 @@
-DESCRIPTION = "An accessibility toolkit for GNOME."
-SECTION = "x11/libs"
-PRIORITY = "optional"
-LICENSE = "LGPL"
-
-DEPENDS = "glib-2.0 gtk-doc-native"
+require atk.inc
SRC_URI = "http://download.gnome.org/sources/atk/1.20/${PN}-${PV}.tar.bz2"
-inherit autotools pkgconfig
-EXTRA_OECONF = "--disable-glibtest"
-do_stage () {
- autotools_stage_all
-}