#
-# Copyright (C) 2019 Yousong Zhou <yszhou4tech@gmail.com>
+# Copyright (C) 2019-2020 Yousong Zhou <yszhou4tech@gmail.com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
include $(TOPDIR)/rules.mk
PKG_NAME:=spice-protocol
-PKG_VERSION:=0.14.1
+PKG_VERSION:=0.14.2
PKG_RELEASE:=1
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://www.spice-space.org/download/releases
-PKG_HASH:=79e6da61834b080a143234c1cd4c099a8ead1a64b5039489610b72ab282c132a
+PKG_HASH:=8f3a63c8b68300dffe36f2e75eac57afa1e76d5d80af760fd138a0b3f44cf1e9
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=COPYING
-PKG_INSTALL:=1
PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
+PKG_INSTALL:=1
+PKG_BUILD_DEPENDS:=meson/host
+
include $(INCLUDE_DIR)/package.mk
+include ../../devel/meson/meson.mk
define Package/spice-protocol