eigenes ebuild

F

flammenflitzer

Routinier
Hallo
Ich habe ein Problem mit einem ebuild:
Code:
flammenflitzer 2mandvd # cat /usr/local/overlays/local/media-video/2mandvd/2mandvd-0.6.0.ebuild 
# Copyright 1999-2009 Gentoo Foundation                                                         
# Distributed under the terms of the GNU General Public License                                 
# $Header: $                                                                                    

EAPI="2"
inherit qt4

MY_PN="2ManDVD"

DESCRIPTION="2ManDVD is the successor of ManDVD... This is a program to simply create DVD Video"
HOMEPAGE="http://de.kde-apps.org/content/show.php/2ManDVD?content=99450"                        
SRC_URI="http://download.tuxfamily.org/2mandvd/${MY_PN=}-${PV}.tar.gz"                          

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

DEPEND=">=x11-libs/qt-gui-4.5.0"

RDEPEND="${DEPEND}
   virtual/cdrtools
   >=app-cdr/dvd+rw-tools-5.21.4
   >=media-video/ffmpegthumbnailer-1.3.0
   >=media-video/ffmpeg-0.4.9_p20090201 
   >=media-sound/sox-14.2.0             
   >=media-video/mplayer-1.0_rc2_p28450 
   >=media-video/dvdauthor-0.6.14       
   >=media-video/mjpegtools-1.9.0       
   >=media-libs/netpbm-10.44.00-r1      
   xine? ( >=media-libs/xine-lib-1.1.16.2 )"

S="${WORKDIR}/2ManDVD"

src_compile () {
   eqmake4 ${MY_PN}.pro
   rm moc_*            
   default             
}                      

#src_install () {
##emake DESTDIR="${D}" install
#dobin ${MY_PN}               
#}                            

src_install() {
dodir /opt/${MY_PN}                #soll in /opt/2ManDVD installiert werden
exeinto /opt/${MY_PN}                                                      
doexe ${MY_PN}/${MY_PN}            #2ManDVD soll in /opt/2ManDVD           
doexe ${MY_PN}/2mandvd_*.qm        #2mandvd_en.qm  2mandvd_pl.qm sollen in /opt/2ManDVD landen

dodir /usr/bin                      
dosym /opt/${MY_PN}/${MY_PN} /usr/bin/${MY_PN}  #ein Link soll von /opt/2ManDVD/2ManDVD auf/bin/2ManDVD erzeugt werden

dodir /usr/share/${MY_PN}                       #ein Desktop Eintrag soll erstellt werden
dodir /usr/share/applnk/Multimedia

echo "[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=2ManDVD
Icon=mandvd.png
Comment=Simple DVD Video creator
Name=2ManDVD
Terminal=false
GenericName=DVD Video Creator" > ${D}/usr/share/applnk/Multimedia/2ManDVD.desktop

dodir /usr/share/icons
insinto /usr/share/icons
newins ${S}/${MY_PN}/Interface/mandvd.png mandvd.png
}
Code:
config -lXext -lX11 -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread            
>>> Source compiled.                                                                                  
>>> Test phase [not enabled]: media-video/2mandvd-0.6.0                                               

>>> Install 2mandvd-0.6.0 into /var/tmp/portage/media-video/2mandvd-0.6.0/image/ category media-video
install: Aufruf von stat für „2ManDVD/2ManDVD“ nicht möglich: Ist kein Verzeichnis                   
!!! doexe: 2ManDVD/2ManDVD does not exist                                                            
install: Aufruf von stat für „2ManDVD/2mandvd_*.qm“ nicht möglich: Ist kein Verzeichnis              
!!! doexe: 2ManDVD/2mandvd_*.qm does not exist                                                       
!!! newins: /var/tmp/portage/media-video/2mandvd-0.6.0/work/2ManDVD/2ManDVD/Interface/mandvd.png does not exist                                                                                             
>>> Completed installing 2mandvd-0.6.0 into /var/tmp/portage/media-video/2mandvd-0.6.0/image/

 * QA Notice: file does not exist:
 *
 *      doexe: 2ManDVD/2ManDVD does not exist
 *      doexe: 2ManDVD/2mandvd_*.qm does not exist
 *      newins: /var/tmp/portage/media-video/2mandvd-0.6.0/work/2ManDVD/2ManDVD/Interface/mandvd.png does not exist

>>> Installing media-video/2mandvd-0.6.0
config -lXext -lX11 -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread            
>>> Source compiled.                                                                                  
>>> Test phase [not enabled]: media-video/2mandvd-0.6.0                                               

