spice: bump to version 0.14.3
[feed/packages.git] / libs / spice / Makefile
1 #
2 # Copyright (C) 2019 Yousong Zhou <yszhou4tech@gmail.com>
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=spice
11 PKG_VERSION:=0.14.3
12 PKG_RELEASE:=1
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_SOURCE_URL:=https://www.spice-space.org/download/releases/spice-server
15 PKG_HASH:=551d4be4a07667cf0543f3c895beb6da8a93ef5a9829f2ae47817be5e616a114
16 PKG_LICENSE:=LGPL-2.1-only
17 PKG_LICENSE_FILES:=COPYING
18 PKG_INSTALL:=1
19 PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
20
21 PKG_FIXUP:=autoreconf
22 PKG_BUILD_DEPENDS+=spice-protocol
23
24 include $(INCLUDE_DIR)/package.mk
25
26 define Package/libspice-server
27 SECTION:=libs
28 CATEGORY:=Libraries
29 TITLE:=SPICE server library
30 URL:=https://www.spice-space.org/index.html
31 DEPENDS:=+glib2 +libjpeg +libopenssl +pixman +zlib
32 endef
33
34 define Package/libspice-server/install
35 $(INSTALL_DIR) $(1)/usr/lib
36 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libspice-server.so* $(1)/usr/lib
37 endef
38
39 define Build/InstallDev
40 $(INSTALL_DIR) $(1)/usr/lib
41 $(INSTALL_DIR) $(1)/usr/include
42 $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include
43 $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib
44 endef
45
46 # audio codec
47 CONFIGURE_ARGS += \
48 --disable-opus \
49 --disable-celt051 \
50
51 CONFIGURE_ARGS += \
52 --disable-lz4 \
53 --disable-manual \
54 --disable-gstreamer \
55 --disable-smartcard \
56 --disable-statistics \
57 --without-sasl \
58 --disable-silent-rules \
59
60 $(eval $(call BuildPackage,libspice-server))