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.000000
First Submitted: 2014-10-16 16:44
Last Updated: 2020-02-21 12:09

Latest Comments

« First ‹ Previous ... 3 4 5 6 7 8 9 Next › Last »

TheSaint commented on 2012-09-13 18:39

As you propose I modify the PKGBUILD. Whom like to apply this option may stop (CTLC C) here and copy-paste over the PKGBUILD if any difference. After use makepkg to setup with options.

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

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


GREEN='\e[34;1m'
NORMAL="\e[0m"
defaults
echo -e $GREEN"You have a choise to setup only CLI package"
echo -e "Additional options to select are:"
echo -e " GTK / QT4 front-end / plugins (/q/g/p) s to skip "
echo -e "Any other key to reset selection and repeat " $NORMAL

while read -r -n1 answer; do
case ${answer,,} in
g) depends+=('gtk2')
_buildGTK="--with-gtk"
echo -ne '\rGTK selected\n';;
q) depends+=('qt')
_buildQT="--with-qt4"
echo -ne '\rQT4 selected\n';;
p) _buildPLG="--with-plugins"
echo -ne '\rPlugins selected\n';;
s) echo -E ''
break;;
*) echo -ne '\rReset selections\n'
defaults;;
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 18:36

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?
I also correct a mistyped for the <<_builtGTK>> variable which has a ELLE missing at
bash bootStrap.bash ${_buildCORE} ${_buildCLI} ${_buildGTK} ${_buildQT} ${_buildPLG}
Which it means it will never compile GTK option, with you PKGBUILD

TheSaint commented on 2012-09-13 17:11

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?
I also correct a mistyped for the <<_builtGTK>> variable which has a ELLE missing at
bash bootStrap.bash ${_buildCORE} ${_buildCLI} ${_buildGTK} ${_buildQT} ${_buildPLG}
Which it means it will never compile GTK option, with you PKGBUILD

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.