diff options
-rw-r--r-- | x11-libs/xosd/Manifest | 1 | ||||
-rw-r--r-- | x11-libs/xosd/xosd-2.2.14_p2_p1.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/x11-libs/xosd/Manifest b/x11-libs/xosd/Manifest index 10b729e1c01a..3327e2a77e91 100644 --- a/x11-libs/xosd/Manifest +++ b/x11-libs/xosd/Manifest @@ -1,3 +1,4 @@ DIST xosd-gentoo-m4-1.tar.bz2 5043 SHA256 6cd8c8e8bef4576e332e9f855e5ae7071b4da5e7ce0e96906531784aec2c061f SHA512 fcf4d8a77cc80bc04a444a4faa9e072ea1e00950b3ce685b7944302d2ee3ebdfc5ec29ccb311495ee2e1fb5e61cc2d49350b303288d1d86430fa6bc8b3772483 WHIRLPOOL 413fd7e89094bacb9c6538304e9b2a4d2bcf9dea67f123d5fd7903ddc6a36321ae5b97e44d626f93b90dab2fed8501b0def9f48cfe9233999aac316b99188a3f DIST xosd_2.2.14-1.diff.gz 8616 SHA256 1b74a379030a2a8a1c36b6589023445bc1f620dbfa12ef799590568505f390b2 SHA512 257ada9e0261c45c4c182acceeb24b95bbce08ec2ccae7ef49f9c5ee7a1e9995bd9527df725e0a871d48fa444899669320dc536674d0de71b766e9106097f86e WHIRLPOOL 3ef3c0e5a8fbc31a8e81e7f8ba1f7272672cf6c1cd4f9300ef2c82a91afbd840c4a5b506ad7322e9bec6272beb039f752be564a8fca77b67641cb82ebf200b47 +DIST xosd_2.2.14-2.1.debian.tar.xz 17276 SHA256 ccde8324c909d75e60b124146d1e20c6a586385934dc15df02b7209f7324322d SHA512 ba5d86d2391e6dfdc6a2994e486f9c5ecd1934438815f4dc01c0633192d74a2fa2cabe647574052c4a87203e0c12b9bb8c38851975c36f19d113787dae3681ee WHIRLPOOL 0cbf30b4a8e3eba6fcf89afc29d3c02a0cfa1be0c87866378c6d07c1ebb43429f187624daf9eb364669f6b566a16710bf2bcb7a4f56c4cba19321b6710af0259 DIST xosd_2.2.14.orig.tar.gz 418331 SHA256 4f1fa96f4895baee6a3cba40f188a0da23bbac9d68e8c326d749e084143cb508 SHA512 3caf6d106d34488f4823e2a58fdff7a69b90f505b8da2443485167ff0362c6f27614c9a5019e738ff1f897d3c2249c934ff60953e3775566d66e8e9b30e4e473 WHIRLPOOL 64c93f9fedcd9442ccb78980cb157e9ea5db84edaaa1d6965f6a9ac45c6f773b24596da46b153449d6bc3208213d799ab48fe8dc0b67a260c0ccf88568c24b36 diff --git a/x11-libs/xosd/xosd-2.2.14_p2_p1.ebuild b/x11-libs/xosd/xosd-2.2.14_p2_p1.ebuild new file mode 100644 index 000000000000..5605bd2f6e74 --- /dev/null +++ b/x11-libs/xosd/xosd-2.2.14_p2_p1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils autotools versionator + +MY_PV=$(get_version_component_range 1-3) +MY_PATCH_MAJ=$(get_version_component_range 4) +MY_PATCH_MIN=$(get_version_component_range 5) + +DESCRIPTION="Library for overlaying text in X-Windows X-On-Screen-Display plus binary for sending text from CLI" +HOMEPAGE="https://sourceforge.net/projects/libxosd/" +SRC_URI="mirror://debian/pool/main/x/xosd/${PN}_${MY_PV}.orig.tar.gz + mirror://debian/pool/main/x/xosd/${PN}_${MY_PV}-${MY_PATCH_MAJ/p/}.${MY_PATCH_MIN/p/}.debian.tar.xz + http://digilander.libero.it/dgp85/gentoo/${PN}-gentoo-m4-1.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" +IUSE="static-libs xinerama" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXt + media-fonts/font-misc-misc" +DEPEND="${RDEPEND} + xinerama? ( x11-proto/xineramaproto ) + x11-proto/xextproto + x11-proto/xproto + virtual/pkgconfig" + +DOCS=( + AUTHORS ChangeLog NEWS README TODO +) +S=${WORKDIR}/${PN}-${MY_PV} + +src_prepare() { + epatch "${WORKDIR}"/debian/patches/*.diff + # bug #286632 + epatch "${FILESDIR}"/"${PN}"-config-incorrect-dup-filter-fix.patch + + eapply_user + + AT_M4DIR="${WORKDIR}/m4" eautoreconf +} + +src_configure() { + econf \ + $(use_enable xinerama) \ + $(use_enable static-libs static) +} |