diff options
-rw-r--r-- | x11-misc/xlockmore/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/xlockmore/xlockmore-5.53.ebuild | 106 |
2 files changed, 107 insertions, 0 deletions
diff --git a/x11-misc/xlockmore/Manifest b/x11-misc/xlockmore/Manifest index 9eaaac310036..3d743a970186 100644 --- a/x11-misc/xlockmore/Manifest +++ b/x11-misc/xlockmore/Manifest @@ -2,3 +2,4 @@ DIST xlockmore-5.47.tar.xz 1610604 SHA256 94e3adee284eec09dc27405bfc24651446e8c6 DIST xlockmore-5.50.tar.xz 1632968 SHA256 635f72df44589d028200acf604093959968a7e19f79c4363a76599615f563a29 SHA512 627a905c4641d6083676a766931f23c06e2ac5af9b43447ccf03143d329d24b786aac6b248318929399b5fae98f1ec17e676466b5cbd09f180377c483694c569 WHIRLPOOL 2485b7805632581077554b7f2e460d94c0c094d7470e26550e8f32fb4d794ea4c2a111403542d9c07560cf0a0b2e8076cdc789336d09f3798827546ed68b8451 DIST xlockmore-5.51.tar.xz 1633736 SHA256 47118e718e5c892e52ecb21ff4ccfc65592643696768c57c388095732f42608d SHA512 a9fa83677203dca95b9ba1d43058ddefccb8a2d50adb7c20bb05ac96d87a3f871e4ec63d95923e4ead29cd871c32846ceff03ad9574734fa5d1d062b2c116959 WHIRLPOOL 2cd0782a729a2cdcae7ae9004178dd1329f3798fdb8886ae0a6329b3d3433c5e04ef69b8ce45133191c54a01b3a8a5d1fac9b8daf2e273300fe7e887b4eea9b6 DIST xlockmore-5.52.tar.xz 1621284 SHA256 dd7898829e29525536b146a136aa8bef0cd75706fbc4b60885f5b2e48305944d SHA512 46eb07cf95577059a6c8bfc3ba4d0540fd4e23f84469b1b20ce2926d5c210032d98d8082e780600c5777d875e5875b1d7427947c29a5625dcb4c40b2d9234adc WHIRLPOOL cb73164419147c18bfedee6b3f22cae033f4c2b8d031efad37cf7b4df9dba15912aef77e6e1ad14a396d71582a9bb89ffddca029cc723877c0e260a8d333aec2 +DIST xlockmore-5.53.tar.xz 1621432 SHA256 4973659c3b1d9747e79e29f3e5a5d04f3a0cb36f35ba88507c69be2e04db4967 SHA512 5a03a6f444e34e1f677c14ae91f77d8cbac3abab9b25278cb00094e79d4ee8e34b593367f828fe3e9687a5dca952ebb14b3d29e3e73279530543f1963b41e5b6 WHIRLPOOL cae78aa0d02b6b449c909dfa56a6ba47469a7af0b07fad2859eb805c542e91b3a2143d09ec771d4a39271063b3f149ddee7f3f4397896089257d280929f806a7 diff --git a/x11-misc/xlockmore/xlockmore-5.53.ebuild b/x11-misc/xlockmore/xlockmore-5.53.ebuild new file mode 100644 index 000000000000..c5181b227ac2 --- /dev/null +++ b/x11-misc/xlockmore/xlockmore-5.53.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils flag-o-matic pam + +DESCRIPTION="Just another screensaver application for X" +HOMEPAGE="http://www.sillycycle.com/xlockmore.html" +SRC_URI="http://www.sillycycle.com/xlock/${P}.tar.xz" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="crypt debug gtk imagemagick motif nas opengl pam truetype xinerama xlockrc vtlock" + +REQUIRED_USE=" + || ( crypt pam ) + pam? ( !xlockrc ) + xlockrc? ( !pam ) +" +RDEPEND=" + gtk? ( x11-libs/gtk+:2 ) + imagemagick? ( media-gfx/imagemagick:= ) + motif? ( >=x11-libs/motif-2.3:0 ) + nas? ( media-libs/nas ) + opengl? ( + virtual/opengl + virtual/glu + truetype? ( >=media-libs/ftgl-2.1.3_rc5 ) + ) + pam? ( virtual/pam ) + truetype? ( media-libs/freetype:2 ) + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXpm + x11-libs/libXt + xinerama? ( x11-libs/libXinerama ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + x11-proto/xineramaproto +" + +PATCHES=( + "${FILESDIR}"/${PN}-5.46-freetype261.patch + "${FILESDIR}"/${PN}-5.47-CXX.patch + "${FILESDIR}"/${PN}-5.47-strip.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf=() + + if use opengl && use truetype; then + myconf=( --with-ftgl ) + append-flags -DFTGL213 + else + myconf=( --without-ftgl ) + fi + + myconf+=( + $(use_enable pam) + $(use_enable xlockrc) + $(use_enable vtlock) + $(use_with crypt) + $(use_with debug editres) + $(use_with gtk gtk2) + $(use_with imagemagick magick) + $(use_with motif) + $(use_with nas) + $(use_with opengl mesa) + $(use_with opengl) + $(use_with truetype freetype) + $(use_with truetype ttf) + $(use_with xinerama) + --disable-mb + --enable-appdefaultdir=/usr/share/X11/app-defaults + --enable-syslog + --enable-vtlock + --without-esound + --without-gtk + ) + econf "${myconf[@]}" +} + +src_install() { + local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} ) + default + + pamd_mimic_system xlock auth + + if use pam; then + fperms 755 /usr/bin/xlock + else + fperms 4755 /usr/bin/xlock + fi + + docinto html + dodoc docs/xlock.html +} |