* [gentoo-commits] gentoo-x86 commit in media-video/2mandvd: 2mandvd-1.8.1.ebuild ChangeLog
@ 2012-06-03 21:08 Markos Chandras (hwoarang)
0 siblings, 0 replies; only message in thread
From: Markos Chandras (hwoarang) @ 2012-06-03 21:08 UTC (permalink / raw
To: gentoo-commits
hwoarang 12/06/03 21:08:57
Modified: ChangeLog
Added: 2mandvd-1.8.1.ebuild
Log:
Version bump
(Portage version: 2.1.10.64/cvs/Linux x86_64)
Revision Changes Path
1.24 media-video/2mandvd/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/ChangeLog?rev=1.24&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/ChangeLog?rev=1.24&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/ChangeLog?r1=1.23&r2=1.24
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/2mandvd/ChangeLog,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ChangeLog 15 Apr 2012 17:08:27 -0000 1.23
+++ ChangeLog 3 Jun 2012 21:08:57 -0000 1.24
@@ -1,6 +1,11 @@
# ChangeLog for media-video/2mandvd
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/2mandvd/ChangeLog,v 1.23 2012/04/15 17:08:27 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/2mandvd/ChangeLog,v 1.24 2012/06/03 21:08:57 hwoarang Exp $
+
+*2mandvd-1.8.1 (03 Jun 2012)
+
+ 03 Jun 2012; Markos Chandras <hwoarang@gentoo.org> +2mandvd-1.8.1.ebuild:
+ Version bump
15 Apr 2012; Johannes Huber <johu@gentoo.org> -2mandvd-1.3.5.ebuild,
-2mandvd-1.5.5.ebuild, -files/2mandvd-fix-const-char-concatenation.old.patch:
1.1 media-video/2mandvd/2mandvd-1.8.1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/2mandvd-1.8.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/2mandvd-1.8.1.ebuild?rev=1.1&content-type=text/plain
Index: 2mandvd-1.8.1.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/2mandvd/2mandvd-1.8.1.ebuild,v 1.1 2012/06/03 21:08:57 hwoarang Exp $
EAPI=4
LANGS="cs de en it ru"
inherit eutils 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}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
DEPEND="media-libs/libsdl
virtual/ffmpeg
virtual/glu
virtual/opengl
x11-libs/qt-core:4
x11-libs/qt-gui:4
x11-libs/qt-opengl: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}-fix-const-char-concatenation.patch"
"${FILESDIR}/${PN}-1.7.3-libav.patch"
)
src_prepare() {
# Cleaning old backup files
find . -name "*~" -delete || die
for file in *.cpp; do
# Fix path
sed -e "s:qApp->applicationDirPath().\?+.\?\":\"/usr/share/${PN}:g" -i "${file}" || die "sed failed"
sed -e "s:qApp->applicationDirPath():\"/usr/share/${PN}/\":g" -i "${file}" || die "sed failed"
done
# We'll make a newbin called ${PN} so we need to change references to the old "2ManDVD" (${MY_PN}).
# Sed is more flexible than a patch.
sed -e "s:openargument.right(${#MY_PN}) != \"${MY_PN}\":openargument.right(${#PN}) != \"${PN}\":" \
-e "s:openargument.right($(( ${#MY_PN} + 2 ))) != \"./${MY_PN}\":openargument.right($(( ${#PN} + 2 ))) != \"./${PN}\":" \
-i mainfrm.cpp || die "sed failed"
qt4-r2_src_prepare
}
src_install() {
insinto /usr/share/${PN}
# Data:
doins -r Bibliotheque
doins -r Interface
doins fake.pl
# Translations:
for lang in ${LINGUAS}; do
for x in ${LANGS}; do
[[ ${lang} == ${x} ]] && doins ${PN}_${x}.qm
done
done
[[ -z ${LINGUAS} ]] && doins ${PN}_en.qm
# Doc:
dodoc README.txt
# Bin and menu entry:
newbin 2ManDVD ${PN}
doicon Interface/mandvd.png
make_desktop_entry ${PN} ${MY_PN} mandvd "Qt;AudioVideo;Video"
}
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."
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-06-03 21:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-03 21:08 [gentoo-commits] gentoo-x86 commit in media-video/2mandvd: 2mandvd-1.8.1.ebuild ChangeLog Markos Chandras (hwoarang)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox