2010-06-07 21:17:49 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
2012-01-27 11:55:17 +08:00
|
|
|
|
2010-06-07 21:17:49 +08:00
|
|
|
pkgname=2mandvd
|
2012-08-31 01:25:27 +08:00
|
|
|
pkgver=1.8.4
|
|
|
|
pkgrel=1
|
2012-01-28 21:28:09 +08:00
|
|
|
pkgdesc="DVD Authoring Maker In Linux Environment."
|
2010-06-07 21:17:49 +08:00
|
|
|
url="http://2mandvd.tuxfamily.org/"
|
|
|
|
license=('GPL')
|
|
|
|
arch=('i686' 'x86_64')
|
2012-08-31 01:25:27 +08:00
|
|
|
install="${pkgname}.install"
|
|
|
|
depends=('qt>=4.6' 'sox' 'mplayer' 'mencoder' 'perl' 'netpbm' 'transcode' 'ffmpegthumbnailer' 'dvdauthor' 'mjpegtools' 'ttf-dejavu' 'dvd+rw-tools' 'exif')
|
2010-10-11 05:53:16 +08:00
|
|
|
optdepends=('xine-ui: to preview the result')
|
2012-01-28 21:28:09 +08:00
|
|
|
source=("http://download.tuxfamily.org/2mandvd/2ManDVD-${pkgver}.tar.gz"
|
|
|
|
'2mandvd.desktop'
|
|
|
|
'2mandvd.sh')
|
2012-08-31 01:25:27 +08:00
|
|
|
md5sums=('2e362b6d963b0698ee4911d28865d50d'
|
2010-06-07 21:17:49 +08:00
|
|
|
'1eaaeef9a5e7896482d51d489b781689'
|
|
|
|
'0112971f170034aff6efaafb9508b010')
|
|
|
|
|
|
|
|
build() {
|
2012-01-28 21:28:09 +08:00
|
|
|
cd "${srcdir}/2ManDVD"
|
2012-01-27 11:55:17 +08:00
|
|
|
|
2010-06-07 21:17:49 +08:00
|
|
|
qmake 2ManDVD.pro
|
|
|
|
|
2012-01-27 11:55:17 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package(){
|
2012-01-28 21:28:09 +08:00
|
|
|
cd "${srcdir}/2ManDVD"
|
2012-01-27 11:55:17 +08:00
|
|
|
|
2012-08-31 01:25:27 +08:00
|
|
|
sed -i "s|chmod -R 755 /usr/share/2ManDVD|chmod -R 755 \$(INSTALL_ROOT)/usr/share/2ManDVD|" Makefile
|
2010-06-07 21:17:49 +08:00
|
|
|
|
2012-08-31 01:25:27 +08:00
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
2012-01-27 11:55:17 +08:00
|
|
|
|
2012-08-31 01:25:27 +08:00
|
|
|
# install -d -m755 "${pkgdir}/opt/2ManDVD" "${pkgdir}/usr/bin"
|
|
|
|
# cp -R Bibliotheque Interface 2ManDVD fake.pl *.qm README.txt "${pkgdir}/opt/2ManDVD"
|
|
|
|
# install -D -m755 "${srcdir}/2mandvd.sh" "${pkgdir}/usr/bin/2ManDVD"
|
2010-06-07 21:17:49 +08:00
|
|
|
|
2012-08-31 01:25:27 +08:00
|
|
|
# # Fixing some right problems
|
|
|
|
# cd "${pkgdir}/opt/2ManDVD"
|
|
|
|
# find . -type f -print0 | xargs -0 -n1 chmod 644
|
|
|
|
|
|
|
|
# chmod 755 Bibliotheque Interface
|
|
|
|
# chmod +x 2ManDVD
|
|
|
|
# cd "${pkgdir}/opt/2ManDVD/Bibliotheque"
|
|
|
|
# chmod -R 777 *
|
|
|
|
|
|
|
|
# # Creating menu item
|
|
|
|
# install -D -m644 "${srcdir}/2ManDVD/Interface/mandvd.png" "${pkgdir}/usr/share/pixmaps/2mandvd.png"
|
|
|
|
# install -D -m644 "${srcdir}/2mandvd.desktop" "${pkgdir}/usr/share/applications/2mandvd.desktop"
|
2010-12-13 19:46:47 +08:00
|
|
|
}
|
2012-01-27 11:55:17 +08:00
|
|
|
|
2012-01-28 21:28:09 +08:00
|
|
|
# vim:set ts=2 sw=2 et:
|