Finish libui

master
knotteye 2021-02-07 22:46:28 -06:00
parent d10dfd919f
commit 7cacb3d643
2 changed files with 37 additions and 23 deletions

View File

@ -1,3 +1,3 @@
DIST 1.3.2.tar.gz 57138 BLAKE2B f4a2839f478755dd39c7c67d14ff05dadbd0bf8499e9755f32b759988ccfd6df84db20ed93d0082b1df014f30a1cf576e15ce8baac217648146a434c03eb4bfe SHA512 e59355494d7cdaeeaf039e519473c04d516c64fb90156bfa2b554e0933a3ca21b14360013597c8d977c9ffda0477cca0a457b0f140095f3b3a18abbd840a79c9 DIST alpha4.1.tar.gz 641509 BLAKE2B c7c273db45ea50a2328822e0e3069881d6460fc41c82cbf5be911c1592be1a21d1fb20ddb17d0bff13396573fee4b3b6c5a92a3f67ee98a59166aa740c3d9467 SHA512 d4f12943f06550b1f487830e32b397e04e911b36cd59d4923658d6a57af07e236b863bb2e8e0240852dcce92b4823b4007f7c9b0eea7dd067a9e3d256f04ef59
EBUILD libui-0.4.1.ebuild 806 BLAKE2B 2986622a1b9908466d07e7015c2acac96bf67cef4d6f0236971387ea15e8c5646fd1687ae6adb9fa5c45c7a37107f8846a79777f9699ee9f715a1a51bc875853 SHA512 9fe654129163f211fa26313a1fd548166921445649763f21b1a999c38ce3a3dded832a94b2984b0ded54ceb2b9ed145b8989004d6c22a9777ad7146d4f01eb2b EBUILD libui-0.4.1.ebuild 886 BLAKE2B da42f5234136fecda3bd0793a02ebc8e1d9a01c4b39fbd5a785f0bda6603bbc3bcafdf27680a215ab39a3acd5d61bcd148e4ae42b72e276a8b1c4e31df1dde0b SHA512 aa15a21f2c47bc18393ea69fca5fc8a39cc8769cb44f2e6ab3a304b0c97c933c81958a8b9f2cc0d6d04a3435fdc2ee276bfeff65ca84e960285da22c10ce2073
MISC metadata.xml 340 BLAKE2B a0223d3105db8649cccc2fa320cf3e74ec62d0d5483ef02fb0f8005e6aef05a946d6fac2570b86b51446b93d6b4f9d49d8785b30fd06e2d16d1b8c91902198f7 SHA512 177b9855cd06efbd662a4989249690ea384f20c8e8a346fd93fa78f7c1c7794c8da438f13736f6029ea49ff512a85446ef03aad2bf65f896fbb04cc51c7932ce MISC metadata.xml 340 BLAKE2B a0223d3105db8649cccc2fa320cf3e74ec62d0d5483ef02fb0f8005e6aef05a946d6fac2570b86b51446b93d6b4f9d49d8785b30fd06e2d16d1b8c91902198f7 SHA512 177b9855cd06efbd662a4989249690ea384f20c8e8a346fd93fa78f7c1c7794c8da438f13736f6029ea49ff512a85446ef03aad2bf65f896fbb04cc51c7932ce

View File

@ -3,37 +3,51 @@
EAPI=7 EAPI=7
DESCRIPTION="A workspace switcher plugin for xfce4-panel which can be used for the i3wm." DESCRIPTION="A cross platform UI library in C"
HOMEPAGE="https://github.com/denesb/xfce4-i3-workspaces-plugin" HOMEPAGE="https://github.com/andlabs/libui"
SRC_URI="https://github.com/denesb/xfce4-i3-workspaces-plugin/archive/1.3.2.tar.gz" SRC_URI="https://github.com/andlabs/libui/archive/alpha4.1.tar.gz"
LICENSE="GPL-3" LICENSE="MIT"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
RDEPEND=" DEPEND="
>=dev-libs/glib-2.0.0 >=x11-libs/gtk+-3.0.0
>=x11-libs/gtk+-2.0.0 x11-libs/libX11
>=xfce-base/libxfce4ui-4.8.0 x11-libs/libxcb
>=xfce-base/libxfce4util-4.8.0 virtual/libffi
>=xfce-base/xfce4-panel-4.8.0
>=x11-misc/i3ipc-glib-1.0.1
" "
BDEPEND=" BDEPEND="
dev-util/xfce4-dev-tools ${DEPEND}
virtual/pkgconfig sys-devel/make
sys-devel/gcc
dev-util/cmake
dev-util/meson
dev-util/ninja
" "
src_configure() { src_unpack() {
./autogen.sh \ if [[ -n ${A} ]]; then
--host=${CHOST} \ unpack ${A}
--prefix=/usr \ fi
--libdir='${prefix}/lib64' \ mv libui-alpha4.1 libui-0.4.1 || die "rename source dir failed"
--infodir=/usr/share/info \ }
--mandir=/usr/share/man || die
src_compile() {
mkdir -p build || die "could not make build dir"
cd build
cmake .. || die "cmake failed"
make || die "make failed"
}
src_install() {
dolib.so build/out/libui.so
dolib.so build/out/libui.so.0
doheader ui.h
doheader ui_unix.h
} }