diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-02-11 16:09:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-02-11 16:09:52 +0000 |
commit | f78108598211053d41752a83e0345441bb9014ae (patch) | |
tree | dd2fc7ae0a1aea7bda4942ab0c453d1e55284b37 /media-video/2mandvd | |
parent | dc45b83b28fb83e9659492066e347b8dc60bc9e3 (diff) |
gentoo resync : 11.02.2018
Diffstat (limited to 'media-video/2mandvd')
-rw-r--r-- | media-video/2mandvd/2mandvd-1.8.5.ebuild | 67 | ||||
-rw-r--r-- | media-video/2mandvd/Manifest | 7 | ||||
-rw-r--r-- | media-video/2mandvd/files/2mandvd-1.7.3-libav.patch | 10 | ||||
-rw-r--r-- | media-video/2mandvd/files/2mandvd-1.8.5-ffmpeg3.patch | 32 | ||||
-rw-r--r-- | media-video/2mandvd/files/2mandvd-1.8.5-gcc6.patch | 21 | ||||
-rw-r--r-- | media-video/2mandvd/files/2mandvd-1.8.5-libavformat54.patch | 27 | ||||
-rw-r--r-- | media-video/2mandvd/metadata.xml | 15 |
7 files changed, 0 insertions, 179 deletions
diff --git a/media-video/2mandvd/2mandvd-1.8.5.ebuild b/media-video/2mandvd/2mandvd-1.8.5.ebuild deleted file mode 100644 index f272c5b4e872..000000000000 --- a/media-video/2mandvd/2mandvd-1.8.5.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -LANGS="cs de en it ru" - -inherit qt4-r2 - -MY_PN="2ManDVD" - -DESCRIPTION="The successor of ManDVD" -HOMEPAGE="http://kde-apps.org/content/show.php?content=99450" -SRC_URI="http://download.tuxfamily.org/${PN}/${MY_PN}-${PV}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="debug libav" - -DEPEND="libav? ( media-video/libav:= ) - !libav? ( media-video/ffmpeg:0= ) - media-libs/libsdl - virtual/glu - virtual/opengl - dev-qt/qtcore:4 - dev-qt/qtgui:4 - dev-qt/qtopengl:4 -" -RDEPEND="${DEPEND} - || ( app-cdr/cdrkit app-cdr/cdrtools ) - dev-lang/perl - media-fonts/dejavu - media-gfx/exif - media-libs/netpbm - media-sound/sox - media-video/dvdauthor - media-video/ffmpegthumbnailer - media-video/mjpegtools - media-video/mplayer[encode] -" - -S=${WORKDIR}/${MY_PN} - -PATCHES=( - "${FILESDIR}/${PN}-1.7.3-libav.patch" - "${FILESDIR}/${PN}-1.8.5-libavformat54.patch" - "${FILESDIR}/${PN}-1.8.5-gcc6.patch" - "${FILESDIR}/${PN}-1.8.5-ffmpeg3.patch" -) - -src_prepare() { - # Clean backup files - find . -name "*~" -delete || die - - # Delete useless chmod that violates the sandbox - sed -i -e '/chmod/d' ${MY_PN}.pro || die - - # Fix desktop file - sed -i -e '/^Categories=/s/GNOME;AudioVideo;//' ${MY_PN}.desktop || die - - qt4-r2_src_prepare -} - -pkg_postinst() { - elog "You may wish to install media-video/xine-ui and/or build" - elog "media-sound/sox with USE=mad for improved media handling support." -} diff --git a/media-video/2mandvd/Manifest b/media-video/2mandvd/Manifest deleted file mode 100644 index 90322dbd92a5..000000000000 --- a/media-video/2mandvd/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX 2mandvd-1.7.3-libav.patch 269 BLAKE2B 61441fd7534b963f04ec3ce0dd0661bf608e61b152512dc8933e36e4481915d63cafc1eff09a809f8001e2f70376dd989ef07d2c2e37543fc983027d9d7fee07 SHA512 fc6d557ee3bf81f388f3f76b57a76364d1c68105d89391eaad74f2a429e1847d97a937c627ca28085dd3e9c12d9b882e0ffa68ffe9ba7b917faa9e952a8de0c5 -AUX 2mandvd-1.8.5-ffmpeg3.patch 1469 BLAKE2B c059c22b3303abb5a34a7d7b4be0290a44aee390e6ab58953a39a67a73680a470b77d0565ea3ea14784f09d67e38efe62b7c7fee616f5b671f18f0bea5f49631 SHA512 369a5eedb48b630b26e786bb1492047d59a76ab2e84c9c21230236253ccbf55ce36f4cc9a0b7aba214d7dcbfe567e183a50cea12b2b146f5a6599bc4d04c905d -AUX 2mandvd-1.8.5-gcc6.patch 531 BLAKE2B 9dde4b57e38c34bc43ba259e6d9f8e136f542c06d333e2663de3de1ffd597011d5e67093311b0111aa5c21703d54499270226862a4c90628a1907587d69d1f05 SHA512 8598d2ba4bdc10bcda46c86749e03647971ed517218ffea1c78d314351a53013ac28fd7755f9640e8601d9f0c360c352507d1a614ee7573cc4f8512f670a7d09 -AUX 2mandvd-1.8.5-libavformat54.patch 819 BLAKE2B 415f614476cba867ded3c148e8e88fc9b00dd96c37fc9476a16d4aec25b910ba69dccd6f906ca0558b1558ec78335ed5c26de79e21cb779dfbc8d38f2adbfcb9 SHA512 ff1500e95646966258890983a37abdd42eb4509d1bb084fd901cc9ab420be1108cb2b7fe3d3db1c92c453c8ae3a2ebc60218fe4994ca7f3fc91feaffcdc23b61 -DIST 2ManDVD-1.8.5.tar.gz 29525071 BLAKE2B 7d1a4f8942fe29e29703ea9a13953f587cd482945676ee85dd8643291c3c680e280b12dbd7fe9eabecf2883251ce4ebede6a66154859ae5f65f7b83d8bbb642f SHA512 1e43034cab310ce0a642afdfcb2b4ddbc47b16b0f353adebd1fd2ec5f8445add41226390c6656e7cb520d9900e1b482adee7adb6f784d2fbfbaff2334feb3284 -EBUILD 2mandvd-1.8.5.ebuild 1482 BLAKE2B 38e560cb330aa86c7029853ae91fba2990ccc48dc659364f5fe220c43449495e3488cda0ddb8d6715a3a704f2bd01efdb92ad0e87f8e401118b8e86cd27ca6c4 SHA512 81377876f32a2ada7f81731dbf6f9d0d93a6e0e3b23bff50b0da4498de229d8b1e8ec4bb156a78818b55dbbc26cf150ed28919d1bb2cc3ec7e653517575bac2a -MISC metadata.xml 488 BLAKE2B 53a04b2d5e86186f120e6976cb1997057bf1d5c2e03cbd87e1b5da3ffed2b610ffe5dcf195703a6005d3e90f8703b6c84be124ff8e3de94c5a1d5f39b3491bcf SHA512 dae3fe802d60f26713643abbdf7fdbcb42abf1d188c0a4160aae5fc10cb3dda72b32a63148f7946b38b57c73af756b1ad2ac78757077e1e74a168e6a5fa708a5 diff --git a/media-video/2mandvd/files/2mandvd-1.7.3-libav.patch b/media-video/2mandvd/files/2mandvd-1.7.3-libav.patch deleted file mode 100644 index 59dfd1e33a1e..000000000000 --- a/media-video/2mandvd/files/2mandvd-1.7.3-libav.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- videowrapper.h -+++ videowrapper.h -@@ -11,6 +11,7 @@ - #include <libavutil/common.h> - #include <libavcodec/avcodec.h> - #include <libavformat/avformat.h> -+ #include <libavutil/mathematics.h> - #include <libswscale/swscale.h> - } - diff --git a/media-video/2mandvd/files/2mandvd-1.8.5-ffmpeg3.patch b/media-video/2mandvd/files/2mandvd-1.8.5-ffmpeg3.patch deleted file mode 100644 index 29ffc95ffa82..000000000000 --- a/media-video/2mandvd/files/2mandvd-1.8.5-ffmpeg3.patch +++ /dev/null @@ -1,32 +0,0 @@ -Index: 2ManDVD/videowrapper.cpp -=================================================================== ---- 2ManDVD.orig/videowrapper.cpp -+++ 2ManDVD/videowrapper.cpp -@@ -99,11 +99,11 @@ int videowrapper::load_video(QString fil - - img_convert_ctx = sws_getContext(pCodecCtx->width, - pCodecCtx->height, pCodecCtx->pix_fmt, pCodecCtx->width, -- pCodecCtx->height, PIX_FMT_RGB24, SWS_BICUBIC, NULL, -+ pCodecCtx->height, AV_PIX_FMT_RGB24, SWS_BICUBIC, NULL, - NULL, NULL); - - // *** ON DETERMINE LA TAILLE DU BUFFER *** -- numBytes=avpicture_get_size(PIX_FMT_RGB24, pCodecCtx->width, -+ numBytes=avpicture_get_size(AV_PIX_FMT_RGB24, pCodecCtx->width, - pCodecCtx->height); - buffer=(uint8_t *)av_malloc(numBytes*sizeof(uint8_t)); - old_frame = -1; -@@ -120,10 +120,10 @@ QImage videowrapper::read_frame(int64_t - if ( num_frame != old_frame ) - { - // *** ALLOCATE VIDEO FRAME *** -- pFrameRGB=avcodec_alloc_frame(); -- pFrame=avcodec_alloc_frame(); -+ pFrameRGB=av_frame_alloc(); -+ pFrame=av_frame_alloc(); - -- avpicture_fill((AVPicture *)pFrameRGB, buffer, PIX_FMT_RGB24, -+ avpicture_fill((AVPicture *)pFrameRGB, buffer, AV_PIX_FMT_RGB24, - pCodecCtx->width, pCodecCtx->height); - av_seek_frame(pFormatCtx,videoStream,0, AVSEEK_FLAG_FRAME); - compte_frame = -1; diff --git a/media-video/2mandvd/files/2mandvd-1.8.5-gcc6.patch b/media-video/2mandvd/files/2mandvd-1.8.5-gcc6.patch deleted file mode 100644 index 5a16d95ef17f..000000000000 --- a/media-video/2mandvd/files/2mandvd-1.8.5-gcc6.patch +++ /dev/null @@ -1,21 +0,0 @@ -Index: 2ManDVD/tetrahedron.h -=================================================================== ---- 2ManDVD.orig/tetrahedron.h -+++ 2ManDVD/tetrahedron.h -@@ -83,7 +83,6 @@ public: - float scale_factor; - float wg_x; - float wdecal; -- GLfloat light_position[]; - - GLfloat anag_x; - GLfloat anag_y; -@@ -427,6 +426,8 @@ private: - void dropEvent(QDropEvent *); - void dragEnterEvent(QDragEnterEvent *); - Qt::DropActions supportedDropActions () const; -+public: -+ GLfloat light_position[]; - }; - - #endif diff --git a/media-video/2mandvd/files/2mandvd-1.8.5-libavformat54.patch b/media-video/2mandvd/files/2mandvd-1.8.5-libavformat54.patch deleted file mode 100644 index 89ecc4d23c60..000000000000 --- a/media-video/2mandvd/files/2mandvd-1.8.5-libavformat54.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/videowrapper.cpp b/videowrapper.cpp -index 7ae4ad3..d50599b 100644 ---- a/videowrapper.cpp -+++ b/videowrapper.cpp -@@ -38,7 +38,7 @@ void videowrapper::delete_videowrapper() - int videowrapper::load_video(QString filename) - { - // *** OUVERTURE DU FICHIER VIDEO *** -- #ifdef avformat_open_input -+ #if LIBAVFORMAT_VERSION_INT > AV_VERSION_INT(53,5,0) - if (avformat_open_input(&pFormatCtx,filename.toAscii().data(),NULL,NULL)!=0) - { - #else -@@ -91,13 +91,8 @@ int videowrapper::load_video(QString filename) - - // *** OUVERTURE DU CODEC *** - -- #ifdef av_find_stream_info -- if(avcodec_open(pCodecCtx, pCodec)<0) -- { -- #else - if (avcodec_open2(pCodecCtx, pCodec, NULL) < 0) - { -- #endif - qDebug() << "CAN'T FIND VIDEO CODEC"; - return 1; - } diff --git a/media-video/2mandvd/metadata.xml b/media-video/2mandvd/metadata.xml deleted file mode 100644 index 21d7a2254405..000000000000 --- a/media-video/2mandvd/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>qt@gentoo.org</email> - <name>Gentoo Qt Project</name> -</maintainer> -<use> - <flag name="linguas_cs">Czech locale</flag> - <flag name="linguas_de">German locale</flag> - <flag name="linguas_en">English locale</flag> - <flag name="linguas_it">Italian locale</flag> - <flag name="linguas_ru">Russian locale</flag> -</use> -</pkgmetadata> |