mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
spice: convert to meson
Faster compilation. Removed autotools patches. Backported meson patch to fix compilation and pkgconfig file. Before: time make package/spice/compile -j 12 Executed in 62.85 secs fish external usr time 56.45 secs 276.00 micros 56.45 secs sys time 8.06 secs 46.00 micros 8.06 secs Before + PKG_BUILD_PARALLEL: Executed in 45.40 secs fish external usr time 63.08 secs 253.00 micros 63.08 secs sys time 8.57 secs 44.00 micros 8.57 secs After: time make package/spice/compile -j 12 Executed in 16.54 secs fish external usr time 41.29 secs 266.00 micros 41.29 secs sys time 4.76 secs 45.00 micros 4.76 secs Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
+27
-13
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=spice
|
||||
PKG_VERSION:=0.14.3
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=https://www.spice-space.org/download/releases/spice-server
|
||||
PKG_HASH:=551d4be4a07667cf0543f3c895beb6da8a93ef5a9829f2ae47817be5e616a114
|
||||
@@ -18,11 +18,11 @@ PKG_LICENSE_FILES:=COPYING
|
||||
PKG_INSTALL:=1
|
||||
PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_BUILD_DEPENDS+=spice-protocol
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
include ../../devel/meson/meson.mk
|
||||
|
||||
define Package/libspice-server
|
||||
SECTION:=libs
|
||||
@@ -45,17 +45,31 @@ define Build/InstallDev
|
||||
endef
|
||||
|
||||
# audio codec
|
||||
CONFIGURE_ARGS += \
|
||||
--disable-opus \
|
||||
--disable-celt051 \
|
||||
MESON_ARGS += \
|
||||
-Dcelt051=disabled \
|
||||
-Dopus=disabled \
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--disable-lz4 \
|
||||
--disable-manual \
|
||||
--disable-gstreamer \
|
||||
--disable-smartcard \
|
||||
--disable-statistics \
|
||||
--without-sasl \
|
||||
--disable-silent-rules \
|
||||
MESON_ARGS += \
|
||||
-Dgstreamer=no \
|
||||
-Dlz4=false \
|
||||
-Dsasl=false \
|
||||
-Dsmartcard=disabled \
|
||||
-Dalignment-checks=false \
|
||||
-Dextra-checks=false \
|
||||
-Dstatistics=false \
|
||||
-Dmanual=false \
|
||||
-Dinstrumentation=no \
|
||||
|
||||
MESON_ARGS += \
|
||||
-Dspice-common:alignment-checks=false \
|
||||
-Dspice-common:extra-checks=false \
|
||||
-Dspice-common:celt051=disabled \
|
||||
-Dspice-common:opus=disabled \
|
||||
-Dspice-common:instrumentation=no \
|
||||
-Dspice-common:smartcard=disabled \
|
||||
-Dspice-common:python-checks=false \
|
||||
-Dspice-common:manual=false \
|
||||
-Dspice-common:generate-code=none \
|
||||
-Dspice-common:tests=false \
|
||||
|
||||
$(eval $(call BuildPackage,libspice-server))
|
||||
|
||||
Reference in New Issue
Block a user