diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2014-04-26 17:36:59 +0000 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2014-04-26 17:36:59 +0000 |
commit | 93b55c8e287e49c24614eaf339d402a412ff68fa (patch) | |
tree | f65f2ab312962f282de807314638ae670257cdd6 /media-video/smplayer2 | |
parent | Update mime database and icon cache, unify live and release ebuilds, clean ol... (diff) | |
download | gentoo-2-93b55c8e287e49c24614eaf339d402a412ff68fa.tar.gz gentoo-2-93b55c8e287e49c24614eaf339d402a412ff68fa.tar.bz2 gentoo-2-93b55c8e287e49c24614eaf339d402a412ff68fa.zip |
Update mime database and icon cache, add missing dependency on dev-qt/qtcore, clean old, bug #508130. Thanks to Nikoli.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
Diffstat (limited to 'media-video/smplayer2')
-rw-r--r-- | media-video/smplayer2/ChangeLog | 11 | ||||
-rw-r--r-- | media-video/smplayer2/smplayer2-0.7.0_pre20111120.ebuild | 56 | ||||
-rw-r--r-- | media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild | 56 | ||||
-rw-r--r-- | media-video/smplayer2/smplayer2-0.7.3_p20120524.ebuild | 57 | ||||
-rw-r--r-- | media-video/smplayer2/smplayer2-0.8.0_p20121214.ebuild | 52 | ||||
-rw-r--r-- | media-video/smplayer2/smplayer2-0.8.0_p20130111.ebuild | 25 |
6 files changed, 29 insertions, 228 deletions
diff --git a/media-video/smplayer2/ChangeLog b/media-video/smplayer2/ChangeLog index 2c122f1dbea8..3a6fe279f567 100644 --- a/media-video/smplayer2/ChangeLog +++ b/media-video/smplayer2/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-video/smplayer2 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer2/ChangeLog,v 1.16 2013/10/13 10:16:48 tomwij Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer2/ChangeLog,v 1.17 2014/04/26 17:36:59 maksbotan Exp $ + + 26 Apr 2014; Maxim Koltsov <maksbotan@gentoo.org> + -smplayer2-0.7.0_pre20111120.ebuild, -smplayer2-0.7.1_p20120301.ebuild, + -smplayer2-0.7.3_p20120524.ebuild, -smplayer2-0.8.0_p20121214.ebuild, + smplayer2-0.8.0_p20130111.ebuild: + Update mime database and icon cache, add missing dependency on dev-qt/qtcore, + clean old, bug #508130. Thanks to Nikoli. 13 Oct 2013; Tom Wijsman <TomWij@gentoo.org> metadata.xml: Updated Nikoli's e-mail address for easier automatic assignment. diff --git a/media-video/smplayer2/smplayer2-0.7.0_pre20111120.ebuild b/media-video/smplayer2/smplayer2-0.7.0_pre20111120.ebuild deleted file mode 100644 index 29277cd47046..000000000000 --- a/media-video/smplayer2/smplayer2-0.7.0_pre20111120.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer2/smplayer2-0.7.0_pre20111120.ebuild,v 1.5 2013/03/02 22:42:57 hwoarang Exp $ - -EAPI="4" -LANGS="bg ca cs da de en_US es et eu fi fr gl hu it ja ka ko ku lt mk nl pl pt pt_BR sk sr sv tr zh_CN zh_TW" -LANGSLONG="ar_SY el_GR ro_RO ru_RU sl_SI uk_UA vi_VN" - -inherit base cmake-utils - -DESCRIPTION="Qt4 GUI front-end for mplayer2" -HOMEPAGE="https://github.com/lachs0r/SMPlayer2" -SRC_URI="http://rion-overlay.googlecode.com/files/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="debug +download-subs" -for x in ${LANGS}; do - IUSE="${IUSE} linguas_${x}" -done -for x in ${LANGSLONG}; do - IUSE="${IUSE} linguas_${x%_*}" -done - -DEPEND=" - dev-qt/qtgui:4 - download-subs? ( dev-libs/quazip ) -" -RDEPEND="${DEPEND} - media-video/mplayer2[libass,png] -" - -src_prepare() { - sed -i -e '/Categories/s/KDE/KDE;/' "${PN}".desktop || die 'sed on smplayer2.desktop file failed' - sed -i -e '/Categories/s/KDE/KDE;/' "${PN}"_enqueue.desktop || die 'sed on smplayer2_enqueue.desktop file failed' - base_src_prepare -} - -src_configure() { - # linguas - local langs x - for x in ${LANGS}; do - use linguas_${x} && langs+=" ${x}" - done - for x in ${LANGSLONG}; do - use linguas_${x%_*} && langs+=" ${x}" - done - - local mycmakeargs=( - -DLINGUAS="${langs}" - "$(cmake-utils_use debug DEBUG_OUTPUT)" - "$(cmake-utils_use download-subs ENABLE_DOWNLOAD_SUBS)" - ) - cmake-utils_src_configure -} diff --git a/media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild b/media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild deleted file mode 100644 index 892a3edb3379..000000000000 --- a/media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild,v 1.5 2013/03/02 22:42:57 hwoarang Exp $ - -EAPI="4" -LANGS="bg ca cs da de en_US es et eu fi fr gl hu it ja ka ko ku lt mk nl pl pt pt_BR sk sr sv tr zh_CN zh_TW" -LANGSLONG="ar_SY el_GR ro_RO ru_RU sl_SI uk_UA vi_VN" - -inherit base cmake-utils - -DESCRIPTION="Qt4 GUI front-end for mplayer2" -HOMEPAGE="https://github.com/lachs0r/SMPlayer2" -SRC_URI="http://rion-overlay.googlecode.com/files/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="debug +download-subs" -for x in ${LANGS}; do - IUSE="${IUSE} linguas_${x}" -done -for x in ${LANGSLONG}; do - IUSE="${IUSE} linguas_${x%_*}" -done - -DEPEND=" - dev-qt/qtgui:4 - download-subs? ( dev-libs/quazip ) -" -RDEPEND="${DEPEND} - media-video/mplayer2[libass,png] -" - -src_prepare() { - sed -i -e '/Categories/s/KDE/KDE;/' "${PN}".desktop || die 'sed on smplayer2.desktop file failed' - sed -i -e '/Categories/s/KDE/KDE;/' "${PN}"_enqueue.desktop || die 'sed on smplayer2_enqueue.desktop file failed' - base_src_prepare -} - -src_configure() { - # linguas - local langs x - for x in ${LANGS}; do - use linguas_${x} && langs+=" ${x}" - done - for x in ${LANGSLONG}; do - use linguas_${x%_*} && langs+=" ${x}" - done - - local mycmakeargs=( - -DLINGUAS="${langs}" - "$(cmake-utils_use debug DEBUG_OUTPUT)" - "$(cmake-utils_use download-subs ENABLE_DOWNLOAD_SUBS)" - ) - cmake-utils_src_configure -} diff --git a/media-video/smplayer2/smplayer2-0.7.3_p20120524.ebuild b/media-video/smplayer2/smplayer2-0.7.3_p20120524.ebuild deleted file mode 100644 index 499ca68a26b2..000000000000 --- a/media-video/smplayer2/smplayer2-0.7.3_p20120524.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer2/smplayer2-0.7.3_p20120524.ebuild,v 1.8 2013/07/29 08:29:41 pinkbyte Exp $ - -EAPI="4" -LANGS="bg ca cs da de en_US es et eu fi fr gl hu it ja ka ko ku lt mk nl pl pt pt_BR sk sr sv tr zh_CN zh_TW" -LANGSLONG="ar_SY el_GR ro_RO ru_RU sl_SI uk_UA vi_VN" - -inherit base cmake-utils - -DESCRIPTION="Qt4 GUI front-end for mplayer2" -HOMEPAGE="https://github.com/lachs0r/SMPlayer2" -SRC_URI="http://rion-overlay.googlecode.com/files/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm x86" -IUSE="dbus debug +download-subs" -for x in ${LANGS}; do - IUSE="${IUSE} linguas_${x}" -done -for x in ${LANGSLONG}; do - IUSE="${IUSE} linguas_${x%_*}" -done - -DEPEND=" - dev-qt/qtgui:4 - dbus? ( dev-qt/qtdbus:4 ) - download-subs? ( dev-libs/quazip ) -" -RDEPEND="${DEPEND} - media-video/mplayer2[libass,png] -" - -src_prepare() { - sed -i -e '/Categories/s/KDE/KDE;/' "${PN}".desktop || die 'sed on desktop file failed' - base_src_prepare -} - -src_configure() { - # linguas - local langs x - for x in ${LANGS}; do - use linguas_${x} && langs+=" ${x}" - done - for x in ${LANGSLONG}; do - use linguas_${x%_*} && langs+=" ${x}" - done - - local mycmakeargs=( - -DLINGUAS="${langs}" - "$(cmake-utils_use dbus ENABLE_DBUS)" - "$(cmake-utils_use debug DEBUG_OUTPUT)" - "$(cmake-utils_use download-subs ENABLE_DOWNLOAD_SUBS)" - ) - cmake-utils_src_configure -} diff --git a/media-video/smplayer2/smplayer2-0.8.0_p20121214.ebuild b/media-video/smplayer2/smplayer2-0.8.0_p20121214.ebuild deleted file mode 100644 index 39cad7f8a556..000000000000 --- a/media-video/smplayer2/smplayer2-0.8.0_p20121214.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer2/smplayer2-0.8.0_p20121214.ebuild,v 1.4 2013/07/29 08:29:41 pinkbyte Exp $ - -EAPI="4" -LANGS="bg ca cs da de en_US es et eu fi fr gl hu it ja ka ko ku lt mk nl pl pt pt_BR sk sr sv tr zh_CN zh_TW" -LANGSLONG="ar_SY el_GR ro_RO ru_RU sl_SI uk_UA vi_VN" - -inherit cmake-utils - -DESCRIPTION="Qt4 GUI front-end for mplayer2" -HOMEPAGE="https://github.com/lachs0r/SMPlayer2" -SRC_URI="http://rion-overlay.googlecode.com/files/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~x86" -IUSE="dbus debug +download-subs" -for x in ${LANGS}; do - IUSE="${IUSE} linguas_${x}" -done -for x in ${LANGSLONG}; do - IUSE="${IUSE} linguas_${x%_*}" -done - -DEPEND=" - dev-qt/qtgui:4 - dbus? ( dev-qt/qtdbus:4 ) - download-subs? ( dev-libs/quazip ) -" -RDEPEND="${DEPEND} - >=media-video/mplayer2-2.0_p20121128[libass,png] -" - -src_configure() { - # linguas - local langs x - for x in ${LANGS}; do - use linguas_${x} && langs+=" ${x}" - done - for x in ${LANGSLONG}; do - use linguas_${x%_*} && langs+=" ${x}" - done - - local mycmakeargs=( - -DLINGUAS="${langs}" - "$(cmake-utils_use dbus ENABLE_DBUS)" - "$(cmake-utils_use debug DEBUG_OUTPUT)" - "$(cmake-utils_use download-subs ENABLE_DOWNLOAD_SUBS)" - ) - cmake-utils_src_configure -} diff --git a/media-video/smplayer2/smplayer2-0.8.0_p20130111.ebuild b/media-video/smplayer2/smplayer2-0.8.0_p20130111.ebuild index 7af66286acbf..80089c9f4dea 100644 --- a/media-video/smplayer2/smplayer2-0.8.0_p20130111.ebuild +++ b/media-video/smplayer2/smplayer2-0.8.0_p20130111.ebuild @@ -1,16 +1,16 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer2/smplayer2-0.8.0_p20130111.ebuild,v 1.7 2013/07/29 08:29:41 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer2/smplayer2-0.8.0_p20130111.ebuild,v 1.8 2014/04/26 17:36:59 maksbotan Exp $ -EAPI="4" +EAPI="5" LANGS="bg ca cs da de en_US es et eu fi fr gl hu it ja ka ko ku lt mk nl pl pt pt_BR sk sr sv tr zh_CN zh_TW" LANGSLONG="ar_SY el_GR ro_RO ru_RU sl_SI uk_UA vi_VN" -inherit cmake-utils +inherit cmake-utils fdo-mime gnome2-utils DESCRIPTION="Qt4 GUI front-end for mplayer2" HOMEPAGE="https://github.com/lachs0r/SMPlayer2" -SRC_URI="http://rion-overlay.googlecode.com/files/${P}.tar.xz" +SRC_URI="https://rion-overlay.googlecode.com/files/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" @@ -24,6 +24,7 @@ for x in ${LANGSLONG}; do done DEPEND=" + dev-qt/qtcore:4 dev-qt/qtgui:4 dbus? ( dev-qt/qtdbus:4 ) download-subs? ( dev-libs/quazip ) @@ -50,3 +51,17 @@ src_configure() { ) cmake-utils_src_configure } + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} |