Bug 77273 - SchafKopf is missing in portage. Ebuild attached, should be added.
Bug#: 77273 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: domseichter@web.de
Component: Games
URL: 
Summary: SchafKopf is missing in portage. Ebuild attached, should be added.
Keywords:  
Status Whiteboard: 
Opened: 2005-01-09 13:42 0000
Description:   Opened: 2005-01-09 13:42 0000
SchafKopf is a KDE implementation of a popular Bavarian card game. I created an
ebuild for this game (version 0.5) and it would be great if one of the
developers could move it into portage. You can visit the webpage at
http://schafkopf.berlios.de

I think as a kde application it should be placed into kde-misc.

I am going to copy and paste the file schafkopf-0.5.ebuild here:
<ebuild>
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

# we are a kde-ebuild
inherit kde
need-kde 3

DESCRIPTION="SchafKopf is a KDE version of a popular Bavarian card game."
SRC_URI="http://download.berlios.de/schafkopf/schafkopf-${PV}.tar.gz"
HOMEPAGE="http://schafkopf.berlios.de"

# we need kdegames
DEPEND=">=kde-base/kdegames-3.2.0"
RDEPEND=">=kde-base/kdegames-3.2.0"

# kde is required ofcourse
IUSE="X kde"

# only install one instance of SchafKopf
SLOT=0
LICENSE=GPL-2

# we develop on amd64 and x86 so both can be considered stable
KEYWORDS="amd64 x86" 

src_compile() {
        PREFIX="`kde-config --prefix`"
        kde_src_compile configure make || die
}
</ebuild>

Is there anything else needed to get this into portage? If you need more
information I will be glad to help you.

Thanks in advance.

Cu Dominik

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Carsten Lohrke 2005-01-09 16:05:03 0000 -------
Dominik: Please attach, don't inline. Also kde based applications should use
the kde.eclass and go into /usr, not $kdedir. Have a look at other ebuilds.
Most likely there's no need for any src_* function. IUSE is for optional stuff;
Neither X nor kde are optional here. need-kde has to be placed after R/DEPEND
(!)

------- Comment #2 From Dominik Seichter 2005-01-11 08:47:40 0000 -------
Created an attachment (id=48206) [details]
update schafkopf-0.5.ebuild

I updated the ebuild and I hope it conforms now to the Gentoo needs for an
ebuild of a KDE application. Thanks for your comments so far.

Regarding the category to place this ebuild, I got a suggestion to place it
into games-board/ as xskat which is a similar card game is there allready. The
other option would be in my opinion kde-misc as it is a KDE application. I do
not know which counts more being a game or being a KDE application.

It would be great if this could me merged into portage now. If further changes
are needed please tell me.

Thanks in advance,
Dominik

------- Comment #3 From Mr. Bones. 2005-08-23 23:18:41 0000 -------
games-board/schafkopf in portage.  Thanks for the bug report and ebuild.

------- Comment #4 From Dominik Seichter 2006-02-03 07:57:36 0000 -------
Created an attachment (id=78804) [details]
EBuild for schafkopf-0.7

------- Comment #5 From Dominik Seichter 2006-02-03 07:58:09 0000 -------
SchafKopf 0.7 has been release and fixes many bugs. It would be great if the
version in portage could be updated by someone. Ebuild is attached. 

Thanks in advance,
    Dom

------- Comment #6 From Dominik Seichter 2006-02-03 08:02:33 0000 -------
Created an attachment (id=78805) [details]
Correct EBuild for schafkopf-0.7

A new ebuild for schafkopf (now the correct file).

------- Comment #7 From Mr. Bones. 2006-02-03 12:22:41 0000 -------
Please open a new bug.  This bug was about adding it to portage.  Thanks.