package x264 - join 2 xml-versions | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | AVIDemux needs the libs so I did this xml:
Code | [In neuem Fenster öffnen] | | <?xml version="1.0"?>
<package name="x264">
<description>x264 codec for avidemux</description>
<releases>
<release version="2007.02.07" revision="1" branch="testing">
<deps>
<dep name="nasm"/>
</deps>
<build>
<script>
<archive name="x264-$VERSION">
<cmd>./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-shared --enable-pthread --enable-gtk</cmd>
<cmd>make -j 2</cmd>
<cmd>make install</cmd>
</archive>
</script>
</build>
</release>
</releases>
</package> |
That yours:
Code | [In neuem Fenster öffnen] | | <package name="x264">
<description>a free h264/avc encoder</description>
<releases>
<release version="20070216-2245" revision="3" branch="testing">
<settings>
<environment name="LDFLAGS">$LDFLAGS -Wl,--as-needed</environment>
</settings>
<deps>
<dep name="x11"/>
<dep name="yasm" arch="x86_64"/>
<dep name="nasm" arch="x86"/>
</deps>
<build>
<script>
<archive name="x264-snapshot-$VERSION">
<cmd>
./configure --prefix=/usr --enable-shared --enable-visualize --enable-pic
</cmd>
<cmd>make -j 2</cmd>
<cmd>make install</cmd>
<!-- remove static lib -->
<cmd>rm -rf /usr/lib/libx264.a</cmd>
</archive>
</script>
</build>
</release>
</releases>
</package> |
Seems it should be this way then:
Code | [In neuem Fenster öffnen] | | <package name="x264">
<description>a free h264/avc encoder</description>
<releases>
<release version="20070216-2245" revision="3" branch="testing">
<settings>
<environment name="LDFLAGS">$LDFLAGS -Wl,--as-needed</environment>
</settings>
<deps>
<dep name="x11"/>
<dep name="yasm" arch="x86_64"/>
<dep name="nasm" arch="x86"/>
</deps>
<build>
<script>
<archive name="x264-snapshot-$VERSION">
<cmd>
./configure --prefix=/usr --enable-shared --enable-pthread --enable-gtk --enable-visualize --enable-pic
</cmd>
<cmd>make -j 2</cmd>
<cmd>make install</cmd>
</archive>
</script>
</build>
</release>
</releases>
</package> |
|
|
|
|
|
|
Re: package x264 - join 2 xml-versions | |
|
|
Administrator Posts: 426 Registered: 2004-09-09 | pthread support is enabled by default, so the only feature missing is building the x264 gtk library, does avidemux really need that part of x264? |
|
|
|
|
|
Re: package x264 - join 2 xml-versions | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | AVISynth uses GTK for the testing-application. So it will be usefull to be enabled. |
|
|
|
|
|
Re: package x264 - join 2 xml-versions | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | Don't remove the static lib in this package. AviDemux2 needs libx264.a to add x264-support to the AVIDemux2-Gui. So please remove the cmd:
|
|
|
|
|
|
Re: package x264 - join 2 xml-versions | |
|
|
Administrator Posts: 426 Registered: 2004-09-09 | avidemux builds fine here with the shared libx264, why do you think otherwise? |
|
|
|
|
|
Re: package x264 - join 2 xml-versions | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | including x264-support? Check it. When do you think avidemux will be in the main-repo? |
|
|
|
|
|
Re: package x264 - join 2 xml-versions | |
|
|
Administrator Posts: 426 Registered: 2004-09-09 | The configure summary state that x264 is enabled and the built binary links to it, so I very much assume that x264 support is working; I haven't tested it in detail, though. avidemux is now in the main repo. |
|
|
|
|
|
Re: package x264 - join 2 xml-versions | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | tested and working. |
|
|
|
|
|