Add AG_GST_SET_PACKAGE_RELEASE_DATETIME and _DATETIME_WITH_NANO macros for configure
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 21 Jun 2010 15:26:21 +0000 (16:26 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 23 Jul 2010 16:11:49 +0000 (17:11 +0100)
commit2004d03037bbb2bb72de7a49ba501a7b5f6e2f92
treedd22834c5b786764298a0ab28adb73f09a2b94c9
parent1c3225c7cffafbcfdf711ed33c69e6e1f974745d
Add AG_GST_SET_PACKAGE_RELEASE_DATETIME and _DATETIME_WITH_NANO macros for configure

Sets GST_PACKAGE_RELEASE_DATETIME, either to the current date and time, or
to the specified datetime, or to the date of the current release based on
the .doap file.

In a GStreamer module context, one could use it like this:
AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO([$PACKAGE_VERSION_NANO],
  ["${srcdir}/$PACKAGE.doap"],
    [$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO])

https://bugzilla.gnome.org/show_bug.cgi?id=623040
Makefile.am
extract-release-date-from-doap-file [new file with mode: 0755]
m4/Makefile.am
m4/gst-package-release-datetime.m4 [new file with mode: 0644]