Commit 9416d4cf authored by José Mª. Fernández's avatar José Mª. Fernández

media-video/smtube-18.9.0 version bump

parent d2a6db40
DIST smtube-1.8.tar.bz2 362027 SHA256 00978f6bf63cff112fefa93928494f5fe52c8dd720ceae67d6cfc4aee250aa89 SHA512 ae649e18f3efb367f48f49816244050e730a03b4aca8f36a8e7b799ec333177fd94d45a12cda03788a0eaacf8c486c4962f686872e8877ba960627fbb2c5a621 WHIRLPOOL 393a5f3cc1230a10c63cd6b257b6d4e9ec303f9afa157658d9af7cadb00b2a623531f6fe418003eb4917b3fdafa3e7eabbb9c7ba83912c0fdbeafafd8019a912
EBUILD smtube-1.8.ebuild 1265 SHA256 1bdb2dcc9dd0e057fbeecdce06a66f24f87832a1062d4daeed37d10ad6eb015f SHA512 6168898679b7294937a8229ab12bad3431af173410486e0f7e34112c7e883374aad3c1946fbe0c03e239c9de99b0c57ac9f2a6df18a6846d96e637fe090e5960 WHIRLPOOL c56b7abf7a8c95425c99c7521748042be73b335b9cfc351c13e2ad0ef20b0040c25dd3a4db1e75490aa0b58ab01a21ba07c76548210f25e4e14f1e74377c53fd
DIST smtube-18.9.0.tar.bz2 749574 BLAKE2B 790a6c9035180bf0656a7cd7f9109a5fd45f3258b3ce7d2e410c1a1f63676bb05f287c6a91cead1b17462d395ab00a3a61398f3c4fafea631c93a1546ab2dc36 SHA512 4372768d6c0153db3498dc0933de2561a00abc62a63e2556bef8ccbd390ae3bb12304ec76364a30583e5a8261afcf2038efc71b8a78eb9f3afb3a7ae8f509c08
EBUILD smtube-18.9.0.ebuild 1481 BLAKE2B 9121a0b0777069582f8d6085b87dc15ea6fbb9d5819a37c1e84de0eb11130be1d18ae8e5c557531b94608abdc0d56fb4cf377d88f6f788ac14ee65a07759c7d7 SHA512 31a78053447d79b11b8d046e8e5105579cb5ff12977628b590b37ca3678a924d46657d7862988405970f4917aee4c7c42165bb2feadee79e938340de025bfd36
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PLOCALES="cs el en es eu fi gl he_IL hu ja ka lt ms_MY nn_NO pl pt_BR pt ru_RU sv tr uk zh_CN"
inherit l10n qt4-r2
DESCRIPTION="A youtube search and play add-on for smplayer"
HOMEPAGE="http://smplayer.sourceforge.net/"
SRC_URI="mirror://sourceforge/smplayer/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="dev-qt/qtgui:4"
RDEPEND="${RDEPEND}
media-video/smplayer"
src_prepare() {
remove_translation() {
sed -i -e "s:translations/${PN}_${1}.ts::" src/${PN}.pro || die "removing translation ${1} from src/${PN}.pro failed"
}
sed -i \
-e '/^PREFIX=/s:/usr/local:/usr:' \
-e "/^DOC_PATH/s:${PN}:${PF}:" \
-e 's/&& $(QMAKE) $(QMAKE_OPTS)//' \
Makefile || die "sed on Makefile failed"
echo "#define SVN_REVISION \"SVN-${PV} (Gentoo)\"" > src/svn_revision.h
# remove unneeded files
rm Copying.txt Copying_BSD.txt || die 'remove unneeded files failed'
l10n_find_plocales_changes "src/translations" "${PN}_" '.ts'
l10n_for_each_disabled_locale_do remove_translation
qt4-r2_src_prepare
}
src_configure() {
pushd src &>/dev/null || die 'failed to change directory'
eqmake4
popd &>/dev/null
}
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PLOCALES="bg cs da de en_GB en es eu fr gl he_IL hr hu it ja ko ms nn_NO pl pt_BR pt ru sq sr tr uk zh_CN zh_TW"
PLOCALE_BACKUP="en"
inherit desktop l10n qmake-utils
DESCRIPTION="A youtube search and play add-on for smplayer"
HOMEPAGE="http://www.smtube.org/"
SRC_URI="mirror://sourceforge/smtube/${P}.tar.bz2"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-2+"
SLOT="0"
# Deps in makefile seemed to be -core, -network, -script, -gui, -webkit, but the
# given packages seem to be deprecated...
CDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5[ssl]
dev-qt/qtscript:5
dev-qt/qtwebkit:5
dev-qt/qtwidgets:5
"
DEPEND="${CDEPEND}
dev-qt/linguist-tools:5
"
RDEPEND="${CDEPEND}
|| (
media-video/smplayer
media-video/mpv
media-video/mplayer
media-video/vlc
media-video/totem
media-video/gnome-mplayer
)
"
gen_translation() {
"$(qt5_get_bindir)"/lrelease ${PN}_${1}.ts
eend $? || die "failed to generate $1 translation"
}
src_compile() {
eqmake5 src/${PN}.pro
emake
cd "${S}"/src/translations
l10n_for_each_locale_do gen_translation
}
install_locale() {
insinto /usr/share/${PN}/translations
doins "${S}"/src/translations/${PN}_${1}.qm
eend $? || die "failed to install $1 translation"
}
src_install() {
dobin ${PN}
domenu ${PN}.desktop
newicon icons/${PN}_64.png ${PN}.png
dodoc Changelog
l10n_for_each_locale_do install_locale
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment