From 9f6f68813483e3adace787341393496686fdce42 Mon Sep 17 00:00:00 2001 From: Michael Weber Date: Sun, 23 Jun 2013 16:50:55 +0000 Subject: Migrate to netsurf.eclass Package-Manager: portage-2.2.0_alpha183/cvs/Linux x86_64 Manifest-Sign-Key: 0x62EEF090 --- media-libs/libsvgtiny/ChangeLog | 5 +- media-libs/libsvgtiny/Manifest | 15 +-- media-libs/libsvgtiny/libsvgtiny-0.1.0.ebuild | 129 +------------------------- 3 files changed, 11 insertions(+), 138 deletions(-) (limited to 'media-libs/libsvgtiny') diff --git a/media-libs/libsvgtiny/ChangeLog b/media-libs/libsvgtiny/ChangeLog index b3f8e9563e49..3e38e4b59108 100644 --- a/media-libs/libsvgtiny/ChangeLog +++ b/media-libs/libsvgtiny/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/libsvgtiny # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsvgtiny/ChangeLog,v 1.7 2013/06/22 09:51:09 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsvgtiny/ChangeLog,v 1.8 2013/06/23 16:50:54 xmw Exp $ + + 23 Jun 2013; Michael Weber libsvgtiny-0.1.0.ebuild: + Migrate to netsurf.eclass 22 Jun 2013; Julian Ospald libsvgtiny-0.1.0.ebuild: fix build failure caused by missing useflag xml in net-libs/libdom diff --git a/media-libs/libsvgtiny/Manifest b/media-libs/libsvgtiny/Manifest index 6a4e74fcdec7..37f9277b07a9 100644 --- a/media-libs/libsvgtiny/Manifest +++ b/media-libs/libsvgtiny/Manifest @@ -3,20 +3,15 @@ Hash: SHA256 DIST libsvgtiny-0.1.0-src.tar.gz 55580 SHA256 cd3d11837b0cfde7227954d257d2dfa13a3c29d54adfe185f9345e82b9ada089 SHA512 f41b9ed3fe7e8aa3d6b3001cf75f94e084d0c2c0843c01ba1a4e9e4322e72b38dd9e035a0b4a541c6cbe33922772bf5ecb15dd132534bd50c242e201d29d9370 WHIRLPOOL 2ceeb9117d54857333f8e7735d33b0e0857f505cc7cd0c4d2f495cd7cd4995ae2639df92d5616afcf794e3b95b1220440079ea2aa7942f3024afee9a2194b7db DIST netsurf-2.9-full-src.tar.gz 4621932 SHA256 ade6ade7f66ce2f0a80df724bafefd18c17165166111c490837737aa2e09ae9d SHA512 8dfd4d845f5255ee4420c6d4454594eb34dda129096b4d6acb72bd00e976042e7caf80b075ed39d3d3bf3b070c297f73f889075200bd7fb3d2467ca8154c07f0 WHIRLPOOL dfd1151d1c92cf374f5223113328c43f12537c4bc9b17caa831fb5c1febbf70a27766f20bf333867e5104bb03b1cd39f02eed0d351ceec901f922b759d7b330b -DIST netsurf-buildsystem-1.0-1.0.tar.gz 37026 SHA256 4495e8e12faf0ace668ab80401064ce7f65a195efe63c924c066a109649ff146 SHA512 763e10766ab16be375c40a226e36a95df5740ac62b5bbc4eb6d52693b83284d2e71d9a3d797f55c28853a5d2565182759ffa9bfb3d736daf21b347f418661c47 WHIRLPOOL a65d53424a34a796a1f85ed5d4a9ca9bf58eaba7246e5ea20bc7da09e0e8ab60e156ce47da521660d5567c6358fda0da744e56ccf52cda6e0db92b19a6055d38 DIST netsurf-buildsystem-1.0.tar.gz 37026 SHA256 4495e8e12faf0ace668ab80401064ce7f65a195efe63c924c066a109649ff146 SHA512 763e10766ab16be375c40a226e36a95df5740ac62b5bbc4eb6d52693b83284d2e71d9a3d797f55c28853a5d2565182759ffa9bfb3d736daf21b347f418661c47 WHIRLPOOL a65d53424a34a796a1f85ed5d4a9ca9bf58eaba7246e5ea20bc7da09e0e8ab60e156ce47da521660d5567c6358fda0da744e56ccf52cda6e0db92b19a6055d38 EBUILD libsvgtiny-0.0.2.ebuild 1637 SHA256 012d3437d593a438369b90130b29c58255763ccb2dc4ac03b7f516ca5c2b5f75 SHA512 5b42fede393306e1597e3c9b9f3e1641b068881711fef892676c951300641c31a42f65006bf27908387472075ec0635fb1b1838253cf76901b12c4091163f45e WHIRLPOOL 9da80ff84fdc7f6b99576ca94cba096fe5515ef9f6a2f10d922bc1e095737e0a98f37fb786d5f51b4275f536b8d981d6dab8bb223f5be73eedd2dfea04e1bd26 -EBUILD libsvgtiny-0.1.0.ebuild 3074 SHA256 836a3e0d7901b7dadb8cb6b6cf09c04a44c1f5dbaaa521a229df00f2859e4b3d SHA512 4031a7e4997a7082ac945f2f66d5bd5bee32aab566db1a3ec2a786e6d5e16dd57e148756873d20e84a5066d8be3ec83d69cc36a09553ef9863a41eb041b14640 WHIRLPOOL 26935d8b1d16c6ab9590df62a06c27248287bf9d59c03965b3585c44954ff5d3574abe1f9737182c966df24d5207ce05ca8c91045453e10443f015c44b087225 -MISC ChangeLog 1277 SHA256 6f6a949bc81a8932fa7b55c57f6be1dc4510f47ae5905347a9c5b31ddd04a7c7 SHA512 4d85d1a495750b80414c0cb30028d6a4a4808ded2671ea02eb4aacadee733e6798fa2d974d04e07394c83d0ddcfee335adc7188e55c974f5ac6253d324ffdcf1 WHIRLPOOL 43c75feda2a8e1e8d8b55ff9658e25e1ea36126fe51c64d87aefd0e47ac8561160640796501de6a8c82821e3b726cc97eccd965744e4ee4b7d587fcd57422fff +EBUILD libsvgtiny-0.1.0.ebuild 600 SHA256 70ce37d2b633993740be1c7cdf89fcbd59ada75927e83f5fc11748c3804a1225 SHA512 89a34661a9487fb2c24da920a210f0c61311b388d7bcff6d300cdaca72b70a59d7feb40ffac48f07802272257a89cbeb384d68ee9c7ec0410628ca36ce6b074d WHIRLPOOL 072a3fc32d803da8fbe9eb2538985f2c3d90b5f6446b6cc883b80cfb0d5e740f60dcb473105971f3bca72c5f86d1974810219285d5b491e77eeada28278dd468 +MISC ChangeLog 1372 SHA256 0c91aac13eecabc99c26f0be1d728c7fb1c66fa182168276725ad67af5839abe SHA512 2b8d57a7c0681cb8a8b29f62c8d14134931ac75523b008043365a779ce1da1a12406056705ac7ac56502c5f7ff5af5f662d60e672f9efaf8c714350e72b5d5cb WHIRLPOOL b96c501d7a3532caba14440c6f1cf4fb4d7e7514744ea25e43aa83b0442b6cea5e6026c60cf9a55f96498268093a15b967237e7bc46b9d433b56efe2733afbf0 MISC metadata.xml 224 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7 SHA512 4f78d959809ec0db2f9be2a7747d572fa8ee03d177044dd46574881a6ee83736510b76062c12daecae609282d197ba466e8a3e3a654b1383e04c659acd41bef5 WHIRLPOOL 0300a228d371c918b051bc24859dfe4e5d0d2a71b80f697f202749c5aca69efcee4be6e69454c9abfa4ced28e19a9d1f71d6d7eaf54290b8d03b5c04fd209868 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iQEcBAEBCAAGBQJRxXORAAoJEFpvPKfnPDWzhVwH/jFNiMWXP+WngH8bGRl7MFPe -2oHiAJmJLscvZVFktFs+dd7KwuX1fI6ZGaIfeENwEgVPhTgewvsZGl88keh07MLA -weMFBhS9PCe4YE5COPEg5A8iolqLINWWubCJ9dwmJddv1HJZSnghAkiyuHi5Twqe -STfstGfyrQTx1VlmuiMrsLnxXof9Tjjevlqd62+bkBP/NKtP+LbQuh5PQqZ+/DUK -xRv9ORIhSHlA9gzx3KgXUy0Uapfs0Z2zjiBc76Gg2ng5UiQwS8ntWZUpYUr66Es7 -nQG4zu/3Hw0wV4/OXDZxhRRHcHWvjUQ234Tje6IyeyRGNAMNc+9DYvEEkJXq3vs= -=ZRum +iF4EAREIAAYFAlHHJ2oACgkQknrdDGLu8JAAUwEAhPpl9NdJSWK8U4DQWZCY5NC0 +y1G5UzbxN+iIRkLwH7MA/2dvkb8oe3WsBpMd8ylpp3N9C0uos5ytwBB97RbtTgG8 +=pj6w -----END PGP SIGNATURE----- diff --git a/media-libs/libsvgtiny/libsvgtiny-0.1.0.ebuild b/media-libs/libsvgtiny/libsvgtiny-0.1.0.ebuild index f17cd8b08649..883a91d1dc67 100644 --- a/media-libs/libsvgtiny/libsvgtiny-0.1.0.ebuild +++ b/media-libs/libsvgtiny/libsvgtiny-0.1.0.ebuild @@ -1,16 +1,13 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsvgtiny/libsvgtiny-0.1.0.ebuild,v 1.2 2013/06/22 09:51:09 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsvgtiny/libsvgtiny-0.1.0.ebuild,v 1.3 2013/06/23 16:50:54 xmw Exp $ EAPI=5 -inherit base toolchain-funcs multilib-minimal +inherit netsurf DESCRIPTION="framebuffer abstraction library, written in C" HOMEPAGE="http://www.netsurf-browser.org/projects/libsvgtiny/" -NETSURF_BUILDSYSTEM="buildsystem-1.0" -SRC_URI="http://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz - http://download.netsurf-browser.org/libs/releases/${NETSURF_BUILDSYSTEM}.tar.gz -> netsurf-${NETSURF_BUILDSYSTEM}-1.0.tar.gz" LICENSE="MIT" SLOT="0" @@ -21,125 +18,3 @@ RDEPEND=">=net-libs/libdom-0.0.1[xml,static-libs?,${MULTILIB_USEDEP}] >=dev-libs/libwapcaplet-0.2.0[static-libs?,${MULTILIB_USEDEP}]" DEPEND="${RDEPEND} dev-util/gperf" - -### future context of netsurf.eclass - -NETSURF_BUILDSYSTEM="${NETSURF_BUILDSYSTEM:-buildsystem-1.0}" -SRC_URI=${SRC_URI:-http://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz} -SRC_URI+=" - http://download.netsurf-browser.org/libs/releases/${NETSURF_BUILDSYSTEM}.tar.gz -> netsurf-${NETSURF_BUILDSYSTEM}.tar.gz" -IUSE+=" debug static-libs" -if has doc ${IUSE} ; then - DEPEND+=" - doc? ( app-doc/doxygen )" -fi -DEPEND+=" - virtual/pkgconfig" -pkg_setup(){ - netsurf_src_prepare() { - if [ -f docs/doxygen.conf ] ; then - if ! has doc ${IUSE} ; then - if [ -z "${NETSURF_IGNORE_DOXYGEN}" ] ; then - die "Missing IUSE=doc" - fi - fi - fi - - base_src_prepare - - multilib_copy_sources - } - - netsurf_src_configure() { - netsurf_makeconf=( - NSSHARED=${WORKDIR}/${NETSURF_BUILDSYSTEM} - Q= - CCOPT= - CCNOOPT= - CCDBG= - LDDBG= - AR="$(tc-getAR)" - BUILD=$(usex debug debug release) - DESTDIR="${D}" - PREFIX="${EROOT}"usr - ) - - multilib-minimal_src_configure - } - - netsurf_src_compile() { - multilib-minimal_src_compile - - if has doc ${IUSE} ; then - use doc && netsurf_make docs - fi - } - - netsurf_src_test() { - multilib-minimal_src_test - } - - netsurf_src_install() { - multilib-minimal_src_install - } - - multilib_src_configure() { - sed -e "/^INSTALL_ITEMS/s: /lib: /$(get_libdir):g" \ - -i Makefile || die - if [ -f ${PN}.pc.in ] ; then - sed -e "/^libdir/s:/lib:/$(get_libdir):g" \ - -i ${PN}.pc.in || die - fi - } - - netsurf_make() { - emake CC="$(tc-getCC)" LD="$(tc-getLD)" "${netsurf_makeconf[@]}" \ - COMPONENT_TYPE=lib-shared "$@" - if use static-libs ; then - emake CC="$(tc-getCC)" LD="$(tc-getLD)" "${netsurf_makeconf[@]}" \ - COMPONENT_TYPE=lib-static "$@" - fi - } - - multilib_src_compile() { - netsurf_make - } - - multilib_src_test() { - netsurf_make test - } - - multilib_src_test() { - netsurf_make test - } - - multilib_src_install() { - netsurf_make install - } - - multilib_src_install_all() { - if has doc ${IUSE} ; then - use doc && dohtml -r build/docs/html/* - fi - } -} - -src_prepare() { - netsurf_src_prepare -} - -src_configure() { - netsurf_src_configure -} - -src_compile() { - netsurf_src_compile -} - -src_test() { - netsurf_src_test -} - -src_install() { - netsurf_src_install -} -- cgit v1.2.3-65-gdbad