diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libkate |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libkate')
-rw-r--r-- | media-libs/libkate/Manifest | 10 | ||||
-rw-r--r-- | media-libs/libkate/files/libkate-0.3.7-libpng14.patch | 38 | ||||
-rw-r--r-- | media-libs/libkate/libkate-0.3.7-r1.ebuild | 53 | ||||
-rw-r--r-- | media-libs/libkate/libkate-0.4.1-r1.ebuild | 49 | ||||
-rw-r--r-- | media-libs/libkate/libkate-0.4.1-r2.ebuild | 53 | ||||
-rw-r--r-- | media-libs/libkate/libkate-0.4.1-r3.ebuild | 54 | ||||
-rw-r--r-- | media-libs/libkate/metadata.xml | 21 |
7 files changed, 278 insertions, 0 deletions
diff --git a/media-libs/libkate/Manifest b/media-libs/libkate/Manifest new file mode 100644 index 000000000000..d58f2fcc3d65 --- /dev/null +++ b/media-libs/libkate/Manifest @@ -0,0 +1,10 @@ +AUX libkate-0.3.7-libpng14.patch 1087 SHA256 8e6e288e7c8c115da33c3910cf491afd99b90e2bd301c5c7137415fe01ada5c4 SHA512 c70729ecddf9cf662875ec0946c6d50a9dd75cbe112ba9614bb2ee5f9fb78d3b1f58c6937bf12be63f22118902ab3d4f7b8b43322b8067d6cc1310230394dc19 WHIRLPOOL a60c1d178fa52590d0e11ac48f4efb7c5ff8793ee94d923d343509f67af4b542092db56b39304f832a1cc0ced56c246a091ba29b755252449c590f03bb41c5bd +DIST libkate-0.3.7.tar.gz 728239 SHA256 b9af203bb731de961807ad13820911fab57230d42da877336cf98c12c11c3c51 SHA512 4a9f123c271ac8e4df12ea0205160418fb9312a428894f18c8219c1f6569de1bd6ef233972ae3d2ee8ed25bb75a3c8868834ed945b308b0dbf469433c384f16b WHIRLPOOL 1aeaadb42509687159ddf70cbc5b699f92cfb535ba6304718960595afe539ee3946026fd6cb31bac922d7fc9172def8f23058e5225982d27d8da9ab09f15d66e +DIST libkate-0.4.1.tar.gz 906896 SHA256 c40e81d5866c3d4bf744e76ce0068d8f388f0e25f7e258ce0c8e76d7adc87b68 SHA512 2635237753abc0f6c43fc07bd0ecc57c2f3c893efa6c62ad08de9191045612477302ed45acd61cdfea7447efd654ebbe0ed2d6a2cbf867eb834581d7ee43377b WHIRLPOOL 8693527ea8680eded864aae49df840e2071eee434391f828b07224b4af279df0fbc6744af6be8a435aad5cdfb3124df10170bcead7b20a6d63ee3dacb1f28d1c +EBUILD libkate-0.3.7-r1.ebuild 1171 SHA256 a97a04d101035960e241fb00dcdb6da4537e5a67115e5914c335e3a5ba940070 SHA512 ab8f7fe7707aa90a72b362072dd4096a737811bf5da492cff71211df6006fab80d88a3d0a759e91a3dc7669a1af80e8aaeb27017adb9818a3b309b45a046205f WHIRLPOOL 338c108677e5cc9836a3faf0a8dff492e7d0d07a92a054da1b53e03ed0e5d2fe830fa792a41983ea14cde7d088efa0e52d49d97adf1b8421d9a3fe1200515ce5 +EBUILD libkate-0.4.1-r1.ebuild 1170 SHA256 59882b543aa1f2cf549d122c7a17ec5ae766fa4f525b383b5d7b819ff27ce819 SHA512 8a9cc877df61e2dca2425ebb7cc3f63cf15e95a55fc4bb9c0cea0357aca911f3d2f86dbd2a0b0cc2cd8a5b974b347484d71c2b34c5cbc38f6b8562bcf2c3bb6f WHIRLPOOL 2e398c043125f7b385151e99bd101768e4e3e5eaf75008856079bafa80f56b6c49f8bdd699895588d49df94ae1d86a4127f5ca26be6937f9c6990ac787abb0ee +EBUILD libkate-0.4.1-r2.ebuild 1169 SHA256 68f7d69cdbf7c563a603e103cde196d56078f9d9b10a3f56e650d5c9dc0b1c53 SHA512 e690f6d7e0a1bf864e9db0d559c0f0e0e3963b8c38c28b08067afdde91134f826592133b2fcdf852ff8c5abc68a7870173d2339330dbff8cbc7a9b054280a933 WHIRLPOOL c8da78dd39dc3574541cfbea8eb8a831230b1659eaf6b8b18d1bceb425120808c0708bd172b93e8f431e3bb4a1c8cb4d5984b050a96f0907a62512a8330cbcdb +EBUILD libkate-0.4.1-r3.ebuild 1318 SHA256 5e289014f7e3d40286ade06d3c30338babde788ebdd787be2908ec80025de72f SHA512 692ef685b3bb8a6b8f7cab63f9884407322d608c8705611cbc6298b2b94f0b4b4850a3a7d828256472da32247a7685c957fe414e7b7c46ef152139e58e779237 WHIRLPOOL 11cefb7d4125a6b0affc7c292cf2e02eba64ac66081ec6c9919f0d7090c2b912341e5d50a56755647188437f8a95d87e998d70f9f758006bfe7defa33c859117 +MISC ChangeLog 2982 SHA256 dfc0738e4d7227466cbe20cf1e7bab7987f9b63cca926020f316493a34439e16 SHA512 c6e4699066d3044c8f1e88e9104a695cb48952fcaf367372c49cd38ee6357b942ab4c9aa1b9d1098ce081c2f16fb00ea459b652ac70759f08a71afdeb8a81604 WHIRLPOOL bee0320e9722cc450d1c3418386ca3d02bcb8671f4ff9dab20fa99b6737d081ea3f3816542ac6dff3eece108e95caff9b6e5793f249d495b669d97d3ca272c03 +MISC ChangeLog-2015 7354 SHA256 2cd5d45a330f84e5f79e5976e4e5617dfad9e82a254dd8e3191a351968bf945b SHA512 11f4819a0586de7aee8fb3cde573c7967debb0fff9245a7fe655c456257900a8956d34efcf55fd3e04d79af740b2011284313202762786e6a8989bcb342acc76 WHIRLPOOL 25a231e1ecf85f3822824bf25d4f656ffd87d3e659185498239401ebbc4e8c1c7b355c285bd941c726d613bcb232e27a46959f02ed9421bd9232bee02d2aac2b +MISC metadata.xml 1066 SHA256 594495924e7b0da76638655b9dda9d3c8e648b639b97cd8ce3c3ba7eb175db9a SHA512 510dadea430ae39da68a3cd97b4a7717b91fcc26cbb0303155718ba5e46d69d2e52e099b272ffe26f34149ef8fe01df80e332009fc905a4f262ef8030327da29 WHIRLPOOL 30a49ac53c2e3116dfd054a7650a7cff4b2546e963888eb882737bd52714d987cf53d8df37ada5a09387c9df5a630432c6dc4cf70201612bb6cbd733a69b1a25 diff --git a/media-libs/libkate/files/libkate-0.3.7-libpng14.patch b/media-libs/libkate/files/libkate-0.3.7-libpng14.patch new file mode 100644 index 000000000000..cb4e3474a6b5 --- /dev/null +++ b/media-libs/libkate/files/libkate-0.3.7-libpng14.patch @@ -0,0 +1,38 @@ +http://code.google.com/p/libkate/issues/detail?id=15 + +--- a/tools/kpng.c ++++ b/tools/kpng.c +@@ -179,13 +179,13 @@ + } + } + +- png_destroy_read_struct(&png_ptr,&info_ptr,png_infopp_NULL); ++ png_destroy_read_struct(&png_ptr,&info_ptr,NULL); + fclose(f); + + return 0; + + error: +- if (png_ptr) png_destroy_read_struct(&png_ptr,info_ptr?&info_ptr:png_infopp_NULL,png_infopp_NULL); ++ if (png_ptr) png_destroy_read_struct(&png_ptr,info_ptr?&info_ptr:NULL,NULL); + if (f) fclose(f); + return -1; + } +@@ -224,7 +224,7 @@ + if (w) *w=png_get_image_width(png_ptr,info_ptr); + if (h) *h=png_get_image_height(png_ptr,info_ptr); + +- png_destroy_read_struct(&png_ptr,&info_ptr,png_infopp_NULL); ++ png_destroy_read_struct(&png_ptr,&info_ptr,NULL); + + /* now read the whole file as a binary blob */ + fseek(f,0,SEEK_END); +@@ -246,7 +246,7 @@ + return 0; + + error: +- if (png_ptr) png_destroy_read_struct(&png_ptr,info_ptr?&info_ptr:png_infopp_NULL,png_infopp_NULL); ++ if (png_ptr) png_destroy_read_struct(&png_ptr,info_ptr?&info_ptr:NULL,NULL); + if (f) fclose(f); + return -1; + } diff --git a/media-libs/libkate/libkate-0.3.7-r1.ebuild b/media-libs/libkate/libkate-0.3.7-r1.ebuild new file mode 100644 index 000000000000..21462527f0de --- /dev/null +++ b/media-libs/libkate/libkate-0.3.7-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit python-single-r1 + +DESCRIPTION="Codec for karaoke and text encapsulation for Ogg" +HOMEPAGE="https://code.google.com/p/libkate/" +SRC_URI="https://libkate.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="doc wxwidgets" + +COMMON_DEPEND="media-libs/libogg:= + media-libs/libpng:0=" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + sys-devel/flex + sys-devel/bison + doc? ( app-doc/doxygen )" +RDEPEND="${COMMON_DEPEND} + wxwidgets? ( + ${PYTHON_DEPS} + =dev-python/wxpython-2.8*[${PYTHON_USEDEP}] + media-libs/liboggz )" + +REQUIRED_USE="wxwidgets? ( ${PYTHON_REQUIRED_USE} )" + +PATCHES=( + "${FILESDIR}"/${P}-libpng14.patch +) + +pkg_setup() { + use wxwidgets && python-single-r1_pkg_setup +} + +src_configure() { + if ! use wxwidgets; then + sed -i -e "s/HAVE_PYTHON=yes/HAVE_PYTHON=no/" configure || die + fi + + econf $(use_enable doc) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog README + use wxwidgets && python_fix_shebang "${D}" +} diff --git a/media-libs/libkate/libkate-0.4.1-r1.ebuild b/media-libs/libkate/libkate-0.4.1-r1.ebuild new file mode 100644 index 000000000000..4c932dfa287d --- /dev/null +++ b/media-libs/libkate/libkate-0.4.1-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit python-single-r1 + +DESCRIPTION="Codec for karaoke and text encapsulation for Ogg" +HOMEPAGE="https://code.google.com/p/libkate/" +SRC_URI="https://libkate.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="debug doc wxwidgets" + +COMMON_DEPEND="media-libs/libogg:= + media-libs/libpng:0=" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + sys-devel/flex + sys-devel/bison + doc? ( app-doc/doxygen )" +RDEPEND="${COMMON_DEPEND} + wxwidgets? ( + ${PYTHON_DEPS} + =dev-python/wxpython-2.8*[${PYTHON_USEDEP}] + media-libs/liboggz )" + +REQUIRED_USE="wxwidgets? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use wxwidgets && python-single-r1_pkg_setup +} + +src_configure() { + if ! use wxwidgets; then + sed -i -e "s/HAVE_PYTHON=yes/HAVE_PYTHON=no/" configure || die + fi + + econf $(use_enable debug) $(use_enable doc) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog README + use wxwidgets && python_fix_shebang "${D}" +} diff --git a/media-libs/libkate/libkate-0.4.1-r2.ebuild b/media-libs/libkate/libkate-0.4.1-r2.ebuild new file mode 100644 index 000000000000..c4fbac733ce6 --- /dev/null +++ b/media-libs/libkate/libkate-0.4.1-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit ltprune python-single-r1 + +DESCRIPTION="Codec for karaoke and text encapsulation for Ogg" +HOMEPAGE="https://code.google.com/p/libkate/" +SRC_URI="https://libkate.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" + +IUSE="debug doc wxwidgets" +REQUIRED_USE="wxwidgets? ( ${PYTHON_REQUIRED_USE} )" + +COMMON_DEPEND=" + media-libs/libogg:= + media-libs/libpng:0= +" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + sys-devel/flex + sys-devel/bison + doc? ( app-doc/doxygen ) +" +RDEPEND="${COMMON_DEPEND} + wxwidgets? ( + ${PYTHON_DEPS} + dev-python/wxpython:3.0[${PYTHON_USEDEP}] + media-libs/liboggz ) +" + +pkg_setup() { + use wxwidgets && python-single-r1_pkg_setup +} + +src_configure() { + if ! use wxwidgets; then + sed -i -e "s/HAVE_PYTHON=yes/HAVE_PYTHON=no/" configure || die + fi + + econf --disable-static $(use_enable debug) $(use_enable doc) +} + +src_install() { + default + prune_libtool_files + use wxwidgets && python_fix_shebang "${D}" +} diff --git a/media-libs/libkate/libkate-0.4.1-r3.ebuild b/media-libs/libkate/libkate-0.4.1-r3.ebuild new file mode 100644 index 000000000000..a2653bad4c34 --- /dev/null +++ b/media-libs/libkate/libkate-0.4.1-r3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit multilib-minimal python-single-r1 + +DESCRIPTION="Codec for karaoke and text encapsulation for Ogg" +HOMEPAGE="https://code.google.com/p/libkate/" +SRC_URI="https://libkate.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" + +IUSE="debug doc wxwidgets" +REQUIRED_USE="wxwidgets? ( ${PYTHON_REQUIRED_USE} )" + +COMMON_DEPEND=" + media-libs/libogg:=[${MULTILIB_USEDEP}] + media-libs/libpng:0=[${MULTILIB_USEDEP}] +" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig[${MULTILIB_USEDEP}] + sys-devel/flex[${MULTILIB_USEDEP}] + sys-devel/bison + doc? ( app-doc/doxygen ) +" +RDEPEND="${COMMON_DEPEND} + wxwidgets? ( + ${PYTHON_DEPS} + dev-python/wxpython:3.0[${PYTHON_USEDEP}] + media-libs/liboggz ) +" + +pkg_setup() { + use wxwidgets && python-single-r1_pkg_setup +} + +multilib_src_configure() { + local ECONF_SOURCE=${S} + econf \ + --disable-static \ + $(use_enable debug) \ + $(multilib_native_use_enable doc) \ + $(multilib_native_usex wxwidgets '' 'PYTHON=:') +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name '*.la' -delete || die + use wxwidgets && python_fix_shebang "${D}" +} diff --git a/media-libs/libkate/metadata.xml b/media-libs/libkate/metadata.xml new file mode 100644 index 000000000000..881e2d8c22ad --- /dev/null +++ b/media-libs/libkate/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>media-video@gentoo.org</email> + <name>Gentoo Video project</name> + </maintainer> + <longdescription lang="en">Kate is a codec for karaoke and text encapsulation for Ogg. Most of the + time, this would be multiplexed with audio/video to carry subtitles, + song lyrics (with or without karaoke data), etc, but doesn't have to be. + A possible use of a lone Kate stream would be an e-book. Moreover, the + motion feature gives Kate a powerful means to describe arbitrary curves, + so hand drawing of shapes can be achieved. This was originally meant for + karaoke use, but can be used for any purpose. Motions can be attached to + various semantics, like position, color, etc, so scrolling or fading + text can be defined. + More information can be found at http://wiki.xiph.org/index.php/OggKate</longdescription> + <upstream> + <remote-id type="google-code">libkate</remote-id> + </upstream> +</pkgmetadata> |