>>> Install 2mandvd-0.6.0 into /var/tmp/portage/media-video/2mandvd-0.6.0/image/ category media-video
install: Aufruf von stat für „2ManDVD/2ManDVD“ nicht möglich: Ist kein Verzeichnis                   
!!! doexe: 2ManDVD/2ManDVD does not exist                                                            
install: Aufruf von stat für „2ManDVD/2mandvd_*.qm“ nicht möglich: Ist kein Verzeichnis              
!!! doexe: 2ManDVD/2mandvd_*.qm does not exist                                                       
!!! newins: /var/tmp/portage/media-video/2mandvd-0.6.0/work/2ManDVD/2ManDVD/Interface/mandvd.png does not exist                                                                                             
>>> Completed installing 2mandvd-0.6.0 into /var/tmp/portage/media-video/2mandvd-0.6.0/image/

 * QA Notice: file does not exist:
 *
 *      doexe: 2ManDVD/2ManDVD does not exist
 *      doexe: 2ManDVD/2mandvd_*.qm does not exist
 *      newins: /var/tmp/portage/media-video/2mandvd-0.6.0/work/2ManDVD/2ManDVD/Interface/mandvd.png does not exist

>>> Installing media-video/2mandvd-0.6.0
Code:
/var/tmp/portage/media-video/2mandvd-0.6.0/work/2ManDVD/2mandvd_en.ts

/var/tmp/portage/media-video/2mandvd-0.6.0/work/2ManDVD/2ManDVD
existieren
 
Zuletzt bearbeitet:
Nicht ganz schick, aber funktioniert erst einmal.
Code:
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License
# $Header: $

EAPI="2"
inherit qt4

MY_PN="2ManDVD"

DESCRIPTION="2ManDVD is the successor of ManDVD... This is a program to simply create DVD Video"
HOMEPAGE="http://de.kde-apps.org/content/show.php/2ManDVD?content=99450"
SRC_URI="http://download.tuxfamily.org/2mandvd/${MY_PN=}-${PV}.tar.gz"

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

DEPEND=">=x11-libs/qt-gui-4.5.0"

RDEPEND="${DEPEND}
   virtual/cdrtools
   >=app-cdr/dvd+rw-tools-5.21.4
   >=media-video/ffmpegthumbnailer-1.3.0
   >=media-video/ffmpeg-0.4.9_p20090201
   >=media-sound/sox-14.2.0
   >=media-video/mplayer-1.0_rc2_p28450
   >=media-video/dvdauthor-0.6.14
   >=media-video/mjpegtools-1.9.0
   >=media-libs/netpbm-10.44.00-r1
   xine? ( >=media-libs/xine-lib-1.1.16.2 )"

S="${WORKDIR}/2ManDVD"

src_compile () {
   eqmake4 ${MY_PN}.pro
   rm moc_*
   default
}

src_install() {
dodir /opt/${MY_PN}                #soll in /opt/2ManDVD installiert werden
exeinto /opt/${MY_PN}               
doexe ${MY_PN}           #2ManDVD soll in /opt/2ManDVD 
doexe 2mandvd_*.qm       #2mandvd_en.qm  2mandvd_pl.qm sollen in /opt/2ManDVD landen
doexe Interface/*.png    #alle Icons in /opt/2ManDVD

dodir /usr/bin                      
dosym /opt/${MY_PN}/${MY_PN} /usr/bin/${MY_PN}  #ein Link soll von /opt/2ManDVD/2ManDVD auf/bin/2ManDVD erzeugt werden
#dosym /opt/${MY_PN}/*.png /usr/share/2ManDVD
#dosym /opt/${MY_PN}/mandvd.png /usr/share/pixmaps

dodir /usr/share/${MY_PN}                       #ein Desktop Eintrag soll erstellt werden
dodir /usr/share/applnk/Multimedia
 
echo "[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=2ManDVD
Icon=mandvd.png
Comment=Simple DVD Video creator
Name=2ManDVD
Terminal=false
GenericName=DVD Video Creator" > ${D}/usr/share/applnk/Multimedia/2ManDVD.desktop
 
dodir /usr/share/icons
insinto /usr/share/icons
newins Interface/mandvd.png mandvd.png
}
 

Ähnliche Themen

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

X startet nichtmehr

Problem mit HSPA+ Modem Huawei E353 - Installation unmöglich?

Samba 4 Gast Zugang unter Ubuntu funktioniert nicht

xrandr: cant open display

Zurück
Oben