Last active
January 31, 2016 15:37
-
-
Save wenLiangcan/f2655ad6ba1509017123 to your computer and use it in GitHub Desktop.
Revisions
-
wenLiangcan revised this gist
Jan 31, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ pkgname=xmradio-git pkgver=0.5.1.14.ga5187cc pkgrel=1 pkgdesc="xmradio is a tiny Internet Xia Mi Radio client for Linux, which supports many radio style, skin builtin and many other features." arch=('x86_64' 'i686') url="https://github.com/timxx/xmradio" license=('GPL3') depends=('dbus' 'vlc') -
wenLiangcan revised this gist
Jan 31, 2016 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,7 +27,6 @@ makedepends=('git' 'libpeas') source=("git://github.com/timxx/xmradio.git") install="${pkgname}.install" md5sums=('SKIP') pkgver() { -
wenLiangcan revised this gist
Jan 31, 2016 . 1 changed file with 11 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ post_install() { sudo glib-compile-schemas '/usr/share/glib-2.0/schemas' } post_upgrade() { post_install } post_remove() { post_install } -
wenLiangcan created this gist
Jan 31, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,51 @@ # Maintainer: Vic Luo <[email protected]> pkgname=xmradio-git pkgver=0.5.1.14.ga5187cc pkgrel=1 pkgdesc="xmradio is a tiny Internet Xia Mi Radio client for Linux, which supports many radio style, skin builtin and many other features." arch=('any') url="https://github.com/timxx/xmradio" license=('GPL3') depends=('dbus' 'vlc') makedepends=('git' 'cmake' 'gcc' 'gettext' 'intltool' 'pkg-config' 'zlib' 'sqlite' 'libnotify' 'glib2' 'curl' 'libxml2' 'gtk3' 'dbus-glib' 'libdbusmenu-glib' 'gstreamer' 'libpeas') source=("git://github.com/timxx/xmradio.git") install="${pkgname}.install" md5sums=('SKIP') pkgver() { cd "xmradio" git describe --tags | sed 's/-/./g' } build() { cd "xmradio" mkdir build cd build echo "$pkgdir" cmake .. -DCMAKE_INSTALL_PREFIX="/usr" make } package() { cd "xmradio/build" make DESTDIR="$pkgdir/" install }