Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
post local ebuilds (not in portage) here
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
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Mon Feb 14, 2005 2:15 pm    Post subject: post local ebuilds (not in portage) here Reply with quote

avidemux (CVS):
Code:

# Copyright 1999-2003 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
 # $Header:
 
 IUSE="debug nls oggvorbis arts truetype alsa pic"
 
 inherit eutils cvs
 
 ECVS_SERVER="cvs.berlios.de:/cvsroot/avidemux"
 ECVS_MODULE="avidemux"
 ECVS_TOP_DIR="${DISTDIR}/avidemux2/${PN}"
 S=${WORKDIR}/${ECVS_MODULE}
 
 DESCRIPTION="Great Video editing/encoding tool. New, gtk2 version"
 HOMEPAGE="http://fixounet.free.fr/avidemux/"
 
 LICENSE="GPL-2"
 SLOT="2"
 KEYWORDS="~x86 ~ppc ~amd64"
 
 DEPEND="virtual/x11
    media-libs/libmad
    !media-video/avidemux
    >=media-libs/a52dec-0.7.4
    >=media-sound/lame-3.93
    >=media-video/mjpegtools-1.6
    >=media-libs/xvid-0.9
    >=dev-libs/libxml2-2.5.7
    >=x11-libs/gtk+-2.2.1
    x86? ( >=media-libs/divx4linux-20030428 )
    x86? ( dev-lang/nasm )
    nls? ( >=sys-devel/gettext-0.11.2 )
    oggvorbis? ( >=media-libs/libogg-1.0
                 >=media-libs/libvorbis-1.0 )
    arts? ( >=kde-base/arts-1.1.1 )
    truetype? ( >=media-libs/freetype-2.1.2 )
    alsa? ( >=media-libs/alsa-lib-0.9.1 )"
 # media-sound/toolame is supported as well
 
 src_compile() {
    export WANT_AUTOCONF_2_5=1
    # above has been depricated so for now I'll include both
    export WANT_AUTOCONF=2.5
     
    # invalid cast
    use ppc \
        && sed -i -e '188s/const//g' avidemux/ADM_video/ADM_vidFont.cpp
 
     echo $(pwd)
    make -f Makefile.dist
 
    local myconf
    myconf="--with-gnu-ld --disable-warnings"
 
    # --enable-profile        creates profiling infos default=no
      # --enable-pch            enables precompiled header support
    #                         (currently only KCC) default=no
    # --enable-final          build size optimized apps
    #                         (experimental - needs lots of memory)
    # --disable-closure       don't delay template instantiation
 
    use debug && myconf="${myconf} --with-debug"
 
    use nls || myconf="${myconf} --disable-nls"
 
    use pic || myconf="${myconf} --with-pic"
 
    econf ${myconf} || die "configure failed"
 
    make || die "make failed"
 }
 
 src_install() {
    make DESTDIR=${D} install || die "make install failed"
 
  dodoc AUTHORS ChangeLog History README TODO
 }
 
 pkg_postinst() {
 
     if [ -n "`use pcc`" ]
  then
   echo
   einfo "OSS sound output may not work on ppc"
   einfo "If your hear only static noise, try"
         einfo "changing the sound device to ALSA or arts"
     fi
 }

Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Mon Feb 14, 2005 2:18 pm    Post subject: Reply with quote

amaroK (CVS):
Code:

# Copyright 1999-2003 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
 inherit kde-base
 
 need-kde 3.2
 
 # bluemchen.kde.org is up-to-date with kde's current cvs while anoncvs.kde.org is synced every 2 hours or so.
 ECVS_SERVER="bluemchen.kde.org:/home/kde"
 KCVS_MODULE=kdeextragear-1
 KCVS_SUBDIR=amarok
 inherit kde-source
 
 IUSE="cjk gstreamer xmms arts opengl xine libvisual noamazon mysql pic"
 
 DESCRIPTION="A user friendly IRC Client for KDE3.x"
 HOMEPAGE="http://amarok.kde.org"
 LICENSE="GPL-2"
 KEYWORDS="~x86 ~ppc ~amd64"
 
 DEPEND=">=kde-base/kdemultimedia-3.2
  arts? ( >=kde-base/arts-1.2 )
  gstreamer? ( >=media-libs/gst-plugins-0.8.1 )
  opengl? ( virtual/opengl )
  xmms? ( >=media-sound/xmms-1.2 )
  xine? ( >=media-libs/xine-lib-1_rc4 )
  libvisual? ( >=media-libs/libvisual-0.1.6 )
   
  >=dev-util/pkgconfig-0.9.0
  >=media-libs/taglib-1.3"
 
 src_compile() {
   
  if  ! use arts && ! use gstreamer && ! use xine
   then die "You must enable either Arts, Gstreamer, or Xine"
  fi
   
  PREFIX="`kde-config --prefix`"
  myconf="`use_with arts` `use_with gstreamer` `use_with opengl` `use_with xine`"
   
  if use noamazon
   then myconf="$myconf --disable-amazon"
  fi
 
  if use mysql
   then myconf="$myconf --enable-mysql"
  fi
 
  if use pic
   then myconf="$myconf --with-pic"
  fi
 
   
  kde_src_compile myconf configure
  kde_src_compile make
 }
   
 src_install() {
   
  kde_src_install
 }

Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Mon Feb 14, 2005 2:19 pm    Post subject: Reply with quote

