From patchwork Tue Feb 24 05:36:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kenton, Stephen M." X-Patchwork-Id: 442804 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 22F8F140159 for ; Tue, 24 Feb 2015 16:36:56 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 941D895284; Tue, 24 Feb 2015 05:36:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O6DE6mr6IC67; Tue, 24 Feb 2015 05:36:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id B2E2F952BD; Tue, 24 Feb 2015 05:36:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 28B911C21AC for ; Tue, 24 Feb 2015 05:36:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 23B8C917EC for ; Tue, 24 Feb 2015 05:36:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 71HXTL3y0Es2 for ; Tue, 24 Feb 2015 05:36:52 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from eastrmfepo201.cox.net (eastrmfepo201.cox.net [68.230.241.216]) by whitealder.osuosl.org (Postfix) with ESMTP id 08FF2917E0 for ; Tue, 24 Feb 2015 05:36:51 +0000 (UTC) Received: from eastrmimpo110 ([68.230.241.223]) by eastrmfepo201.cox.net (InterMail vM.8.01.05.15 201-2260-151-145-20131218) with ESMTP id <20150224053650.OSDT25062.eastrmfepo201.cox.net@eastrmimpo110> for ; Tue, 24 Feb 2015 00:36:50 -0500 Received: from localhost.localdomain ([68.97.2.10]) by eastrmimpo110 with cox id w5cq1p00A0CxSiC015cqPC; Tue, 24 Feb 2015 00:36:50 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020205.54EC0DF2.0136,ss=1,re=0.001,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.0 cv=GKHW5JxK c=1 sm=1 a=nr99965rMXYxaIVTx7+86Q==:17 a=fpAOSEmNAAAA:8 a=b01i9L7eAAAA:8 a=e8e0wIBq7jrkPu5rdIMA:9 a=nr99965rMXYxaIVTx7+86Q==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none From: Steve Kenton To: buildroot@busybox.net Date: Mon, 23 Feb 2015 23:36:35 -0600 Message-Id: <1424756195-4684-1-git-send-email-skenton@ou.edu> X-Mailer: git-send-email 2.1.0 Subject: [Buildroot] [PATCH 1/1] tovid: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The tovid suite, also known simply as tovid, is a collection of shell and Python scripts for creating DVDs and (S)VCDs. It is pronounced "to vid" (because it converts to video disc formats). Signed-off-by: Steve Kenton --- This will require dvd+rw-tools which has been submitted but not yet accepted. Since I'm already using tovid I thought I'd get it worked up for submission and start the review process on the possibly optimistic assumption that dvd+rw-tools will eventually get accepted. package/Config.in | 1 + package/tovid/0001-manpage.patch | 22 ++++++++++++++++++++++ package/tovid/Config.in | 30 ++++++++++++++++++++++++++++++ package/tovid/tovid.mk | 21 +++++++++++++++++++++ 4 files changed, 74 insertions(+) create mode 100644 package/tovid/0001-manpage.patch create mode 100644 package/tovid/Config.in create mode 100644 package/tovid/tovid.mk diff --git a/package/Config.in b/package/Config.in index fe3d3d0..a558659 100644 --- a/package/Config.in +++ b/package/Config.in @@ -32,6 +32,7 @@ menu "Audio and video applications" source "package/pulseaudio/Config.in" source "package/sox/Config.in" source "package/tidsp-binaries/Config.in" + source "package/tovid/Config.in" source "package/tstools/Config.in" source "package/twolame/Config.in" source "package/upmpdcli/Config.in" diff --git a/package/tovid/0001-manpage.patch b/package/tovid/0001-manpage.patch new file mode 100644 index 0000000..26788b4 --- /dev/null +++ b/package/tovid/0001-manpage.patch @@ -0,0 +1,22 @@ +--- tovid-3534/setup.py.ori 2015-02-20 22:08:18.590122839 -0600 ++++ tovid-3534/setup.py 2015-02-20 22:06:05.290120282 -0600 +@@ -186,7 +186,7 @@ class BuildTovidInit (Command): + + # Build tovid-init with regular 'build' command + build.sub_commands.append(('build_tovid_init', None)) +-build.sub_commands.append(('build_docs', None)) ++#build.sub_commands.append(('build_docs', None)) + + # The actual setup + setup( +@@ -244,8 +244,8 @@ setup( + 'src/tovid.ini', + ]), + # Manual page +- ('share/man/man1', +- ['docs/man/tovid.1']), ++# ('share/man/man1', ++# ['docs/man/tovid.1']), + # Desktop shortcut + ('share/applications', + ['tovidgui.desktop', diff --git a/package/tovid/Config.in b/package/tovid/Config.in new file mode 100644 index 0000000..3c3a187 --- /dev/null +++ b/package/tovid/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_TOVID + bool "tovid" + depends on BR2_USE_WCHAR + depends on BR2_LARGEFILE + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU + depends on BR2_INET_IPV6 # ffmpeg + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # procps_ng + select BR2_PACKAGE_DVDAUTHOR + select BR2_PACKAGE_DVDRW_TOOLS + select BR2_PACKAGE_FFMPEG + select BR2_PACKAGE_IMAGEMAGICK + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_MJPEGTOOLS + select BR2_PACKAGE_MPLAYER + select BR2_PACKAGE_PROCPS_NG + select BR2_PACKAGE_PYTHON + select BR2_PACKAGE_SOX + help + The tovid suite, also known simply as tovid, is a collection of shell + and Python scripts for creating DVDs and (S)VCDs. It is pronounced + "to vid" (because it converts to video disc formats). + + http://tovid.wikia.com/wiki/Installing_tovid + +comment "tovid needs a toolchain w/ wchar, largefile, threads, mmu, ipv6, C++" + depends on !BR2_USE_WCHAR || !BR2_LARGEFILE \ + || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_MMU \ + || !BR2_INET_IPV6 || !BR2_INSTALL_LIBSTDCPP diff --git a/package/tovid/tovid.mk b/package/tovid/tovid.mk new file mode 100644 index 0000000..768449a --- /dev/null +++ b/package/tovid/tovid.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# tovid +# +################################################################################ + +TOVID_SITE = http://tovid.googlecode.com/svn/trunk/tovid +TOVID_SITE_METHOD = svn +TOVID_VERSION = 3534 +TOVID_LICENSE = GPLv2.0 +TOVID_LICENSE_FILES = COPYING +TOVID_DEPENDENCIES += python + +# Must be run in source directory to avoid "error: package directory 'libtovid' does not exist" +define TOVID_INSTALL_TARGET_CMDS +# bash -c "cd $(@D); ./setup.py build_tovid_init" +# bash -c "cd $(@D); ./setup.py build" + bash -c "cd $(@D); ./setup.py install --root=$(TARGET_DIR) --prefix=/usr" +endef + +$(eval $(generic-package))