Difference between revisions of "Dev:Gentoo Ebuilds"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (tweaked the format)
(tweaks)
Line 7: Line 7:
 
* Find mistakes in the ebuilds, and post fixes here
 
* Find mistakes in the ebuilds, and post fixes here
  
= Using the sunrise overlay =
+
= Release-version ebuilds in Gentoo's BugZilla =
  
Synfig is available in the [http://gentoo-wiki.com/Portage_Overlay_Listing#Sunrise_-_Gentoo_User_Overlay sunrise] overlay. If are already using sunrise you can install synfig with:
+
These are also in gentoo's sunrise overlay.
<pre>
+
emerge synfig-studio
+
</pre>
+
 
+
= Specific-version ebuilds in Gentoo's BugZilla =
+
  
 
'''synfig-studio''' (-> /overlay/media-gfx/synfig-studio)
 
'''synfig-studio''' (-> /overlay/media-gfx/synfig-studio)
Line 29: Line 24:
  
 
= Short howto =
 
= Short howto =
 +
 
1. make digests in your '''overlay''' directory i.e.:
 
1. make digests in your '''overlay''' directory i.e.:
 
   '''ebuild''' /overlay/media-gfx/synfig-studio/synfig-studio-0.61.05.ebuild '''digest'''
 
   '''ebuild''' /overlay/media-gfx/synfig-studio/synfig-studio-0.61.05.ebuild '''digest'''
Line 39: Line 35:
 
3. emerge -av synfig-studio
 
3. emerge -av synfig-studio
  
=SVN Ebuilds=
+
= SVN Ebuilds =
==dev-cpp/ETL-svn==
+
 
 +
== dev-cpp/ETL-svn ==
 +
 
 
<pre>
 
<pre>
 
DESCRIPTION="VoriaETL is a multiplatform class and template library designed to
 
DESCRIPTION="VoriaETL is a multiplatform class and template library designed to
Line 73: Line 71:
  
  
==media-gfx/synfig-svn==
+
== media-gfx/synfig-svn ==
 +
 
 
<pre>
 
<pre>
 
DESCRIPTION="Synfig: Film-Quality Vector Animation (core engine, SVN-sources)"
 
DESCRIPTION="Synfig: Film-Quality Vector Animation (core engine, SVN-sources)"
Line 125: Line 124:
 
</pre>
 
</pre>
  
==media-gfx/synfig-studio-svn==
+
== media-gfx/synfig-studio-svn ==
 +
 
 
<pre>
 
<pre>
 
DESCRIPTION="Synfig: Film-Quality Vector Animation (main UI, SVN-sources)"
 
DESCRIPTION="Synfig: Film-Quality Vector Animation (main UI, SVN-sources)"

Revision as of 11:44, 28 January 2008


We're working on ebuild files for the Gentoo operating system here. To use this page directly with Gentoo, you need to know how Portage works. Specifically:

  • Create a Portage overlay so these ebuilds won't be clobbered by an emerge sync
  • Cut out each ebuild and put it in the proper place in the overlay.
  • Find mistakes in the ebuilds, and post fixes here

Release-version ebuilds in Gentoo's BugZilla

These are also in gentoo's sunrise overlay.

synfig-studio (-> /overlay/media-gfx/synfig-studio)

 http://bugs.gentoo.org/show_bug.cgi?id=111279

synfig (-> /overlay/media-gfx/synfig)

 http://bugs.gentoo.org/show_bug.cgi?id=111278

ETL (-> /overlay/dev-cpp/ETL)

 http://bugs.gentoo.org/show_bug.cgi?id=111277

Short howto

1. make digests in your overlay directory i.e.:

 ebuild /overlay/media-gfx/synfig-studio/synfig-studio-0.61.05.ebuild digest
 ...

2. this goes in the /etc/portage/package.use

 media-gfx/synfig  ffmpeg freetype imagemagick libdv openexr
 media-gfx/synfig-studio fmod

3. emerge -av synfig-studio

SVN Ebuilds

dev-cpp/ETL-svn

DESCRIPTION="VoriaETL is a multiplatform class and template library designed to
complement and supplement the C++ STL. (SVN-sources)"
HOMEPAGE="http://www.synfig.com/"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""

PROVIDE="virtual/ETL"

ESVN_REPO_URI="http://svn.voria.com/code/ETL/trunk/"
ESVN_PROJECT="${PN}"

inherit eutils
inherit subversion

src_compile() {
        autoreconf -if
        econf || die
}

src_install() {
        make DESTDIR="${D}" install || die
}


media-gfx/synfig-svn

DESCRIPTION="Synfig: Film-Quality Vector Animation (core engine, SVN-sources)"
HOMEPAGE="http://www.synfig.com/"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="tiff jpeg png freetype fontconfig openexr ffmpeg debug"

DEPEND="dev-cpp/libxmlpp
        dev-libs/libsigc++
	sys-devel/libtool
	png? ( media-libs/libpng )
	tiff? ( media-libs/tiff )
	jpeg? ( media-libs/jpeg )
	imagemagick? ( media-gfx/imagemagick )
	freetype? ( media-libs/freetype )
	fontconfig? ( media-libs/fontconfig )
	openexr? ( media-libs/openexr )
	ffmpeg? ( media-video/ffmpeg )
	
        virtual/ETL"

PROVIDE="virtual/synfig"

ESVN_REPO_URI="http://svn.voria.com/code/synfig-core/trunk"
ESVN_PROJECT="${PN}"

inherit subversion


src_compile() {
	libtoolize --ltdl --copy -f
	autoreconf -if
	econf \
	$(use_enable ffmpeg) \
	$(use_enable libdv) \
	$(use_enable imagemagick) \
	$(use_enable ffmpeg libavcodec) \
	$(use_enable freetype) \
        $(use_enable debug) \
	|| die
	emake || die
}

src_install() {
	make DESTDIR="${D}" install || die
}

media-gfx/synfig-studio-svn

DESCRIPTION="Synfig: Film-Quality Vector Animation (main UI, SVN-sources)"
HOMEPAGE="http://www.synfig.com/"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=">=dev-cpp/gtkmm-2.4
        virtual/synfig
	!media-gfx/synfig-studio"


ESVN_REPO_URI="http://svn.voria.com/code/synfig-studio/trunk"
ESVN_PROJECT="${PN}"

inherit subversion

src_compile() {
	autoreconf -if
	econf || die
	emake || die
}

src_install() {
	make DESTDIR="${D}" install || die
}