diff options
author | Vlad Glagolev | 2018-05-11 07:37:20 -0400 |
---|---|---|
committer | Vlad Glagolev | 2018-05-11 07:37:20 -0400 |
commit | b79f35dc8492c876b88ebfee07ad91f9fbfb8fc4 (patch) | |
tree | a12c33b2b7eb74b1ae5f33962c2d49b5cbe18eba /bin-graphics | |
parent | e6587448a8d1aff304afb87bdeb0e1b07a343fd2 (diff) |
pencil-bin: new spell, GUI prototyping tool, binary version
Diffstat (limited to 'bin-graphics')
-rwxr-xr-x | bin-graphics/pencil-bin/BUILD | 1 | ||||
-rwxr-xr-x | bin-graphics/pencil-bin/DEPENDS | 41 | ||||
-rwxr-xr-x | bin-graphics/pencil-bin/DETAILS | 22 | ||||
-rwxr-xr-x | bin-graphics/pencil-bin/FINAL | 8 | ||||
-rw-r--r-- | bin-graphics/pencil-bin/HISTORY | 3 | ||||
-rwxr-xr-x | bin-graphics/pencil-bin/INSTALL | 15 | ||||
-rwxr-xr-x | bin-graphics/pencil-bin/PRE_BUILD | 6 |
7 files changed, 96 insertions, 0 deletions
diff --git a/bin-graphics/pencil-bin/BUILD b/bin-graphics/pencil-bin/BUILD new file mode 100755 index 0000000..27ba77d --- /dev/null +++ b/bin-graphics/pencil-bin/BUILD @@ -0,0 +1 @@ +true diff --git a/bin-graphics/pencil-bin/DEPENDS b/bin-graphics/pencil-bin/DEPENDS new file mode 100755 index 0000000..660d17d --- /dev/null +++ b/bin-graphics/pencil-bin/DEPENDS @@ -0,0 +1,41 @@ +# essential +runtime_depends -sub CXX gcc && + +# crypto stack +runtime_depends nspr && +runtime_depends nss && + +# X11 +runtime_depends libx11 && +runtime_depends libxext && +runtime_depends libxscrnsaver && +runtime_depends libxi && +runtime_depends libxtst && +runtime_depends libxcomposite && +runtime_depends libxrender && +runtime_depends libxrandr && +runtime_depends libxfixes && +runtime_depends libxdamage && +runtime_depends libxcursor && + +# GTK+ +runtime_depends expat && +runtime_depends dbus && +runtime_depends glib2 && +runtime_depends freetype2 && +runtime_depends fontconfig && +runtime_depends atk && +runtime_depends pango && +runtime_depends cairo && +runtime_depends gdk-pixbuf2 && +runtime_depends gconf2 && +# required for gtk-update-icon-cache +depends gtk+2 && +# required for update-desktop-database +depends desktop-file-utils && + +# audio +runtime_depends alsa-lib && + +# printing +runtime_depends cups diff --git a/bin-graphics/pencil-bin/DETAILS b/bin-graphics/pencil-bin/DETAILS new file mode 100755 index 0000000..54fe2d2 --- /dev/null +++ b/bin-graphics/pencil-bin/DETAILS @@ -0,0 +1,22 @@ + SPELL=pencil-bin + SPELLX=Pencil + VERSION=3.0.4 +if [[ ${SMGL_COMPAT_ARCHS[1]} == "x86_64" ]]; then + ARCH=amd64 + SOURCE_HASH=sha512:ec136038602268a68bf4044f6d9ca4c64a1eaf6132f24b895e81e4fa72e4ed7c88ab84240f04d3e73ab3e4f7ed7eb68172752a9f7e3702bd53f6e663dbfe3019 +else + ARCH=i386 + SOURCE_HASH=sha512:be290a14e664020e888e5bacb9bd4ed320e2ab8f3d9c9487376c543e20912e4a8f6655a59fa5db2813fe88d7407f1889e876fd41491a6d509099752cecb3cada +fi + SOURCE=${SPELLX}_${VERSION}_${ARCH}.deb + SOURCE_URL[0]=https://pencil.evolus.vn/dl/V${VERSION}/${SOURCE} +SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}" + GATHER_DOCS=off + WEB_SITE=https://pencil.evolus.vn/ + ENTERED=20180511 + LICENSE[0]=GPL + SHORT="GUI prototyping tool" +cat << EOF +The Pencil Project's unique mission is to build a free and opensource tool for +making diagrams and GUI prototyping that everyone can use. +EOF diff --git a/bin-graphics/pencil-bin/FINAL b/bin-graphics/pencil-bin/FINAL new file mode 100755 index 0000000..4668792 --- /dev/null +++ b/bin-graphics/pencil-bin/FINAL @@ -0,0 +1,8 @@ +# binaries require /lib64 +if [ ! -d "${INSTALL_ROOT}/lib64" ]; then + ln -vsf "${TRACK_ROOT}/lib" "${INSTALL_ROOT}/lib64" +fi && + +update-desktop-database && + +gtk-update-icon-cache -q -t -f "${INSTALL_ROOT}/usr/share/icons/hicolor" diff --git a/bin-graphics/pencil-bin/HISTORY b/bin-graphics/pencil-bin/HISTORY new file mode 100644 index 0000000..4e38ae1 --- /dev/null +++ b/bin-graphics/pencil-bin/HISTORY @@ -0,0 +1,3 @@ +2018-05-11 Vlad Glagolev <stealth@sourcemage.org> + * DETAILS, DEPENDS, {PRE_,}BUILD, INSTALL, FINAL: created spell, + version 3.0.4 diff --git a/bin-graphics/pencil-bin/INSTALL b/bin-graphics/pencil-bin/INSTALL new file mode 100755 index 0000000..ca154fe --- /dev/null +++ b/bin-graphics/pencil-bin/INSTALL @@ -0,0 +1,15 @@ +cp -dRv opt/Pencil "${INSTALL_ROOT}/opt" && + +install -vm 644 usr/share/applications/pencil.desktop "${INSTALL_ROOT}/usr/share/applications/pencil.desktop" && + +for size in 16 24 32 48 64 96 128 256; do + local icon_dir="usr/share/icons/hicolor/${size}x${size}/apps" && + + if [ ! -d "${INSTALL_ROOT}/${icon_dir}" ]; then + mkdir -vp "${INSTALL_ROOT}/${icon_dir}" + fi && + + install -vm 644 "${icon_dir}/pencil.png" "${INSTALL_ROOT}/${icon_dir}/pencil.png" +done && + +ln -vsf "${TRACK_ROOT}/opt/Pencil/pencil" "${INSTALL_ROOT}/usr/bin/pencil" diff --git a/bin-graphics/pencil-bin/PRE_BUILD b/bin-graphics/pencil-bin/PRE_BUILD new file mode 100755 index 0000000..dea9348 --- /dev/null +++ b/bin-graphics/pencil-bin/PRE_BUILD @@ -0,0 +1,6 @@ +mk_source_dir "${SOURCE_DIRECTORY}" && +cd "${SOURCE_DIRECTORY}" && + +verify_file && + +ar p "${SOURCE_CACHE}/${SOURCE}" data.tar.xz | tar -xJf - |