krusader (CVS):
Code:

# Copyright 1999-2004 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 ECVS_SERVER="cvs.sourceforge.net:/cvsroot/krusader"
 ECVS_MODULE="krusader_kde3"
 ECVS_AUTH="pserver"
 
 inherit kde cvs
 need-kde 3.2
 
 S=${WORKDIR}/${ECVS_MODULE}
 
 DESCRIPTION="Advanced twin-panel (commander-style) file-manager for KDE 3.x with many extras - development version"
 HOMEPAGE="http://krusader.sourceforge.net/"
 SRC_URI=""
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~x86 ~sparc ~ppc ~amd64"
 
 # Adds support for Konqueror's right-click actions
 IUSE="kde"
 DEPEND="kde? ( >=kde-base/kdebase-3.2 )"
 
 src_compile() {
  use amd64 && append-flags -fPIC
  kde_src_compile
 }
 
 pkg_postinst() {
  echo ""
  einfo "Krusader can use some external applications, which includes"
  einfo "- KMail   (kde-base/kdepim)"
  einfo "- Kompare (kde-base/kdesdk)"
  einfo "- KDiff3  (app-misc/kdiff3)"
  einfo "- XXdiff  (dev-util/xxdiff)"
  einfo "- KRename (app-misc/krename)"
  einfo "- Eject   (sys-apps/eject)"
 
  einfo "and supports quite a few archive formats. Please use the following"
  einfo "command to install the more uncommon ones in the *nix world:"
  einfo "\"emerge app-arch/{arj,unarj,rar,unrar,zip,unzip,unace}\""
  echo ""
 }

Back to top
View user's profile Send private message
GentooBox
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1168
Location: Denmark

PostPosted: Sat Mar 26, 2005 2:50 pm    Post subject: Reply with quote

Could you update the amarok cvs ebuild to use the KDE 3.4 split ebuilds ?

I tryed to hack the amarok-1.2.2 ebuild to use CVS instead of real souce. - but i failed.
_________________
Encrypt, lock up everything and duct tape the rest
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Sat Apr 23, 2005 1:20 pm    Post subject: x11-misc/superkaramba Reply with quote

filename: superkaramba-0.36.ebuild

Code:

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/superkaramba/superkaramba-0.35.ebuild,v 1.2 2005/03/25 15:37:33 kugelfang Exp $

inherit kde eutils

DESCRIPTION="A version of Karamba with extra extensions in-built"
HOMEPAGE="http://netdragon.sourceforge.net/"
SRC_URI="mirror://sourceforge/netdragon/${P}.tar.gz"

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

DEPEND="dev-lang/python"

need-kde 3.2

src_unpack() {
   kde_src_unpack

   useq arts || epatch ${FILESDIR}/${P}-configure-arts.patch
}

