summaryrefslogtreecommitdiffstats
path: root/src/x264.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2014-12-03 10:25:25 (GMT)
committerTony Theodore <tonyt@logyst.com>2014-12-03 10:25:25 (GMT)
commit3691ac38b00191eb17652b4b778d1bc2b26a9bfe (patch)
treedd56da0b8bfeb481fbfaffedb4bc4a6cc86d4553 /src/x264.mk
parentb672cd82663d3d28729b5d6807426e66ad08a361 (diff)
downloadmxe-3691ac38b00191eb17652b4b778d1bc2b26a9bfe.zip
mxe-3691ac38b00191eb17652b4b778d1bc2b26a9bfe.tar.gz
mxe-3691ac38b00191eb17652b4b778d1bc2b26a9bfe.tar.bz2
x264: use last commit date in update macro
Diffstat (limited to 'src/x264.mk')
-rw-r--r--src/x264.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/x264.mk b/src/x264.mk
index 2dbc2a2..f14225b 100644
--- a/src/x264.mk
+++ b/src/x264.mk
@@ -11,7 +11,10 @@ $(PKG)_URL := http://download.videolan.org/pub/videolan/$(PKG)/snapshots/$(
$(PKG)_DEPS := gcc yasm
define $(PKG)_UPDATE
- $(DATE) -d yesterday +%Y%m%d-2245
+ $(WGET) -q -O- 'http://git.videolan.org/?p=x264.git;a=shortlog' | \
+ $(SED) -n 's,.*\([0-9]\{4\}\)-\([0-9]\{2\}\)-\([0-9]\{2\}\).*,\1\2\3-2245,p' | \
+ sort | \
+ tail -1
endef
define $(PKG)_BUILD