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

8
app-cdr/k3b/ChangeLog Normal file
View File

@@ -0,0 +1,8 @@
# ChangeLog for app-cdr/k3b
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
31 May 2008; Patrick Lauer ( bugs at dev.gentooexperimental.org )
ChangeLog:
Recovering Changelogs

4
app-cdr/k3b/Manifest Normal file
View File

@@ -0,0 +1,4 @@
AUX k3b-2.0_pre20080808-ffmpeg-1.patch 1461 RMD160 3b84f493f4e497ea3404b23319864f25942e85f2 SHA1 edcd9d0e6d6887c0b919b50c09675973dfeddffb SHA256 8a803ffad28d037d5cc60a4e43c48ccce52a09dd8e0b16142c66ba0f1bb5628d
EBUILD k3b-2.0_pre20081104.ebuild 3440 RMD160 8bce54207e50524eb4b02b4a8a035191d6cecb35 SHA1 f95d9290c9f183a0ca8e646c10db9a836c0c89f8 SHA256 9ca58a87628137547498d337f79209d65b6348caaa80471c951656843285e1e1
MISC ChangeLog 218 RMD160 5cc9c9332ec250afdd95e3cea6aca12f7ba86b16 SHA1 84aaaf54c22b0520bba6c81c0a34e4b41df155a4 SHA256 40a03f7313470fdcdcc6dcb342a6fe06fb856854831da16fde2be7bc962f8640
MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a

View File

@@ -0,0 +1,39 @@
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2008-08-25
Initial Package Version: 2.0 pre
Origin: me
Upstream Status: unknown
Description: correct ffmpeg location
diff -Naur k3b-2.0_pre20080808.orig/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp k3b-2.0_pre20080808/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp
--- k3b-2.0_pre20080808.orig/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp 2008-08-25 11:51:38.000000000 +0000
+++ k3b-2.0_pre20080808/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp 2008-08-25 11:52:00.000000000 +0000
@@ -21,8 +21,8 @@
#include <kdebug.h>
extern "C" {
-#include <ffmpeg/avcodec.h>
-//#include <libavcodec/avcodec.h>
+// #include <ffmpeg/avcodec.h>
+#include <libavcodec/avcodec.h>
}
#include <math.h>
diff -Naur k3b-2.0_pre20080808.orig/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp k3b-2.0_pre20080808/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp
--- k3b-2.0_pre20080808.orig/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp 2008-08-25 11:51:38.000000000 +0000
+++ k3b-2.0_pre20080808/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp 2008-08-25 11:52:22.000000000 +0000
@@ -17,10 +17,10 @@
#include <config-k3b.h>
extern "C" {
-#include <ffmpeg/avcodec.h>
-#include <ffmpeg/avformat.h>
-// #include <libavcodec/avcodec.h>
-// #include <libavformat/avformat.h>
+// #include <ffmpeg/avcodec.h>
+// #include <ffmpeg/avformat.h>
+#include <libavcodec/avcodec.h>
+#include <libavformat/avformat.h>
}
#include <string.h>

View File

@@ -0,0 +1,119 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
KMNAME="extragear/multimedia"
#NEED_KDE="4.2"
inherit kde4-base subversion
# Set prefix to KDEDIR to slot the package.
PREFIX="${KDEDIR}"
DESCRIPTION="K3b, KDE CD Writing Software"
HOMEPAGE="http://www.k3b.org/"
LICENSE="GPL-2"
SLOT="4.2"
KEYWORDS=""
IUSE="css debug dvdr dvdread encode -ffmpeg flac hal htmlhandbook mp3 musepack
sndfile vcd vorbis emovix"
ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/extragear/multimedia/${PN}/@{${PV/2.0_pre/}}"
# FIXME: Needed?
# app-doc/doxygen
#find_package(Doxygen)
#laurent: removes this line when Doxyfile.cmake will add to svn
#set(DOXYGEN_EXECUTABLE FALSE)
#if(DOXYGEN_EXECUTABLE)
DEPEND="
kde-base/libkcddb:${SLOT}
kde-base/libkcompactdisc:${SLOT}
media-libs/libsamplerate
media-libs/musicbrainz:1
media-libs/taglib
x11-libs/qt-webkit:4
dvdread? ( media-libs/libdvdread )
encode? ( media-sound/lame )
ffmpeg? ( media-video/ffmpeg )
flac? ( >=media-libs/flac-1.2.1-r2 )
mp3? ( media-libs/libmad )
musepack? ( media-libs/libmpcdec )
sndfile? ( media-libs/libsndfile )
vorbis? ( media-libs/libvorbis )
"
RDEPEND="${DEPEND}
>=app-cdr/cdrdao-1.1.7-r3
>=media-sound/cdparanoia-3.9.8
media-sound/normalize
virtual/cdrtools
css? ( media-libs/libdvdcss )
dvdr? ( >=app-cdr/dvd+rw-tools-7.0 )
emovix? ( media-video/emovix )
encode? ( media-sound/sox
dvdread? ( media-video/transcode ) )
vcd? ( media-video/vcdimager )
"
pkg_setup() {
use ffmpeg && ewarn "FFMpeg seems to be badly broken in this snapshot. Use it at your own risk!"
if use flac && ! built_with_use media-libs/flac cxx ; then
eerror "In order to build "
eerror "you need media-libs/flac built with cxx USE flag enabled."
die "no cxx support in flac"
fi
if use encode && use dvdread && ! built_with_use media-video/transcode dvdread ; then
eerror "In order to build "
eerror "you need media-video/transcode built with dvdread USE flag"
die "no dvdread support in transcode"
fi
}
src_compile() {
# epatch "${FILESDIR}"/k3b-2.0_pre20080808-ffmpeg-1.patch
if use debug; then
mycmakeargs="${mycmakeargs} -DADD_K3B_DEBUG=On"
else
mycmakeargs="${mycmakeargs} -DADD_K3B_DEBUG=Off"
fi
mycmakeargs="${mycmakeargs} -DK3BSETUP_BUILD=Off
-DWITH_Samplerate=On
$(cmake-utils_use_with dvdread DvdRead)
$(cmake-utils_use_with ffmpeg FFmpeg)
$(cmake-utils_use_with flac Flac)
$(cmake-utils_use_with flac Flac++)
$(cmake-utils_use_with encode Lame)
$(cmake-utils_use_with mp3 Mad)
$(cmake-utils_use_with musepack Muse)
$(cmake-utils_use_with sndfile Sndfile)
$(cmake-utils_use_with vorbis OggVorbis)"
# Build process of K3b
kde4-base_src_compile
}
src_install() {
kde4-base_src_install
dodoc "${S}"/{FAQ,KNOWNBUGS,PERMISSIONS} || die "Installing additional docs failed."
# dodoc "${S}"/${PN}/{FAQ,KNOWNBUGS,PERMISSIONS} || die "Installing additional docs failed."
}
pkg_postinst() {
echo
elog "We don't install k3bsetup anymore because Gentoo doesn't need it."
elog "If you get warnings on start-up, uncheck the \"Check system"
elog "configuration\" option in the \"Misc\" settings window."
echo
local group=cdrom
use kernel_linux || group=operator
elog "Make sure you have proper read/write permissions on the cdrom device(s)."
elog "Usually, it is sufficient to be in the ${group} group."
echo
kde4-base_pkg_postinst
}

5
app-cdr/k3b/metadata.xml Normal file
View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>kde</herd>
</pkgmetadata>

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