Skip to contentSkip to conversation

kvazaar: new package

PATCH New Alexandre Esse 2 participants 3 messages Jun 16, 2017 – Jun 18, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvazaar: new package

Kvazaar is an open-source HEVC encoder licensed under LGPLv2.1. This provides tools to encode raw video into HEVC stream.

website: http://ultravideo.cs.tut.fi/

---
 DEVELOPERS                   |  2 +
 package/Config.in            |  1 +
 package/kvazaar/Config.in    |  4 ++++
 package/kvazaar/kvazaar.hash |  1 +
 package/kvazaar/kvazaar.mk   | 14 ++++++++++++++
 5 files changed, 21 insertions(+)
 create mode 100644 package/kvazaar/Config.in
 create mode 100644 package/kvazaar/kvazaar.hash
 create mode 100644 package/kvazaar/kvazaar.mk
DEVELOPERS +2 -0
index 6f752cb..c45a09d 100644
@@ -65,6 +65,7 @@ N:	Alexandre Belloni <[email protected]>
 F:	package/tz/
 
+N:	Alexandre Esse <[email protected]>
+F:	package/kvazaar/
 
 N:	Alistair Francis <[email protected]>
package/Config.in +1 -0
index 95604ed..236c865 100644
@@ -1220,6 +1220,7 @@ endmenu
 
 menu "Multimedia"
 	source "package/bitstream/Config.in"
+	source "package/kvazaar/Config.in"
 	source "package/libaacs/Config.in"
 	source "package/libamcodec/Config.in"
 	source "package/libass/Config.in"
package/kvazaar/Config.in new file +4 -0
new file mode 100644
index 0000000..a720f17
@@ -0,0 +1,4 @@
+config BR2_PACKAGE_KVAZAAR
+	bool "kvazaar"
+	help
+                An open-source HEVC encoder licensed under LGPLv2.1
package/kvazaar/kvazaar.hash new file +1 -0
new file mode 100644
index 0000000..1f3b65f
@@ -0,0 +1 @@
+sha256 8e382738a51004bfcfca4c832e8b41fe6a17f889f3c39151dc1c1a37261a3a6d  kvazaar-v1.1.0.tar.gz
package/kvazaar/kvazaar.mk new file +14 -0
new file mode 100644
index 0000000..0d9eadb
@@ -0,0 +1,14 @@
+################################################################################
+#
+# kvazaar
+#
+################################################################################
+
+KVAZAAR_VERSION = v1.1.0
+KVAZAAR_SITE = $(call github,ultravideo,kvazaar,$(KVAZAAR_VERSION))
+KVAZAAR_LICENSE = LGPLv2.1
+KVAZAAR_LICENSE_FILES = COPYING
+KVAZAAR_AUTORECONF = YES
+KVAZAAR_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 kvazaar: new package

Hello,

Quoted 6 lines · Alexandre Esse

Kvazaar is an open-source HEVC encoder licensed under LGPLv2.1. This provides tools to encode raw video into HEVC stream.

website: http://ultravideo.cs.tut.fi/

I've applied, after doing a few changes. See below.

package/kvazaar/Config.in line 4

Quoted 10 lines
package/kvazaar/Config.in new file +4 -0
new file mode 100644
index 0000000..a720f17
@@ -0,0 +1,4 @@
+config BR2_PACKAGE_KVAZAAR
+	bool "kvazaar"
+	help
+                An open-source HEVC encoder licensed under LGPLv2.1

Indentation for the help text is one tab + two spaces. Also, the Config.in help text should have an URL of the upstream project.

Please run your package submissions through support/scripts/check-package, it detects this kind of mistakes.

package/kvazaar/Config.in

Quoted 3 lines
package/kvazaar/Config.in new file +3 -0
+KVAZAAR_VERSION = v1.1.0
+KVAZAAR_SITE = $(call github,ultravideo,kvazaar,$(KVAZAAR_VERSION))
+KVAZAAR_LICENSE = LGPLv2.1

It's in fact LGPLv2.1+, and we use SPDX license codes in Buildroot, so LGPL-2.1+.

package/kvazaar/Config.in

Quoted 3 lines
package/kvazaar/Config.in new file +3 -0
+KVAZAAR_LICENSE_FILES = COPYING
+KVAZAAR_AUTORECONF = YES
+KVAZAAR_INSTALL_STAGING = YES

I've added KVAZAAR_CONF_OPTS = --without-cryptopp to make sure it doesn't pick up this optional dependency, as it's not explicitly handled by kvazaar.mk.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 kvazaar: new package

Thank you for you feedback.

I am still novice into Buildroot. Even if I read the documentation, I didn't know about support/scripts/check-package. Maybe, It should appear in the new package submission part of the documentation?

About the cryptopp part, I have already the option --with-cryptopp working on my PC with a custom cryptopp recipe I now need to patch the already existing cryptopp package for it ;)

Alexandre

Quoted 44 lines · Thomas Petazzoni

Hello,

Quoted 6 lines · Alexandre Esse

Kvazaar is an open-source HEVC encoder licensed under LGPLv2.1. This provides tools to encode raw video into HEVC stream.

website: http://ultravideo.cs.tut.fi/

I've applied, after doing a few changes. See below.

package/kvazaar/Config.in line 4

Quoted 10 lines
package/kvazaar/Config.in new file +4 -0
new file mode 100644
index 0000000..a720f17
@@ -0,0 +1,4 @@
+config BR2_PACKAGE_KVAZAAR
+     bool "kvazaar"
+     help
+                An open-source HEVC encoder licensed under LGPLv2.1

Indentation for the help text is one tab + two spaces. Also, the Config.in help text should have an URL of the upstream project.

Please run your package submissions through support/scripts/check-package, it detects this kind of mistakes.

package/kvazaar/Config.in

Quoted 3 lines
package/kvazaar/Config.in new file +3 -0
+KVAZAAR_VERSION = v1.1.0
+KVAZAAR_SITE = $(call github,ultravideo,kvazaar,$(KVAZAAR_VERSION))
+KVAZAAR_LICENSE = LGPLv2.1

It's in fact LGPLv2.1+, and we use SPDX license codes in Buildroot, so LGPL-2.1+.

package/kvazaar/Config.in

Quoted 3 lines
package/kvazaar/Config.in new file +3 -0
+KVAZAAR_LICENSE_FILES = COPYING
+KVAZAAR_AUTORECONF = YES
+KVAZAAR_INSTALL_STAGING = YES

I've added KVAZAAR_CONF_OPTS = --without-cryptopp to make sure it doesn't pick up this optional dependency, as it's not explicitly handled by kvazaar.mk.

Quoted 8 lines

Thanks!

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170618/1c7f7b82/attachment.html>