summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2012-07-26 15:16:58 +0800
committerBen de Groot <yngwin@gentoo.org>2012-07-26 15:16:58 +0800
commitb61b770dbc56aba69249fb8e8be1af210ba043f4 (patch)
treef006cc96b6add7e4b3aabadc4806ca2051de7471
parentapp-text/goldendict: rm since changes applied in gx86 (diff)
downloadyngwin-b61b770dbc56aba69249fb8e8be1af210ba043f4.tar.gz
yngwin-b61b770dbc56aba69249fb8e8be1af210ba043f4.tar.bz2
yngwin-b61b770dbc56aba69249fb8e8be1af210ba043f4.zip
media-video/smplayer: rm since changes applied in gx86
-rw-r--r--media-video/smplayer/Manifest1
-rw-r--r--media-video/smplayer/files/smplayer-0.8.0-quazip.patch90
-rw-r--r--media-video/smplayer/metadata.xml6
-rw-r--r--media-video/smplayer/smplayer-0.8.0-r10.ebuild86
4 files changed, 0 insertions, 183 deletions
diff --git a/media-video/smplayer/Manifest b/media-video/smplayer/Manifest
deleted file mode 100644
index ea14125..0000000
--- a/media-video/smplayer/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST smplayer-0.8.0.tar.bz2 2815007 SHA256 208ad155da3bbcb3924549c7ba81aa7280b59adfdb92adbec5ac7ebc2944576f SHA512 471dd55cce745b89a1d00d823da64bd23881a2b1e45e49b8578323aa3562de8592ed929f166b2b81fd6eefcb71f41144cf7a3678772198414d716b89f75c1bda WHIRLPOOL 7ac387622afc79ca401db981d396801c4a69fd6daa576f31cd18f7910336c0a28f908c22a02dabb043c61568b76ce0ccd21d767ff63a50369c5a420f6b4212bf
diff --git a/media-video/smplayer/files/smplayer-0.8.0-quazip.patch b/media-video/smplayer/files/smplayer-0.8.0-quazip.patch
deleted file mode 100644
index 18ff7f8..0000000
--- a/media-video/smplayer/files/smplayer-0.8.0-quazip.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-diff -burN ./smplayer-0.8.0.orig/src/findsubtitles/findsubtitles.pro ./smplayer-0.8.0/src/findsubtitles/findsubtitles.pro
---- ./smplayer-0.8.0.orig/src/findsubtitles/findsubtitles.pro 2012-03-31 20:46:16.000000000 +0800
-+++ ./smplayer-0.8.0/src/findsubtitles/findsubtitles.pro 2012-04-07 15:27:47.114937446 +0800
-@@ -34,31 +34,15 @@
- DEFINES += NO_SMPLAYER_SUPPORT DOWNLOAD_SUBS
-
- contains( DEFINES, DOWNLOAD_SUBS ) {
-- INCLUDEPATH += filedownloader quazip
-- DEPENDPATH += filedownloader quazip
-+ INCLUDEPATH += filedownloader
-+ DEPENDPATH += filedownloader
-
- HEADERS += filedownloader.h subchooserdialog.h
- SOURCES += filedownloader.cpp subchooserdialog.cpp
-
- FORMS += subchooserdialog.ui
-
-- HEADERS += crypt.h \
-- ioapi.h \
-- quazip.h \
-- quazipfile.h \
-- quazipfileinfo.h \
-- quazipnewinfo.h \
-- unzip.h \
-- zip.h
--
-- SOURCES += ioapi.c \
-- quazip.cpp \
-- quazipfile.cpp \
-- quazipnewinfo.cpp \
-- unzip.c \
-- zip.c
--
-- LIBS += -lz
-+ LIBS += -lquazip -lz
-
- win32 {
- INCLUDEPATH += c:\development\zlib-1.2.3
-diff -burN ./smplayer-0.8.0.orig/src/findsubtitles/findsubtitleswindow.cpp ./smplayer-0.8.0/src/findsubtitles/findsubtitleswindow.cpp
---- ./smplayer-0.8.0.orig/src/findsubtitles/findsubtitleswindow.cpp 2012-04-02 16:55:25.000000000 +0800
-+++ ./smplayer-0.8.0/src/findsubtitles/findsubtitleswindow.cpp 2012-04-07 15:25:41.809593788 +0800
-@@ -37,8 +37,8 @@
- #ifdef DOWNLOAD_SUBS
- #include "filedownloader.h"
- #include "subchooserdialog.h"
--#include "quazip.h"
--#include "quazipfile.h"
-+#include <quazip/quazip.h>
-+#include <quazip/quazipfile.h>
- #include "fixsubs.h"
- #include <QTemporaryFile>
- #include <QBuffer>
-diff -burN ./smplayer-0.8.0.orig/src/smplayer.pro ./smplayer-0.8.0/src/smplayer.pro
---- ./smplayer-0.8.0.orig/src/smplayer.pro 2012-04-02 17:09:38.000000000 +0800
-+++ ./smplayer-0.8.0/src/smplayer.pro 2012-04-07 15:22:53.440501860 +0800
-@@ -258,31 +258,15 @@
-
- # Download subtitles
- contains( DEFINES, DOWNLOAD_SUBS ) {
-- INCLUDEPATH += findsubtitles/filedownloader findsubtitles/quazip
-- DEPENDPATH += findsubtitles/filedownloader findsubtitles/quazip
-+ INCLUDEPATH += findsubtitles/filedownloader
-+ DEPENDPATH += findsubtitles/filedownloader
-
- HEADERS += filedownloader.h subchooserdialog.h fixsubs.h
- SOURCES += filedownloader.cpp subchooserdialog.cpp fixsubs.cpp
-
- FORMS += subchooserdialog.ui
-
-- HEADERS += crypt.h \
-- ioapi.h \
-- quazip.h \
-- quazipfile.h \
-- quazipfileinfo.h \
-- quazipnewinfo.h \
-- unzip.h \
-- zip.h
--
-- SOURCES += ioapi.c \
-- quazip.cpp \
-- quazipfile.cpp \
-- quazipnewinfo.cpp \
-- unzip.c \
-- zip.c
--
-- LIBS += -lz
-+ LIBS += -lquazip -lz
-
- win32 {
- INCLUDEPATH += ..\\zlib-1.2.6
diff --git a/media-video/smplayer/metadata.xml b/media-video/smplayer/metadata.xml
deleted file mode 100644
index 8267a26..0000000
--- a/media-video/smplayer/metadata.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>qt</herd>
-<herd>video</herd>
-</pkgmetadata>
diff --git a/media-video/smplayer/smplayer-0.8.0-r10.ebuild b/media-video/smplayer/smplayer-0.8.0-r10.ebuild
deleted file mode 100644
index 284e421..0000000
--- a/media-video/smplayer/smplayer-0.8.0-r10.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-0.8.0.ebuild,v 1.6 2012/06/17 05:46:17 yngwin Exp $
-
-EAPI=4
-PLOCALES="ar_SY bg ca cs da de el_GR en_US es et eu fi fr gl hr hu it ja ka ko
-ku lt mk nl pl pt pt_BR ro_RO ru_RU sk sl_SI sr sv tr uk_UA vi_VN zh_CN zh_TW"
-PLOCALE_BACKUP="en_US"
-
-inherit eutils l10n qt4-r2
-
-MY_PV=${PV##*_p}
-if [[ "${MY_PV}" != "${PV}" ]]; then
- # svn snapshot
- MY_PV=r${MY_PV}
- MY_P=${PN}-${MY_PV}
- S="${WORKDIR}/${MY_P}"
- SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
-else
- # regular upstream release
- SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-fi
-
-DESCRIPTION="Great Qt4 GUI front-end for mplayer"
-HOMEPAGE="http://smplayer.sourceforge.net/"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~x86 ~x86-fbsd"
-IUSE="debug"
-
-DEPEND="x11-libs/qt-gui:4
- dev-libs/quazip"
-MPLAYER_USE="[libass,png,X]"
-RDEPEND="${DEPEND}
- || ( media-video/mplayer${MPLAYER_USE} media-video/mplayer2${MPLAYER_USE} )"
-
-src_prepare() {
- # Unbundle dev-libs/quazip
- rm -R src/findsubtitles/quazip/ || die
- epatch "${FILESDIR}"/${PN}-0.8.0-quazip.patch
-
- # Upstream Makefile sucks
- sed -i -e "/^PREFIX=/s:/usr/local:/usr:" \
- -e "/^DOC_PATH=/s:packages/smplayer:${PF}:" \
- -e '/\.\/get_svn_revision\.sh/,+2c\
- cd src && $(DEFS) $(MAKE)' \
- "${S}"/Makefile || die "sed failed"
-
- # Turn debug message flooding off
- if ! use debug ; then
- sed -i 's:#\(DEFINES += NO_DEBUG_ON_CONSOLE\):\1:' \
- "${S}"/src/smplayer.pro || die "sed failed"
- fi
-
- l10n_find_plocales_changes "${S}/src/translations" "${PN}_" '.ts'
-}
-
-src_configure() {
- cd "${S}"/src
- echo "#define SVN_REVISION \"SVN-${MY_PV} (Gentoo)\"" > svn_revision.h
- eqmake4
-}
-
-gen_translation() {
- ebegin "Generating $1 translation"
- lrelease ${PN}_${1}.ts
- eend $? || die "failed to generate $1 translation"
-}
-
-src_compile() {
- emake
-
- cd "${S}"/src/translations
- l10n_for_each_locale_do gen_translation
-}
-
-src_install() {
- # remove unneeded copies of GPL
- rm -f Copying.txt docs/{cs,en,hu,it,ja,pt,ru,zh_CN}/gpl.html || die
- rm -rf docs/{de,es,nl,ro} || die
-
- # remove windows-only files
- rm "${S}"/*.bat || die
-
- emake DESTDIR="${D}" install
-}