Difference between revisions of "Dev:Gentoo Ebuilds"

From Synfig Studio :: Documentation
Jump to: navigation, search
(quick howto)
(Updated Subversion ebuilds, took out the essentially-unwritten ebuilds for specific-versions.)
Line 4: Line 4:
 
* Find mistakes in the ebuilds, and post fixes here
 
* Find mistakes in the ebuilds, and post fixes here
  
'''''These ebuilds are not yet complete! Only use if you know what you're doing and are prepared to fix them!'''''
 
  
== Some more elaborated ebuids are already in the bugzilla ==
+
= Specific-version ebuilds in Gentoo's BugZilla =
  
 
'''synfig-studio''' (-> /overlay/media-gfx/synfig-studio)
 
'''synfig-studio''' (-> /overlay/media-gfx/synfig-studio)
Line 20: Line 19:
 
   http://bugs.gentoo.org/show_bug.cgi?id=111277
 
   http://bugs.gentoo.org/show_bug.cgi?id=111277
  
== 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.01.ebuid '''digest'''
 
   '''ebuild''' /overlay/media-gfx/synfig-studio/synfig-studio-0.61.01.ebuid '''digest'''
Line 30: Line 29:
  
 
3. emerge -av synfig-studio
 
3. emerge -av synfig-studio
 
+
=SVN Ebuilds=
----
+
 
+
==dev-cpp/etl-0.04.07==
+
<pre>
+
 
+
inherit eutils
+
 
+
DESCRIPTION="Extended Class and Template Library"
+
HOMEPAGE="http://www.synfig.com/"
+
SRC_URI="http://www.bridgetone.com/voria/files/ETL-${PV}.tar.gz"
+
 
+
LICENSE="GPL-2"
+
SLOT="0"
+
KEYWORDS="~x86"
+
IUSE=""
+
S=${WORKDIR}/ETL-${PV}
+
 
+
src_compile() {
+
    econf || die "econf failed"
+
}
+
 
+
src_install() {
+
    make DESTDIR=${D} install || die "install failed"
+
}
+
</pre>
+
 
+
==media-gfx/synfig-0.61.04==
+
<pre>
+
DESCRIPTION="Synfig: Film-Quality Vector Animation (core engine)"
+
HOMEPAGE="http://www.synfig.com/"
+
SRC_URI=""
+
 
+
LICENSE="GPL-2"
+
SLOT="0"
+
KEYWORDS="~x86"
+
IUSE=""
+
 
+
DEPEND="dev-cpp/libxmlpp
+
        dev-libs/libsigc++
+
        >=dev-cpp/ETL-0.04.07"
+
</pre>
+
 
+
 
+
==media-gfx/synfig-studio-0.61.04==
+
<pre>
+
MY_P=${PN/-/}-${PV/_p/-}
+
S=${WORKDIR}/${MY_P}
+
 
+
DESCRIPTION="Synfig: Film-Quality Vector Animation (main UI)"
+
HOMEPAGE="http://www.synfig.com/"
+
SRC_URI=""
+
 
+
LICENSE="GPL-2"
+
SLOT="0"
+
KEYWORDS="~x86"
+
IUSE=""
+
 
+
 
+
DEPEND=">=dev-cpp/gtkmm-2.4
+
        >=media-gfx/synfig-${PV}"
+
</pre>
+
 
+
 
+
 
==dev-cpp/ETL-svn==
 
==dev-cpp/ETL-svn==
 +
'''''Warning: incomplete ebuild!'''''
 
<pre>
 
<pre>
 
inherit subversion
 
inherit subversion
Line 118: Line 55:
 
==media-gfx/synfig-svn==
 
==media-gfx/synfig-svn==
 
<pre>
 
<pre>
inherit subversion
 
 
 
DESCRIPTION="Synfig: Film-Quality Vector Animation (core engine, SVN-sources)"
 
DESCRIPTION="Synfig: Film-Quality Vector Animation (core engine, SVN-sources)"
 
HOMEPAGE="http://www.synfig.com/"
 
HOMEPAGE="http://www.synfig.com/"
Line 127: Line 62:
 
SLOT="0"
 
SLOT="0"
 
KEYWORDS="~x86"
 
KEYWORDS="~x86"
IUSE=""
+
IUSE="tiff jpeg png freetype fontconfig openexr ffmpeg"
  
 
DEPEND="dev-cpp/libxmlpp
 
DEPEND="dev-cpp/libxmlpp
 
         dev-libs/libsigc++
 
         dev-libs/libsigc++
        dev-cpp/ETL-svn
+
sys-devel/libtool
        !dev-cpp/ETL"
+
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() {
 +
./bootstrap
 +
econf \
 +
$(use_enable ffmpeg) \
 +
$(use_enable libdv) \
 +
$(use_enable imagemagick) \
 +
$(use_enable ffmpeg libavcodec) \
 +
$(use_enable freetype) \
 +
|| die
 +
emake || die
 +
}
 +
 
 +
src_install() {
 +
make DESTDIR="${D}" install || die
 +
}
 
</pre>
 
</pre>
  
Line 138: Line 106:
 
==media-gfx/synfig-studio-svn==
 
==media-gfx/synfig-studio-svn==
 
<pre>
 
<pre>
inherit subversion
 
 
 
DESCRIPTION="Synfig: Film-Quality Vector Animation (main UI, SVN-sources)"
 
DESCRIPTION="Synfig: Film-Quality Vector Animation (main UI, SVN-sources)"
 
HOMEPAGE="http://www.synfig.com/"
 
HOMEPAGE="http://www.synfig.com/"
Line 150: Line 116:
  
 
DEPEND=">=dev-cpp/gtkmm-2.4
 
DEPEND=">=dev-cpp/gtkmm-2.4
         media-gfx/synfig-svn
+
         virtual/synfig
        !media-gfx/synfig"
+
!media-gfx/synfig-studio"
 +
 
 +
 
 +
ESVN_REPO_URI="http://svn.voria.com/code/synfig-studio/trunk"
 +
ESVN_PROJECT="${PN}"
 +
 
 +
inherit subversion
 +
 
 +
src_compile() {
 +
./bootstrap
 +
econf || die
 +
emake || die
 +
}
 +
 
 +
src_install() {
 +
make DESTDIR="${D}" install || die
 +
}
 
</pre>
 
</pre>

Revision as of 05:21, 8 March 2006

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


Specific-version ebuilds in Gentoo's BugZilla

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.01.ebuid 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

Warning: incomplete ebuild!

inherit subversion

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

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

DEPEND=""

#  svn co http://svn.voria.com/code/ETL/trunk/ ETL
# ./bootstrap
# ./configure
# sudo make install


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="~x86"
IUSE="tiff jpeg png freetype fontconfig openexr ffmpeg"

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() {
	./bootstrap
	econf \
	$(use_enable ffmpeg) \
	$(use_enable libdv) \
	$(use_enable imagemagick) \
	$(use_enable ffmpeg libavcodec) \
	$(use_enable freetype) \
	|| 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="~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() {
	./bootstrap
	econf || die
	emake || die
}

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