Package Base Details: avidemux-git

Git Clone URL: https://aur.archlinux.org/avidemux-git.git (read-only, click to copy)
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 24
Popularity: 0.000294
First Submitted: 2014-10-16 16:44
Last Updated: 2019-03-17 18:34

Latest Comments

« First ‹ Previous ... 3 4 5 6 7 8

TheSaint commented on 2012-09-13 17:07

OK. This is also an option. Just modify the question function. The function quits as soon as one option is taken. It's also possible to repeat in order to set all options. I'll get there very soon.
BTW my GTK setup realize uncomplete compare the QT4 one. Have you tried out?

sl1pkn07 commented on 2012-09-13 12:44

if you need instal all? or cli+gtk or cli+qt or gtk+qt, or only cli, or....

TheSaint commented on 2012-09-13 09:55

#Revision fulvio at pc_dot_jaring_dot_my
#Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>

question() {
_buildCORE="--with-core"
_buildCLI="--with-cli"
_buildGTK="--without-gtk"
_buildQT="--without-qt4"
_buildPLG="--with-plugins"

echo -n "Do you want to install GTK or QT4 front-end or cli only? (/q/g/c) "
while read -r -n1 answer; do
case ${answer,,} in
g) depends+=('gtk2')
_buildGTK="--with-gtk"
echo -E ''
break;;
q) depends+=('qt')
_buildQT="--with-qt4"
echo -E ''
break;;
c) echo -E ''
break;;
*) echo -ne '\r '
echo -ne "\rplease enter q or g or Q or G "
esac
done
}
pkgname=avidemux-2.6-git
pkgver=20120707
pkgrel=1
pkgdesc="A graphical tool to edit video(filter/re-encode/split).git version."
arch=('i686' 'x86_64')
url="http://www.avidemux.org/"
license=('GPL2')
depends=('pkg-config' 'libpulse' 'libdca' 'faac' 'lame' 'xvidcore' 'opencore-amr' 'libvpx' 'faad2' 'jack' 'aften' 'x264' 'mesa' 'libva' 'dcaenc')
makedepends=('cmake' 'git' 'yasm')
provides=('avidemux2.6')
options=('!makeflags')

_gitroot=git://gitorious.org/avidemux2-6/avidemux2-6.git
_gitname=avidemux2-6


build() {
cd "${srcdir}"

msg "Connecting to GIT server..."

if [ -d "${_gitname}" ] ; then
cd "${_gitname}" && git pull --depth=1 && cd "${srcdir}"
else
git clone --depth=1 "${_gitroot}" && cd "${srcdir}"
fi

rm -fr "${_gitname}"-build
cp -R "${_gitname}" "${_gitname}"-build

msg "GIT checkout done or server timeout"
msg "Starting make..."

cd "${_gitname}"-build
question
bash bootStrap.bash ${_buildCORE} ${_buildCLI} ${_buildGTK} ${_buildQT} ${_buildPLG}

}

package() {
cp -R "${srcdir}"/${_gitname}-build/install/* "${pkgdir}"/
}

TheSaint commented on 2012-09-13 09:54

#Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>

question() {
_buildCORE="--with-core"
_buildCLI="--with-cli"
_buildGTK="--without-gtk"
_buildQT="--without-qt4"
_buildPLG="--with-plugins"

echo -n "Do you want to install GTK or QT4 front-end or cli only? (/q/g/c) "
while read -r -n1 answer; do
case ${answer,,} in
g) depends+=('gtk2')
_buildGTK="--with-gtk"
echo -E ''
break;;
q) depends+=('qt')
_buildQT="--with-qt4"
echo -E ''
break;;
c) echo -E ''
break;;
*) echo -ne '\r '
echo -ne "\rplease enter q or g or Q or G "
esac
done
}
pkgname=avidemux-2.6-git
pkgver=20120707
pkgrel=1
pkgdesc="A graphical tool to edit video(filter/re-encode/split).git version."
arch=('i686' 'x86_64')
url="http://www.avidemux.org/"
license=('GPL2')
depends=('pkg-config' 'libpulse' 'libdca' 'faac' 'lame' 'xvidcore' 'opencore-amr' 'libvpx' 'faad2' 'jack' 'aften' 'x264' 'mesa' 'libva' 'dcaenc')
makedepends=('cmake' 'git' 'yasm')
provides=('avidemux2.6')
options=('!makeflags')

_gitroot=git://gitorious.org/avidemux2-6/avidemux2-6.git
_gitname=avidemux2-6


build() {
cd "${srcdir}"

msg "Connecting to GIT server..."

if [ -d "${_gitname}" ] ; then
cd "${_gitname}" && git pull --depth=1 && cd "${srcdir}"
else
git clone --depth=1 "${_gitroot}" && cd "${srcdir}"
fi

rm -fr "${_gitname}"-build
cp -R "${_gitname}" "${_gitname}"-build

msg "GIT checkout done or server timeout"
msg "Starting make..."

cd "${_gitname}"-build
question
bash bootStrap.bash ${_buildCORE} ${_buildCLI} ${_buildGTK} ${_buildQT} ${_buildPLG}

}

package() {
cp -R "${srcdir}"/${_gitname}-build/install/* "${pkgdir}"/
}

TheSaint commented on 2012-09-13 09:53

You should modify something. Regarding the installation you could do :

1) Naming the package according the given options CLI GTK QT4. One for each option and perhaps plugins separated package, too
2) write a warning to inform the end-user to choose the option what he/she wants.
3) Adopt my modified PKGBUILD which let choose within CLI GTK QT4. The plugins options is left as default. BTW pkg-config dependancy is written in. So whatever one has it or not it will not complain.

PKGBUILD HERE >>>

sl1pkn07 commented on 2012-04-09 09:36

pkg-config is from core. no need

andreas_baumann commented on 2012-04-09 09:13

The build missed 'pkg-config' and 'yasm' as dependencies.

sl1pkn07 commented on 2012-01-13 22:14

git branch is outdate (october 2011)

use avidemux-2.6-svn instead

Anonymous comment on 2012-01-13 19:43

*********************
*** Miscellaneous ***
gettext Yes
SDL Yes
XVideo Yes
VDPAU Yes
*********************
*** Release Build ***
*********************
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

AVIDEMUX_SOURCE_DIR


-- Build files have been written to: /tmp/packerbuild-0/avidemux-2.6-git/avidemux-2.6-git/src/avidemux-2.6/buildQt4
** Failed at make**
==> ERROR: A failure occurred in build().
Aborting...

What the hell does that mean?