Bug 139986 - media-video/devede-2.1 (new ebuild)
|
Bug#:
139986
|
Product: Gentoo Linux
|
Version: 2005.1
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: maintainer-wanted@gentoo.org
|
Reported By: t0nik@ya.ru
|
|
Component: Ebuilds
|
|
|
URL:
http://www.rastersoft.com/programas/devede.html
|
|
Summary: media-video/devede-2.1 (new ebuild)
|
|
Keywords: EBUILD
|
|
Status Whiteboard:
|
|
Opened: 2006-07-11 05:22 0000
|
I cannot post 'emerge --info' right now.
My arch is ~amd64.
This ebuild works for me.
======8<===========================================================
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="DVD Video Creator"
HOMEPAGE="http://www.rastersoft.com/programas/devede.html"
SRC_URI="http://www.rastersoft.com/descargas/${PN}${PV/\.}.tar.bz2"
LICENSE="GPL"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="nls doc"
RDEPEND=">=x11-libs/gtk+-2.4
>=dev-lang/python-2.4
dev-util/glade
dev-python/pygtk
media-video/mplayer
media-video/dvdauthor
media-video/vcdimager
app-cdr/cdrtools"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${PN}
src_install() {
newbin ${S}/devede.py devede
if use nls; then
insinto /usr/share/locale/es/LC_MESSAGES
newins ${S}/po/es.mo devede.mo
insinto /usr/share/locale/gl/LC_MESSAGES
newins ${S}/po/gl.mo devede.mo
fi
insinto /usr/share/applications
doins ${S}/${PN}.desktop
insinto /usr/share/pixmaps
doins ${S}/${PN}.png
insinto /usr/share/${PN}
doins ${S}/${PN}.glade
insinto /usr/share/${PN}
doins ${S}/pixmaps/*
if use doc; then
insinto /usr/share/doc/${P}/html
dohtml ${S}/docs/*
fi
}
===============8<==========================================
Please, use attachments, don't paste ebuilds inline.
Sorry for pasting ebuild:(
I've attached devede-2.1.ebuild & 'emerge --info'
The dependency "dev-util/glade" is not necessary, libglade support is within
pygtk and glade is a different thing (the application to design gui interfaces)
which is irrelevant to devede. I emerged the ebuild (with the superflous
dependency removed) and works well here in ~x86.
Thanks Dmitry for the ebuild, I was looking for it :). I'm going to attach the
ebuild with that dependency removed.
OK. Thanks for advice. I've removed also '>=x11-libs/gtk+-2.4' - it's
dependency for 'pygtk'. New ebuild will be attached.
DeVeDe 2.2 is out and it installed just fine on my system.
I have used the 2.1 ebuild without changes.
Thanks Krzysztof!, the ebuild emerged perfectly. This should be in Portage.
2.11 is now out. Renaming the ebuild worked here. Emerges without any errors.
Be glad to see this in portage.
Created an attachment (id=110970) [details]
devede-2.11.ebuild
updated ebuild, various cosmetic fixes
- license version specified
- removed dev-util/glade dep as it seems not to be needed
- added nls selection through linguas variable
Created an attachment (id=111546) [details]
devede-2.12.ebuild
Version bump to 2.12
- Added french translation. (and portuguese as well)
- Fixed some issues with non-UTF8 systems
- Now depend on virtual/cdrtools
devede 2.13 was just released with the following changelog.
# Added creation of MPEG4/DIVX files.
# Added swedish and slovak translations.
# Fixed some issues with translations (thanks to Marco de Freitas)
Created an attachment (id=117875) [details]
devede-2.13-r1.ebuild
cosmetic ebuild fixes only
- changed some LINGUAS variables to more common values
- moved entries in DEPEND to RDEPEND
- updated elog message in regard of new mplayer USE flag handling
blah@blah ~ $ devede
Psyco not installed, the program will just run slower
...
what about a psyco USE flag?
blah@blah ~ $ euse -i psyco
global use flags (searching: psyco)
************************************************************
no matching entries found
local use flags (searching: psyco)
************************************************************
[- ] psyco (games-arcade/triplexinvaders):
psyco python accelerator
[- ] psyco (games-rpg/galaxymage):
psyco python accelerator
[- ] psyco (net-print/pkpgcounter):
psyco python accelerator
Thanks everyone. I've added 2.13 to Portage few minutes ago.
Simplyfied it a lot.. nicer to maintain.
src_unpack() {
unpack ${A}
sed -i -e 's:usr/local:usr:g' "${S}"/install.sh
}
src_install() {
./install.sh DESTDIR="${D}" || die "install.sh failed."
rm -rf "${D}"/usr/share/doc/devede
use doc && dohtml docs/*
}
Actually :)
src_install() {
DESTDIR="${D}" ./install.sh || die "install.sh failed."
rm -rf "${D}"/usr/share/doc/devede
use doc && dohtml docs/*
}
Since install.sh takes DESTDIR as variable.. no need for src_unpack hack.