From patchwork Wed Mar 18 15:15:41 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: 451497 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 82108140077 for ; Thu, 19 Mar 2015 02:15:51 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A536C30DC3; Wed, 18 Mar 2015 15:15:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n26Om01KJYQ0; Wed, 18 Mar 2015 15:15:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id E74DE32E43; Wed, 18 Mar 2015 15:15:47 +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 6C6E71C2439 for ; Wed, 18 Mar 2015 15:15:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6868F8B9C9 for ; Wed, 18 Mar 2015 15:15:47 +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 1RZu5-k4jhlq for ; Wed, 18 Mar 2015 15:15:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from eastrmfepo202.cox.net (eastrmfepo202.cox.net [68.230.241.217]) by whitealder.osuosl.org (Postfix) with ESMTP id 5295D8B9AB for ; Wed, 18 Mar 2015 15:15:45 +0000 (UTC) Received: from eastrmimpo109 ([68.230.241.222]) by eastrmfepo202.cox.net (InterMail vM.8.01.05.15 201-2260-151-145-20131218) with ESMTP id <20150318151544.MQAN20038.eastrmfepo202.cox.net@eastrmimpo109> for ; Wed, 18 Mar 2015 11:15:44 -0400 Received: from localhost.localdomain ([68.97.2.10]) by eastrmimpo109 with cox id 53Fj1q00G0CxSiC013FjHZ; Wed, 18 Mar 2015 11:15:43 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020206.5509969F.035F,ss=1,re=0.001,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.0 cv=EpUMW1gA c=1 sm=1 a=nr99965rMXYxaIVTx7+86Q==:17 a=fpAOSEmNAAAA:8 a=b01i9L7eAAAA:8 a=_Mss4uATxef6kMcvX1UA:9 a=nr99965rMXYxaIVTx7+86Q==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none From: Steve Kenton To: buildroot@busybox.net Date: Wed, 18 Mar 2015 10:15:41 -0500 Message-Id: <1426691741-3961-1-git-send-email-skenton@ou.edu> X-Mailer: git-send-email 2.1.0 Subject: [Buildroot] [PATCH v3 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 --- V3 delete hash file since download is from SVN package/Config.in | 1 + package/tovid/0001-manpage.patch | 26 ++++++++++++++++++++++++++ package/tovid/Config.in | 31 +++++++++++++++++++++++++++++++ package/tovid/tovid.mk | 19 +++++++++++++++++++ 4 files changed, 77 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 96e373a..44ccfe4 100644 --- a/package/Config.in +++ b/package/Config.in @@ -33,6 +33,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..c742b64 --- /dev/null +++ b/package/tovid/0001-manpage.patch @@ -0,0 +1,26 @@ +setup.py: disable documentation build + +Signed-off-by: Steve Kenton + +--- 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..180e6d1 --- /dev/null +++ b/package/tovid/Config.in @@ -0,0 +1,31 @@ +config BR2_PACKAGE_TOVID + bool "tovid" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INET_IPV6 # ffmpeg + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + depends on BR2_LARGEFILE + 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/ threads, ipv6, C++, wchar, largefile" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_INET_IPV6 || !BR2_INSTALL_LIBSTDCPP \ + || !BR2_USE_WCHAR || !BR2_LARGEFILE diff --git a/package/tovid/tovid.mk b/package/tovid/tovid.mk new file mode 100644 index 0000000..9e474fb --- /dev/null +++ b/package/tovid/tovid.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# 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 install --root=$(TARGET_DIR) --prefix=/usr" +endef + +$(eval $(generic-package))