Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121666 - Ksubtitleripper - new ebuild
Summary: Ksubtitleripper - new ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://ksubtitleripper.berlios.de
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-02-05 07:55 UTC by Milos Popovic
Modified: 2008-04-11 20:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ksubtitleripper-0.3.1.ebuild (ksubtitleripper-0.3.1.ebuild,574 bytes, text/plain)
2006-02-06 10:29 UTC, Milos Popovic
Details
0.3.1-menu1-gentoo.diff (0.3.1-menu1-gentoo.diff,349 bytes, patch)
2006-02-06 10:30 UTC, Milos Popovic
Details | Diff
0.3.1-menu2-gentoo.diff (0.3.1-menu2-gentoo.diff,367 bytes, patch)
2006-02-06 10:33 UTC, Milos Popovic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Milos Popovic 2006-02-05 07:55:25 UTC
I have written an ebuild for ksubtitleripper with a patch, and it works vrty well for now, if possibile to make it in portage:

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit kde

DESCRIPTION="Utility to extract subtitles from VOB in SRT format."
HOMEPAGE="http://ksubtitleripper.berlios.de/"
SRC_URI="http://download.berlios.de/ksubtitleripper/${P}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=""
RDEPEND="media-video/subtitleripper"

RESTRICT="nomirror"

need-kde 3

src_unpack() {
        unpack ${A}
        cd ${S}

        epatch ${FILESDIR}/${PV}-applnk1.patch
        epatch ${FILESDIR}/${PV}-applnk2.patch
}


Here are the patches, file 0.3.1-applnk1.patch:
--- src/Makefile.in.orig
+++ src/Makefile.in
@@ -290,1 +290,1 @@
-kdelnkdir = $(kde_appsdir)/Utilities
+kdelnkdir = /usr/share/applications

and file 0.3.1-applnk2.patch:
--- src/ksubtitleripper.desktop.orig
+++ src/ksubtitleripper.desktop
@@ -10,1 +10,2 @@
-Terminal=0
+Terminal=0
+Categories=Application;AudioVideo;Multimedia;
Comment 1 Milos Popovic 2006-02-06 10:29:29 UTC
Created attachment 79043 [details]
ksubtitleripper-0.3.1.ebuild

This is ebuild posted in attach as in my coment. Patches are changed and fixed.
Comment 2 Milos Popovic 2006-02-06 10:30:47 UTC
Created attachment 79044 [details, diff]
0.3.1-menu1-gentoo.diff
Comment 3 Milos Popovic 2006-02-06 10:33:12 UTC
Created attachment 79045 [details, diff]
0.3.1-menu2-gentoo.diff
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2008-04-11 20:19:00 UTC
Added to the tree. Thanks for your contribution.