src_install() {
   kde_src_install
   dodir /usr/share/karamba/themes /usr/share/karamba/bin
   keepdir /usr/share/karamba/themes /usr/share/karamba/bin
   dodir /etc/env.d
   cp ${FILESDIR}/karamba-env ${D}/etc/env.d/99karamba
   if use doc; then
      dodir /usr/share/doc/${P}/examples
      mv ${D}/usr/share/doc/* ${D}/usr/share/doc/${P}
      cp ${S}/examples/* ${D}/usr/share/doc/${P}/examples
   else
      rm -Rf ${D}/usr/share/doc
   fi
}
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Sat Apr 23, 2005 1:22 pm    Post subject: Reply with quote

GentooBox wrote:
Could you update the amarok cvs ebuild to use the KDE 3.4 split ebuilds ?
I tryed to hack the amarok-1.2.2 ebuild to use CVS instead of real souce. - but i failed.

i dont use the split ebuilds, but you could hack the one i posted above - that should work if you change the depends. or, simply leave the depends out, because you know you have them installed.
Back to top
View user's profile Send private message
Triptol
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2004
Posts: 107

PostPosted: Sun Jun 05, 2005 3:02 am    Post subject: And the SVN build for amarok will be like this.... Reply with quote

Code:
inherit kde subversion

need-kde 3.3

IUSE="arts flac gstreamer kde mad mysql noamazon oggvorbis opengl xine xmms visualization nmm mas"

DESCRIPTION="amaroK is a media player for KDE"
HOMEPAGE="http://amarok.kde.org/"
ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/extragear/multimedia/amarok"

LICENSE="GPL-2"
SLOT="0"

KEYWORDS="~amd64 ~ppc -sparc ~x86"

RDEPEND="kde? ( || ( kde-base/konqueror kde-base/kdebase ) )
     arts? ( kde-base/arts
         || ( ( kde-base/kdemultimedia-arts kde-base/akode )
            kde-base/kdemultimedia ) )
     opengl? ( virtual/opengl )
     xmms? ( >=media-sound/xmms-1.2 )
     xine? ( >=media-libs/xine-lib-1_rc4 )
     >=media-libs/tunepimp-0.3.0
     >=media-libs/taglib-1.3.1
     gstreamer? ( >=media-libs/gst-plugins-0.8.6
              mad? ( >=media-plugins/gst-plugins-mad-0.8.6 )
              oggvorbis? ( >=media-plugins/gst-plugins-ogg-0.8.6
                   >=media-plugins/gst-plugins-vorbis-0.8.6 )
              flac? ( >=media-plugins/gst-plugins-flac-0.8.6 ) )
     mysql? ( >=dev-db/mysql-4 )
     visualization? ( media-libs/libsdl
              >=media-plugins/libvisual-plugins-0.2 )"

DEPEND="${RDEPEND}
    >=dev-util/pkgconfig-0.9.0"

pkg_setup() {
    if use arts && ! use xine && ! use gstreamer; then
        ewarn "aRTs support is deprecated, if you have problems please consider"
        ewarn "enabling support for Xine or GStreamer"
        ewarn "(emerge amarok again with USE=\"xine\" or USE=\"gstreamer\")."
        ebeep 2
    fi

    if ! use arts && ! use xine && ! use gstreamer; then
        eerror "amaroK needs either aRts (deprecated), Xine or GStreamer to work,"
        eerror "please try again with USE=\"arts\", USE=\"xine\" or USE=\"gstreamer\"."
        die
    fi

   # check whether kdelibs was compiled with arts support
    kde_pkg_setup                           
}
           
src_unpack() {
    ESVN_UPDATE_CMD="svn update -N" ESVN_FETCH_CMD="svn checkout -N" ESVN_REPO_URI=`dirname ${ESVN_REPO_URI}` subversion_src_unpack
    ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/KDE/kde-common/admin" subversion_src_unpack
    subversion_src_unpack
    cd ${S}
    make -f Makefile.cvs
}

src_compile() {
    # amarok does not respect kde coding standards, and makes a lot of
    # assuptions regarding its installation directory. For this reason,
    # it must be installed in the KDE install directory.

    PREFIX="`kde-config --prefix`"
    myconf="$(use_with arts) $(use_with xine) $(use_with nmm) $(use_with mas)  $(use_with gstreamer) $(use_enable mysql) $(use_with opengl) $(use_enable !noamazon amazon)"
     if use pic
          then myconf="$myconf --with-pic"
     fi

     kde_src_compile
}
Back to top
View user's profile Send private message
LightEater
n00b
n00b


Joined: 10 Oct 2004
Posts: 38

PostPosted: Mon Jun 20, 2005 11:24 pm    Post subject: Reply with quote

Here's the modified amarok svn ebuild from http://wordpress.jordswart.org/archives/8 to include postgres use flag:

Code:

inherit kde subversion

need-kde 3.3

IUSE="arts flac gstreamer kde mad mysql noamazon oggvorbis opengl xine xmms visualization nmm mas postgres"

DESCRIPTION="amaroK is a media player for KDE"
HOMEPAGE="http://amarok.kde.org/"
ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/extragear/multimedia/amarok"

LICENSE="GPL-2"
SLOT="0"

KEYWORDS="~amd64 ~ppc -sparc ~x86"

RDEPEND="kde? ( || ( kde-base/konqueror kde-base/kdebase ) )
         arts? ( kde-base/arts
                 || ( ( kde-base/kdemultimedia-arts kde-base/akode )
                        kde-base/kdemultimedia ) )
         opengl? ( virtual/opengl )
         xmms? ( >=media-sound/xmms-1.2 )
         xine? ( >=media-libs/xine-lib-1_rc4 )
         >=media-libs/tunepimp-0.3.0
         >=media-libs/taglib-1.3.1
         gstreamer? ( >=media-libs/gst-plugins-0.8.6
                      mad? ( >=media-plugins/gst-plugins-mad-0.8.6 )
                      oggvorbis? ( >=media-plugins/gst-plugins-ogg-0.8.6
                                   >=media-plugins/gst-plugins-vorbis-0.8.6 )
                      flac? ( >=media-plugins/gst-plugins-flac-0.8.6 ) )
         mysql? ( >=dev-db/mysql-4 )
         postgres? ( dev-db/postgresql )
         visualization? ( media-libs/libsdl
                          >=media-plugins/libvisual-plugins-0.2 )"

DEPEND="${RDEPEND}
        >=dev-util/pkgconfig-0.9.0"

pkg_setup() {
        if use arts && ! use xine && ! use gstreamer; then
                ewarn "aRTs support is deprecated, if you have problems please consider"
                ewarn "enabling support for Xine or GStreamer"
                ewarn "(emerge amarok again with USE=\"xine\" or USE=\"gstreamer\")."
                ebeep 2
        fi

        if ! use arts && ! use xine && ! use gstreamer; then
                eerror "amaroK needs either aRts (deprecated), Xine or GStreamer to work,"
                eerror "please try again with USE=\"arts\", USE=\"xine\" or USE=\"gstreamer\"."
                die
        fi

        # check whether kdelibs was compiled with arts support
        kde_pkg_setup
}

src_unpack() {
        ESVN_UPDATE_CMD="svn update -N" ESVN_FETCH_CMD="svn checkout -N" ESVN_REPO_URI=`dirname ${ESVN_REPO_URI}` subversion_src_unpack
        ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/KDE/kde-common/admin" subversion_src_unpack
        subversion_src_unpack
        cd ${S}
        make -f Makefile.cvs
}

src_compile() {
        # amarok does not respect kde coding standards, and makes a lot of
        # assuptions regarding its installation directory. For this reason,
        # it must be installed in the KDE install directory.
        PREFIX="`kde-config --prefix`"

        myconf="$(use_with arts) $(use_with xine) $(use_with nmm) $(use_with mas)
                $(use_with gstreamer) $(use_enable mysql) $(use_enable postgres postgresql)
                $(use_with opengl) $(use_enable !noamazon amazon)"

        kde_src_compile

}

_________________
I'd like to answer this question if I may in two ways: firstly in my normal voice and then in a kind of silly high-pitched whine.
Back to top
View user's profile Send private message
DarkMind
Guru
Guru


Joined: 18 Dec 2003
Posts: 525
Location: Santiago, Chile

PostPosted: Tue Jun 21, 2005 1:53 am    Post subject: Reply with quote

when i try to put the script of amarok in a file called amarok-cvs.ebuild (in /usr/local/portage/media-sound/amarok/amarok-cvs.ebuild )

when i try

Code:
ebuild /usr/local/portage/media-sound/amarok/amarok-cvs.ebuild digest


says:

Code:
!!! Error: PF is null 'amarok-cvs'; exiting.


??? how i can fix this?
Back to top
View user's profile Send private message
radfoj
Guru
Guru


Joined: 31 Dec 2004
Posts: 490
Location: Tísek, Czech Republic

PostPosted: Tue Jun 21, 2005 6:41 am    Post subject: Reply with quote

It should be called amarok-svn-1.3.ebuild and should be placed in PORTDIR_OVERLAY/media-sound/amarok-svn/
Code:
# ebuild /usr/local/portage/media-sound/amarok-svn/amarok-svn-1.3.ebuild digest
>>> Generating digest file...
>>> Generating manifest file...
<<< amarok-svn-1.3.ebuild
<<< files/digest-amarok-svn-1.3
>>> Computed message digests.
Back to top
View user's profile Send private message
radfoj
Guru
Guru


Joined: 31 Dec 2004
Posts: 490
Location: Tísek, Czech Republic

PostPosted: Sun Jun 26, 2005 1:30 pm    Post subject: Reply with quote

Does anybody know, if is it possible or how change amarok-svn.ebuild if I need amarok-svn to be in my language? After I emerged it, there were none po/pot files and due it amarok.mo wasnt created.
Back to top
View user's profile Send private message
Triptol
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2004
Posts: 107

PostPosted: Fri Dec 23, 2005 2:03 pm    Post subject: Update Reply with quote

Since I see that people actually find my ebuild on my homepage coming from this page, I thought it a good idea to provide you guys with an update:

You can find the latest version (as of now) in this post. Make sure you download version 1.4-r1.
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