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.
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 (!)
Created attachment 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
games-board/schafkopf in portage. Thanks for the bug report and ebuild.
Created attachment 78804 [details] EBuild for schafkopf-0.7
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
Created attachment 78805 [details] Correct EBuild for schafkopf-0.7 A new ebuild for schafkopf (now the correct file).
Please open a new bug. This bug was about adding it to portage. Thanks.