Pārlūkot izejas kodu

package/orc: bump to version 0.4.31

Switch to meson buildsystem and so drop:
 - !BR2_BINFMT_FLAT dependency
 - hooks (not needed thanks to orc-test and tools options)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Fabrice Fontaine 5 gadi atpakaļ
vecāks
revīzija
d4d59af898
3 mainītis faili ar 12 papildinājumiem un 18 dzēšanām
  1. 0 2
      package/orc/Config.in
  2. 2 2
      package/orc/orc.hash
  3. 10 14
      package/orc/orc.mk

+ 0 - 2
package/orc/Config.in

@@ -1,7 +1,6 @@
 config BR2_PACKAGE_ORC
 	bool "orc"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
-	depends on !BR2_BINFMT_FLAT # configure doesn't know uclinux
 	help
 	  Orc is a library and set of tools for compiling and executing
 	  very simple programs that operate on arrays of data.
@@ -10,4 +9,3 @@ config BR2_PACKAGE_ORC
 
 comment "orc needs a toolchain w/ threads"
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
-	depends on !BR2_BINFMT_FLAT

+ 2 - 2
package/orc/orc.hash

@@ -1,5 +1,5 @@
-# From https://gstreamer.freedesktop.org/src/orc/orc-0.4.27.tar.xz.sha256sum
-sha256 4f8901f9144b5ec17dffdb33548b5f4c7f8049b0d1023be3462cdd64ec5a3ab2  orc-0.4.29.tar.xz
+# From https://gstreamer.freedesktop.org/src/orc/orc-0.4.31.tar.xz.sha256sum
+sha256 a0ab5f10a6a9ae7c3a6b4218246564c3bf00d657cbdf587e6d34ec3ef0616075  orc-0.4.31.tar.xz
 
 # Locally calculated
 sha256 4f5dabb1b44bb6fc5cd53820b1f103147ad61b395a57903991325bd1b85d97bf  COPYING

+ 10 - 14
package/orc/orc.mk

@@ -4,24 +4,20 @@
 #
 ################################################################################
 
-ORC_VERSION = 0.4.29
+ORC_VERSION = 0.4.31
 ORC_SOURCE = orc-$(ORC_VERSION).tar.xz
 ORC_SITE = http://gstreamer.freedesktop.org/data/src/orc
 ORC_LICENSE = BSD-2-Clause, BSD-3-Clause
 ORC_LICENSE_FILES = COPYING
 ORC_INSTALL_STAGING = YES
 ORC_DEPENDENCIES = host-orc
+ORC_CONF_OPTS = \
+	-Dbenchmarks=disabled \
+	-Dexamples=disabled \
+	-Dgtk_doc=disabled \
+	-Dorc-test=disabled \
+	-Dtests=disabled \
+	-Dtools=disabled
 
-define ORC_REMOVE_BUGREPORT
-	rm -f $(TARGET_DIR)/usr/bin/orc-bugreport
-endef
-
-define ORC_REMOVE_DEVFILES
-	rm -f $(TARGET_DIR)/usr/bin/orcc
-endef
-
-ORC_POST_INSTALL_TARGET_HOOKS += ORC_REMOVE_BUGREPORT
-ORC_POST_INSTALL_TARGET_HOOKS += ORC_REMOVE_DEVFILES
-
-$(eval $(autotools-package))
-$(eval $(host-autotools-package))
+$(eval $(meson-package))
+$(eval $(host-meson-package))