diff options
Diffstat (limited to 'system/driconf')
-rw-r--r-- | system/driconf/driconf.SlackBuild | 7 | ||||
-rw-r--r-- | system/driconf/driconf.desktop | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/system/driconf/driconf.SlackBuild b/system/driconf/driconf.SlackBuild index 1768dac18a813..d344b866ff2d4 100644 --- a/system/driconf/driconf.SlackBuild +++ b/system/driconf/driconf.SlackBuild @@ -21,6 +21,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Thanks to James Powell for the .desktop file. + PRGNAM=driconf VERSION=${VERSION:-0.9.1} BUILD=${BUILD:-1} @@ -72,6 +74,11 @@ cat $CWD/driconf-0.9.1-2.diff | patch --verbose -p1 python setup.py install --root=$PKG +mkdir -p $PKG/usr/share/{applications,driconf} + cp -a $CWD/driconf.desktop $PKG/usr/share/applications/driconf.desktop + cp -a driconf-icon.png $PKG/usr/share/applications/driconf-icon.png + + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/system/driconf/driconf.desktop b/system/driconf/driconf.desktop new file mode 100644 index 0000000000000..763507510ca65 --- /dev/null +++ b/system/driconf/driconf.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=3D Acceleration +Comment=Change 3D Acceleration options +Exec=driconf +Icon=/usr/share/driconf/driconf-icon.png +Type=Application +Categories=GNOME;Application;Settings;AdvancedSettings; +StartupNotify=true |