2 # Copyright (C) 2019 Yousong Zhou <yszhou4tech@gmail.com>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=https
://www.spice-space.org
/download
/releases
/spice-server
16 PKG_HASH
:=b320cf8f4bd2852750acb703c15b72856027e5a8554f8217dfbb3cc09deba0f5
18 PKG_MAINTAINER
:=Yousong Zhou
<yszhou4tech@gmail.com
>
19 PKG_LICENSE
:=LGPL-2.1
-only
20 PKG_LICENSE_FILES
:=COPYING
22 PKG_BUILD_DEPENDS
:=spice-protocol
24 include $(INCLUDE_DIR
)/package.mk
25 include $(INCLUDE_DIR
)/nls.mk
26 include $(INCLUDE_DIR
)/meson.mk
28 define Package
/libspice-server
31 TITLE
:=SPICE server library
32 URL
:=https
://www.spice-space.org
/index.html
33 DEPENDS
:=+glib2
+libjpeg
+libopenssl
+pixman
+zlib
+libstdcpp
44 -Dsmartcard
=disabled \
45 -Dalignment-checks
=false \
46 -Dextra-checks
=false \
49 -Dinstrumentation
=no \
53 -Dspice-common
:alignment-checks
=false \
54 -Dspice-common
:extra-checks
=false \
55 -Dspice-common
:opus
=disabled \
56 -Dspice-common
:instrumentation
=no \
57 -Dspice-common
:smartcard
=disabled \
58 -Dspice-common
:python-checks
=false \
59 -Dspice-common
:manual
=false \
60 -Dspice-common
:generate-code
=none \
61 -Dspice-common
:tests
=false \
63 define Build
/InstallDev
64 $(INSTALL_DIR
) $(1)/usr
/include/spice-server
65 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/spice-server
/*.h
$(1)/usr
/include/spice-server
66 $(INSTALL_DIR
) $(1)/usr
/lib
67 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libspice-server.
* $(1)/usr
/lib
68 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
69 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/spice-server.
pc $(1)/usr
/lib
/pkgconfig
72 define Package
/libspice-server
/install
73 $(INSTALL_DIR
) $(1)/usr
/lib
74 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libspice-server.so
* $(1)/usr
/lib
77 $(eval
$(call BuildPackage
,libspice-server
))