diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-12-31 00:46:12 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-12-31 00:46:12 +0000 |
commit | f9b176318217f2d74ea3057f768601a7fba0d84a (patch) | |
tree | e95473d0039574131b90b82c68640d2b87c9712b /media-video/pgcedit | |
parent | Version bump. (diff) | |
download | historical-f9b176318217f2d74ea3057f768601a7fba0d84a.tar.gz historical-f9b176318217f2d74ea3057f768601a7fba0d84a.tar.bz2 historical-f9b176318217f2d74ea3057f768601a7fba0d84a.zip |
Initial ebuild partially based on one in Sunrise #213937 by Juan Aguado.
Package-Manager: portage-2.2.0_alpha144/cvs/Linux x86_64
Manifest-Sign-Key: 0xFB7C4156
Diffstat (limited to 'media-video/pgcedit')
-rw-r--r-- | media-video/pgcedit/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/pgcedit/Manifest | 27 | ||||
-rw-r--r-- | media-video/pgcedit/files/pgcedit-0.8.6-config-paths.patch | 26 | ||||
-rw-r--r-- | media-video/pgcedit/files/pgcedit.png | bin | 0 -> 891 bytes | |||
-rw-r--r-- | media-video/pgcedit/metadata.xml | 10 | ||||
-rw-r--r-- | media-video/pgcedit/pgcedit-0.8.6.ebuild | 51 |
6 files changed, 124 insertions, 0 deletions
diff --git a/media-video/pgcedit/ChangeLog b/media-video/pgcedit/ChangeLog new file mode 100644 index 000000000000..fd81e7593219 --- /dev/null +++ b/media-video/pgcedit/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-video/pgcedit +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/pgcedit/ChangeLog,v 1.1 2012/12/31 00:46:07 vapier Exp $ + +*pgcedit-0.8.6 (31 Dec 2012) + + 31 Dec 2012; Mike Frysinger <vapier@gentoo.org> + +files/pgcedit-0.8.6-config-paths.patch, +files/pgcedit.png, +metadata.xml, + +pgcedit-0.8.6.ebuild: + Initial ebuild partially based on one in Sunrise #213937 by Juan Aguado. diff --git a/media-video/pgcedit/Manifest b/media-video/pgcedit/Manifest new file mode 100644 index 000000000000..d2b18c0895ce --- /dev/null +++ b/media-video/pgcedit/Manifest @@ -0,0 +1,27 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX pgcedit-0.8.6-config-paths.patch 838 SHA256 612542f5338ab4556c61d75cb8e897f60c513e9e7d106d92fb67908688cab259 SHA512 3fecb16bbcf326c298214bee95af2ae9273adeac36fbb7b2f3d75a8dc6544a62f7b26cf4bd7f8b3976cf6122f447d9b5eb6ea2b6c2babbdebbd19f906d35e48a WHIRLPOOL 014b6a5f1f56a8e68b8840e676dc99b2cf68b041315f1032dfc3abe80b88408ec01ef191f14e10899c30bdc2484b0a56a4528424b7c173ee6ac134989b80749a +AUX pgcedit.png 891 SHA256 8a7e6b96bb9714afb65683e0db7c77577f20ae97771670fca93fb56d488ad288 SHA512 f24efe76bc7a725da28d98db9e28fb111895cde83f99c4bf6cd4902c5ff32216d2399d97728de33576c61866ef725a0c3ee5466793945a978e6d26ccd0319988 WHIRLPOOL e76acabb53bf72c4290bfe561e42ffb813a38e1ca0e93f3cabf8803037114232338d5939874a066f674b9a87de2700801b55c33472eef1815b90cf3d5464548c +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 +EBUILD pgcedit-0.8.6.ebuild 1302 SHA256 8304ab8c3928028f06b35d7a76f1611e1283740b1e511699adc3ef51d491a5ed SHA512 43e95f612952a62cc8768ad6dc2d8c53a9da921c6a18deaf1530fe3e09d535083423d26e4b77fe57c368e5d20df8eb608feda3417519a51a17aac4e265bfcf64 WHIRLPOOL 1e392f9d6512111a10ef8dcdc6fb1ce1d6108a9ca180b7b079aa73fe98d745db95e85dcf1f52f53da6240f5ea385eb977e1b9b9177f2d4d6e6ef6c9c31520ebf +MISC ChangeLog 469 SHA256 144344b0a7729f20e067dec53efe7c0e93364dafb576cbd6edde7e86636c3faf SHA512 fd41390da93e1612da55a87a7fd442ab086b3acd5d06fe209039324150decbcf91b02eee0c5844c43866f35081fd673dd91b0804704f5aebdfe992627683206f WHIRLPOOL 500220a2b58cf41218241aceddc7215d5efe71d68fadb3357651c7f171781f7a4fde6b09987533c131731025a399892829f59277c75395b316671f936a2b96fc +MISC metadata.xml 287 SHA256 e5aaf3ce8acbc61b204a233d88b890e170ac46f839293de168e19bd9e7993599 SHA512 a3d25f23aca8b5717696fce6af01539e746b6762b692e4024783cb72d33229bb73ceee7248461a0bd322238323bd45cc0a62f605838f755d3ee08648af36beec WHIRLPOOL ec9fd8ab2e915c1e96691cb8a669b4be8636833f6819950d36beee6588a4f90a8591f3dde9441961f1353d2c14c31da62a7d495b3a3a9c9657fd2b6d586e684c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQIcBAEBCAAGBQJQ4OCiAAoJELEHsLL7fEFWax8QALG1SGUIH+qUhk+QMqX8ZBJW +aAGaj8qRB0weLE0j5oIz+SQXc6dW06hUManKodFY1BWXTTj6Il7kQcXBZd9foDNJ +edPHvRhYzET0STmPedwB9X36w7d14UnSiWpi0arwmezsCL8DSAsxHjBKJ8U5suOH +tQYEjOIfYWzsBUY7cC2npFEtGBaybBGr0UfA49wPGte18+hyjF0PvRMWx3g9JL14 +x5rfwMBPOFU6dZK/FMAy5laqtdQCqyKV/00nB0g1l+Stdej8gnvZ2DJl0vQDWpJj +KQLlgNGEyZZfSVFBzas8jVXms0QwmR90JJT7/szqixL0b43bSDqrqWt1LD+qnPma +L/v0wk+xe/c5McMLPjn7CPtOx6CA0aXRye8m8XPelF+4C0Dhp8ThivdCol8cCm13 +tfuT27Wy6SLlqxV3bHUHS0m+N/KNpLm4MO2zPIzyUMb1/tZV7rv7BW8qjk7wvxMu +A2Ot75wkqslizr1HiV/tV3k3VWd2Nvw8Fx54M85mj0CqJ3l3IOwXB68kNt4WrsF+ +jt8+MiLFReViLbISoSV/+KQlR501EnZaACzn9OjJxaTYhN1gIZEojA/zznngHu2x ++nFAJzU/DJSNuBRFn1uvvy/6wM1Yw6N0EaOoz6K4PLRHxYWymSNf1R8hA8SH4d1A +56E4EplHJnXfp3gGhInt +=vzNu +-----END PGP SIGNATURE----- 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/files/pgcedit.png b/media-video/pgcedit/files/pgcedit.png Binary files differnew file mode 100644 index 000000000000..a4c3925f15e6 --- /dev/null +++ b/media-video/pgcedit/files/pgcedit.png 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..eb145b0a2255 --- /dev/null +++ b/media-video/pgcedit/pgcedit-0.8.6.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/pgcedit/pgcedit-0.8.6.ebuild,v 1.1 2012/12/31 00:46:07 vapier Exp $ + +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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="video" + +RDEPEND="app-cdr/cdrtools + >=dev-lang/tcl-8.4 + >=dev-lang/tk-8.4 + 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 "${FILESDIR}"/${PN}.png + make_desktop_entry ${PN} ${MY_PN} ${PN} "AudioVideo;Video;" + + dodoc HISTORY.txt TODO.txt +} |