mirror of
https://github.com/arcan1s/pkgbuild.git
synced 2025-04-24 23:47:17 +00:00
qsmmp-2013-09-16
This commit is contained in:
parent
7937ce690b
commit
12f27801e9
@ -2,50 +2,27 @@
|
|||||||
# Maintainer Evgeniy "arcanis" Alekseev <esalexeev@gmail.com>
|
# Maintainer Evgeniy "arcanis" Alekseev <esalexeev@gmail.com>
|
||||||
|
|
||||||
pkgname=qmmp-qsmmp-git
|
pkgname=qmmp-qsmmp-git
|
||||||
_pkgname=qmmp-qsmmp
|
_gitname=qsmmp
|
||||||
pkgver=20130914
|
pkgver=20130916
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="Amarok-like interface for qmmp. Git version."
|
pkgdesc="Amarok-like interface for qmmp. Git version"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://gitorious.org/qsmmp"
|
url="http://gitorious.org/qsmmp"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
depends=('qmmp' 'libqxt')
|
depends=('qmmp' 'libqxt')
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
install=${_pkgname}.install
|
source=("${_gitname}::git+https://gitorious.org/qsmmp/qsmmp.git#branch=qmmp-9999")
|
||||||
source=(${_pkgname}.desktop)
|
md5sums=('SKIP')
|
||||||
md5sums=('c22490f772c753f2ed6e611317b8d8d4')
|
|
||||||
|
|
||||||
_gitroot="git://gitorious.org/qsmmp/qsmmp.git"
|
|
||||||
_gitname="qsmmp"
|
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
cd ${srcdir}
|
cd ${srcdir}/${_gitname}
|
||||||
msg "Connecting to GIT server..."
|
qmake-qt4 PREFIX=/usr
|
||||||
if [[ -d ${_gitname} ]]; then
|
|
||||||
cd ${_gitname} && git pull origin
|
|
||||||
msg "The local files are updated"
|
|
||||||
else
|
|
||||||
git clone ${_gitroot} ${_gitname}
|
|
||||||
fi
|
|
||||||
msg "GIT checkout done or server timeout"
|
|
||||||
msg "Starting build..."
|
|
||||||
|
|
||||||
rm -rf ${srcdir}/${_gitname}-build
|
|
||||||
cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
|
|
||||||
cd ${srcdir}/${_gitname}-build
|
|
||||||
msg "Checkout to qmmp-9999"
|
|
||||||
git checkout origin/qmmp-9999
|
|
||||||
msg "Fix bug with building"
|
|
||||||
git reset --hard 3a477c0
|
|
||||||
|
|
||||||
qmake-qt4 PREFIX=/usr -Wnone
|
|
||||||
make || return 1
|
make || return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
package()
|
package()
|
||||||
{
|
{
|
||||||
cd ${srcdir}/${_gitname}-build
|
cd ${srcdir}/${_gitname}
|
||||||
make INSTALL_ROOT=${pkgdir} install || return 1
|
make INSTALL_ROOT=${pkgdir} install || return 1
|
||||||
install -D -m644 ${srcdir}/${_pkgname}.desktop $pkgdir/usr/share/applications/${_pkgname}.desktop || return 1
|
|
||||||
}
|
}
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
X-Desktop-File-Install-Version=0.11
|
|
||||||
Name=Qmmp-qsmmp
|
|
||||||
Comment=Qt4-based Multimedia Player
|
|
||||||
Comment[ru]=Медиа-проигрыватель на базе Qt4
|
|
||||||
Comment[uk]=Медіа-програвач на базі Qt4
|
|
||||||
Comment[cs]=Přehrávač hudby založený na Qt
|
|
||||||
Comment[tr]=Qt4 tabanlı Çokluortam Oynatıcı
|
|
||||||
Comment[de]=Qt4-basierter Audio-Player
|
|
||||||
Comment[zh_CN]=基于Qt4的多媒体播放器
|
|
||||||
Comment[zh_TW]=基于Qt4的多媒體播放器
|
|
||||||
GenericName=Audio player
|
|
||||||
GenericName[cs]=Přehrávač hudby
|
|
||||||
GenericName[de]=Audio-Player
|
|
||||||
GenericName[ru]=Аудио-проигрыватель
|
|
||||||
GenericName[uk]=Медіа-програвач
|
|
||||||
GenericName[tr]=Ses Oynatıcı
|
|
||||||
GenericName[zh_CN]=音乐播放器
|
|
||||||
GenericName[zh_TW]=音樂播放器
|
|
||||||
Exec=qmmp-qsmmp %F
|
|
||||||
Icon=qmmp
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
Categories=AudioVideo;Player;Audio;Qt;
|
|
||||||
MimeType=application/x-ogg;audio/mp3;audio/mpeg;audio/x-flac;audio/x-mp3;audio/x-mpeg;audio/x-ms-wma;audio/x-musepack;application/ogg;audio/x-vorbis+ogg;audio/x-scpls;audio/x-mpegurl;audio/x-it;audio/x-mod;audio/x-ape;application/x-cue;inode/directory;
|
|
||||||
X-KDE-StartupNotify=false
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
post_install() {
|
|
||||||
which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
|
|
||||||
}
|
|
||||||
|
|
||||||
post_upgrade() {
|
|
||||||
post_install $1
|
|
||||||
}
|
|
||||||
|
|
||||||
post_remove() {
|
|
||||||
post_install $1
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user