diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-video/pgcedit | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-video/pgcedit')
-rw-r--r-- | media-video/pgcedit/Manifest | 3 | ||||
-rw-r--r-- | media-video/pgcedit/files/pgcedit-0.8.6-config-paths.patch | 26 | ||||
-rw-r--r-- | media-video/pgcedit/metadata.xml | 10 | ||||
-rw-r--r-- | media-video/pgcedit/pgcedit-0.8.6.ebuild | 54 |
4 files changed, 93 insertions, 0 deletions
diff --git a/media-video/pgcedit/Manifest b/media-video/pgcedit/Manifest new file mode 100644 index 000000000000..1a341f5782dc --- /dev/null +++ b/media-video/pgcedit/Manifest @@ -0,0 +1,3 @@ +DIST PgcEdit_Manual_html.zip 1650202 SHA256 6cc6d0ff42dfa457022c2f9e9fafa9c088db18a9a82ab7cdfc231e1bbd8d87f4 SHA512 0cc4f824e9509dadb18e416012d32d4f1428c43fedc4af45ce22e05b216f9cd2e4700c97e7d4a9b1c4da4745940c1b53df93d1e1b919142b10279832db7c82df WHIRLPOOL 1af2e0fbd45243beed75862e2237e6416046e4e32dbd6894490ce00f19492e465f97572fe40322094eb013be09d3ff2ba218c1be34aaf1109005d0938fc3a26c +DIST PgcEdit_source_8.6.zip 898311 SHA256 09a24eaa79668001a5834c33f84ecc335134a3e5050ce6fa25ccbe4036e747f2 SHA512 3904e48dd0004bb8b2967771424c1ca5a5754c0854ac131c37497c66c3148c6ec06b9872a4c69b08cf46bb862b073467f6c0fe8230426bf70e9bb43caf5857ac WHIRLPOOL 31784485e78baf1a861ba3b8f1c4136029a4aff58aab89dac1f9e6b6811a37cd4e35ea9e377d596287ce019c7be8ca81ed593500873aca9107a5b27c78f2773a +DIST pgcedit.png 891 SHA256 8a7e6b96bb9714afb65683e0db7c77577f20ae97771670fca93fb56d488ad288 SHA512 f24efe76bc7a725da28d98db9e28fb111895cde83f99c4bf6cd4902c5ff32216d2399d97728de33576c61866ef725a0c3ee5466793945a978e6d26ccd0319988 WHIRLPOOL e76acabb53bf72c4290bfe561e42ffb813a38e1ca0e93f3cabf8803037114232338d5939874a066f674b9a87de2700801b55c33472eef1815b90cf3d5464548c diff --git a/media-video/pgcedit/files/pgcedit-0.8.6-config-paths.patch b/media-video/pgcedit/files/pgcedit-0.8.6-config-paths.patch new file mode 100644 index 000000000000..24c395522397 --- /dev/null +++ b/media-video/pgcedit/files/pgcedit-0.8.6-config-paths.patch @@ -0,0 +1,26 @@ +--- a/PgcEdit_main.tcl ++++ b/PgcEdit_main.tcl +@@ -1456,9 +1456,9 @@ + catch {file delete $::config(bindir)} + } + } else { +- set config(apppath) [file dirname $scriptname] +- set ::config(bindir) [file join [file dirname $scriptname] "bin"] +- set ::config(plugindir) [file join [file dirname $scriptname] "plugins"] ++ set config(apppath) {/usr/share/pgcedit} ++ set ::config(bindir) "$config(apppath)/bin" ++ set ::config(plugindir) "$config(apppath)/plugins" + + if {! [file exists $::config(tempdir)]} { + set ::config(tempdir) "/tmp" +--- a/lib/main.tcl ++++ b/lib/main.tcl +@@ -4674,7 +4674,7 @@ + }
+
+ proc display_doc {} {
+- set rootpath [file dirname $::config(bindir)]
++ set rootpath "@DOCDIR@"
+ set filename ""
+ if {$::tcl_platform(platform) == "windows"} {
+ if {[file exists [file join $rootpath "PgcEdit_Manual.chm"]]} {
diff --git a/media-video/pgcedit/metadata.xml b/media-video/pgcedit/metadata.xml new file mode 100644 index 000000000000..b290225f8396 --- /dev/null +++ b/media-video/pgcedit/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> + <use> + <flag name='video'>Add support for video preview</flag> + </use> +</pkgmetadata> diff --git a/media-video/pgcedit/pgcedit-0.8.6.ebuild b/media-video/pgcedit/pgcedit-0.8.6.ebuild new file mode 100644 index 000000000000..0593f08eae4f --- /dev/null +++ b/media-video/pgcedit/pgcedit-0.8.6.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils versionator + +MY_PN="PgcEdit" +MY_P="${MY_PN}_source_$(get_after_major_version)" +MY_PDOC="${MY_PN}_Manual_html" + +DESCRIPTION="DVD IFO and Menu editor" +HOMEPAGE="http://download.videohelp.com/r0lZ/pgcedit/" +SRC_URI=" + http://download.videohelp.com/r0lZ/${PN}/versions/${MY_P}.zip + http://download.videohelp.com/r0lZ/${PN}/versions/${MY_PDOC}.zip + mirror://gentoo/${PN}.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="video" + +RDEPEND=" + app-cdr/cdrtools + >=dev-lang/tcl-8.4:0 + >=dev-lang/tk-8.4:0 + video? ( app-emulation/wine )" +DEPEND="app-arch/unzip" + +S=${WORKDIR} + +src_prepare() { + epatch "${FILESDIR}"/${P}-config-paths.patch + sed -i "s:@DOCDIR@:/usr/share/doc/${PF}/html:" lib/main.tcl || die + # These are only used in Windows. + rm bin/{mkisofs,pskill}.exe || die + use video || rm bin/PgcEditPreview.exe +} + +src_install() { + newbin ${MY_PN}_main.tcl ${PN} + + keepdir /usr/share/${PN}/plugins + insinto /usr/share/${PN} + doins -r bin lib + dohtml -r doc/* + + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} ${MY_PN} ${PN} "AudioVideo;Video;" + + dodoc HISTORY.txt TODO.txt +} |