add files

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@603 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2008-12-08 19:45:37 +00:00
parent 6f340e9462
commit 3ad915487f
21 changed files with 550 additions and 0 deletions

3
app-cdr/k9copy/Manifest Normal file
View File

@@ -0,0 +1,3 @@
AUX k9copy-2.0.2-ffmpeg.patch 2113 RMD160 033d979264d734c280b814635e71a6aa20ffdce8 SHA1 3dd295e7104cb363257e512bebe2f9c260d90520 SHA256 484ce3715aed9cb1e94c767257b0ea5852c2e2fcb1b7a728fd4ec183c3f78d21
DIST k9copy-2.0.2-Source.tar.gz 3381199 RMD160 6250fdb4d38f1f2a778f51e0d4a7986c7a6b809e SHA1 a26879bbb2e913f16cb73451b6076031815c53a8 SHA256 3e220207f765d7a2d0e729c08196c7c466e69970e6492bc76d01d8b54d349160
EBUILD k9copy-2.0.2-r1.ebuild 851 RMD160 706a50e578d92220093f45de98a293136f902276 SHA1 ed779d8f478e5b7dde166b9427b77e424903b189 SHA256 42e9ca7b13025b98400ee9f18ffe56560b6ad45e81d65d647b0afbe6810cecf3

View File

@@ -0,0 +1,59 @@
diff -ur k9copy-2.0.2-Source.orig/CMakeLists.txt k9copy-2.0.2-Source/CMakeLists.txt
--- k9copy-2.0.2-Source.orig/CMakeLists.txt 2008-07-05 07:08:53.000000000 +0100
+++ k9copy-2.0.2-Source/CMakeLists.txt 2008-08-23 15:04:52.000000000 +0100
@@ -94,7 +94,7 @@
CHECK_INCLUDE_FILES(unistd.h HAVE_UNISTD_H) # simapi.h
CHECK_INCLUDE_FILES(malloc.h HAVE_MALLOC_H) # simapi.h
-FINDFFMPEGSCALE("ffmpeg/swscale.h" "swscale")
+FINDFFMPEGSCALE("libswscale/swscale.h" "swscale")
CONFIGURE_FILE(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
@@ -107,7 +107,7 @@
MESSAGE(STATUS "Checking dependencies" )
FINDXINE("xine.h" "xine")
FINDDVDREAD("dvdread/ifo_types.h" "dvdread")
-FINDFFMPEG("ffmpeg/avcodec.h" "avcodec")
+FINDFFMPEG("libavcodec/avcodec.h" "avcodec")
add_definitions( -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS)
diff -ur k9copy-2.0.2-Source.orig/src/import/k9avidecode.cpp k9copy-2.0.2-Source/src/import/k9avidecode.cpp
--- k9copy-2.0.2-Source.orig/src/import/k9avidecode.cpp 2008-07-05 07:08:53.000000000 +0100
+++ k9copy-2.0.2-Source/src/import/k9avidecode.cpp 2008-08-23 15:06:43.000000000 +0100
@@ -10,14 +10,14 @@
//
//
#include "k9avidecode.h"
-#include <ffmpeg/avcodec.h>
+#include <libavcodec/avcodec.h>
#include <qimage.h>
#include <dlfcn.h>
#include <klocale.h>
#include "ac.h"
#ifdef HAVE_SWSCALE
-#include "ffmpeg/swscale.h"
+#include "libswscale/swscale.h"
static int sws_flags = SWS_BICUBIC;
diff -ur k9copy-2.0.2-Source.orig/src/import/k9avidecode.h k9copy-2.0.2-Source/src/import/k9avidecode.h
--- k9copy-2.0.2-Source.orig/src/import/k9avidecode.h 2008-07-05 07:08:53.000000000 +0100
+++ k9copy-2.0.2-Source/src/import/k9avidecode.h 2008-08-23 15:07:00.000000000 +0100
@@ -14,12 +14,12 @@
#include "k9common.h"
#include <qobject.h>
-#include <ffmpeg/avformat.h>
+#include <libavformat/avformat.h>
#include <qimage.h>
#include <cstdlib>
#include <QObject>
#ifdef HAVE_SWSCALE
-#include <ffmpeg/swscale.h>
+#include <libswscale/swscale.h>
#endif
/**
@author Jean-Michel PETIT <k9copy@free.fr>

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
NEED_KDE="4.2"
inherit kde4overlay-base
MY_P="${P/_p/-}"
S="${WORKDIR}/${MY_P}-Source"
DESCRIPTION="k9copy is a DVD backup utility which allows the copy of one or more titles from a DVD9 to a DVD5"
HOMEPAGE="http://k9copy.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}-Source.tar.gz"
LICENSE="GPL-2"
SLOT="4.2"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="media-libs/libdvdread
x11-libs/qt-dbus
sys-apps/hal
media-video/ffmpeg
media-video/mplayer
app-cdr/k3b"
RDEPEND="${DEPEND}
media-libs/xine-lib
media-video/dvdauthor"
PATCHES=("${FILESDIR}/${P}-ffmpeg.patch")
LANGS="ca cs de el es_AR es et fr it nl pl pt_BR ru sr@latin sr tr zh_TW"
for X in ${LANGS}; do
IUSE="${IUSE} linguas_${X}"
done