Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wine-doors live svn ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Thu Jul 24, 2008 5:37 pm    Post subject: wine-doors live svn ebuild Reply with quote

With the only ebuild outdated now, and their website saying that the package database most likely wont work with older releases heres a basic live svn ebuild. Its entirely based on the 0.1.2 ebuild in bugzilla, hopefully the dependencies haven't changed, ive not noticed any problems so far, but as always with a live ebuild YMMV depending on the state of their repository.

Add the ebuild to your local overlay in app-emulation/wine-doors

Code:

# Copyright 2007 Sabayon Linux
# Distributed under the terms of the GNU General Public License v2

inherit distutils subversion

MY_PV=${PV/_/}
DESCRIPTION="Wine-doors is an application designed to make installing windows software on Linux, Solaris or other Unix systems easier."
HOMEPAGE="http://www.wine-doors.org"
#SRC_URI="http://www.wine-doors.org/releases/${PN}-${MY_PV}.tar.gz"
ESVN_REPO_URI="http://www.wine-doors.org/svn/wine-doors/trunk"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
S=${WORKDIR}/${PN}-${MY_PV}

RDEPEND="
        >=dev-lang/python-2.4.0
        >=dev-python/pycairo-1.2.0
        >=x11-libs/cairo-1.2.0
        >=dev-python/gnome-python-desktop-2.16.0
        app-arch/cabextract
        app-arch/unzip
        app-arch/zip
        app-arch/gzip
        app-arch/bzip2
        app-arch/tar
        >=dev-util/glade-3.2.0
        dev-libs/libxml2
        app-pda/orange
        app-emulation/wine
        "

DEPEND="${RDEPEND}"

pkg_setup() {

        #if ! built_with_use dev-util/glade python ; then
        #error "${PN} needs dev-util/glade compiled with USE=\"python\""
        #       die "wine-doors needs dev-util/glade compiled with Python support"
        #fi

        if ! built_with_use dev-libs/libxml2 python ; then
                error "${PN} needs dev-libs/libxml2 compiled with USE=\"python\""
                die "wine-doors needs dev-libs/libxml2 compiled with Python support"
        fi

}

src_compile() {
        einfo "nothing to compile"
}

src_install() {
        cd ${S}
        distutils_src_install --temp="${D}"
        dodir /etc/wine-doors

}
pkg_postinst() {
elog
elog "NOTICE"
elog "If you recieve an error message about"
elog "/.wine-doors/packlists/System Base.xml"
elog
elog "~/.wine/wine-doors/preferences.xml have changed"
elog "from previous versions  Delete the existing"
elog "~/.wine/wine-doors/preferences.xml"
elog "and run wine-doors again!"
elog
}

_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum